OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dst_network
(Results
1 - 10
of
10
) sorted by null
/external/ltp/testcases/network/stress/route/
route4-change-dst
216
dst_network
=${DST_NETWORK_PREFIX}.${dst_network_postfix}.0
221
route add -net $
dst_network
netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
224
ip route add ${
dst_network
}/24 via $rhost_ipv4addr dev $lhost_ifname
228
tst_resm TFAIL "Failed to add the route to ${
dst_network
}/24"
242
route del -net $
dst_network
netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
245
ip route del ${
dst_network
}/24 via $rhost_ipv4addr dev $lhost_ifname
route6-change-dst
212
dst_network
=${DST_NETWORK_PREFIX}:${dst_network_postfix}::
217
route -A inet6 add ${
dst_network
}/64 gw $rhost_ipv6addr dev $lhost_ifname
220
ip -f inet6 route add ${
dst_network
}/64 via $rhost_ipv6addr dev $lhost_ifname
224
tst_resm TFAIL "Failed to add the route to ${
dst_network
}/64"
238
route -A inet6 del ${
dst_network
}/64 gw $rhost_ipv6addr dev $lhost_ifname
241
ip -f inet6 route del ${
dst_network
}/64 via $rhost_ipv6addr dev $lhost_ifname
route6-change-gw
81
DST_NETWORK
="fd00:100:1:1" # dest network would be fd00:100:1:1:::/64
212
dst_addr=${
DST_NETWORK
}::${DST_HOST}
213
dst_network
=${
DST_NETWORK
}::
218
route -A inet6 add ${
dst_network
}/64 gw ${IPV6_NETWORK}:${rhost_part_hex} dev $lhost_ifname
221
ip -f inet6 route add ${
dst_network
}/64 via ${IPV6_NETWORK}:${rhost_part_hex} dev $lhost_ifname
244
route -A inet6 add ${
dst_network
}/64 gw ${IPV6_NETWORK}:${rhost_part_hex} dev $lhost_ifname
245
route -A inet6 del ${
dst_network
}/64 gw ${IPV6_NETWORK}:${pre_rhost_part_hex} dev $lhost_ifname
248
ip -f inet6 route add ${
dst_network
}/64 via ${IPV6_NETWORK}:${rhost_part_hex} dev $lhost_ifname
249
ip -f inet6 route del ${
dst_network
}/64 via ${IPV6_NETWORK}:${pre_rhost_part_hex} dev $lhost_ifnam
[
all
...]
route4-change-gw
85
DST_NETWORK
="10.10.0" # destination network would be 10.10.0.0/24
213
dst_addr=${
DST_NETWORK
}.${DST_HOST}
214
dst_network
=${
DST_NETWORK
}.0
219
route add -net $
dst_network
netmask 255.255.255.0 gw ${IPV4_NETWORK}.${rhost_part} dev $lhost_ifname
222
ip route add ${
dst_network
}/24 via ${IPV4_NETWORK}.${rhost_part} dev $lhost_ifname
244
route add -net $
dst_network
netmask 255.255.255.0 gw ${IPV4_NETWORK}.${rhost_part} dev $lhost_ifname
245
route del -net $
dst_network
netmask 255.255.255.0 gw ${IPV4_NETWORK}.${pre_rhost_part} dev $lhost_ifname
248
ip route change ${
dst_network
}/24 via ${IPV4_NETWORK}.${rhost_part} dev $lhost_ifname
route4-change-if
78
DST_NETWORK
="10.10.0" # destination network would be 10.10.0.0/24
235
dst_addr=${
DST_NETWORK
}.${DST_HOST}
236
dst_network
=${
DST_NETWORK
}.0
245
route add -net $
dst_network
netmask 255.255.255.0 gw $gateway dev $lhost_ifname
248
ip route add ${
dst_network
}/24 via $gateway dev $lhost_ifname
276
route add -net $
dst_network
netmask 255.255.255.0 gw $gateway dev $lhost_ifname
277
route del -net $
dst_network
netmask 255.255.255.0 gw $pre_gateway dev $pre_lhost_ifname
280
ip route change ${
dst_network
}/24 via $gateway dev $lhost_ifname
route4-ifdown
83
DST_NETWORK
="10.10.10" # destination network would be 10.10.10.0/24
154
dst_addr=${
DST_NETWORK
}.${DST_HOST}
155
dst_network
=${
DST_NETWORK
}.0
206
route add -net $
dst_network
netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
209
ip route add ${
dst_network
}/24 via $rhost_ipv4addr dev $lhost_ifname
213
tst_resm TFAIL "Failed to add the route to ${
dst_network
}/24"
route4-rmmod
83
DST_NETWORK
="10.10.10" # destination network would be 10.10.10.0/24
177
dst_addr=${
DST_NETWORK
}.${DST_HOST}
178
dst_network
=${
DST_NETWORK
}.0
229
route add -net $
dst_network
netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
232
ip route add ${
dst_network
}/24 via $rhost_ipv4addr dev $lhost_ifname
236
tst_resm TFAIL "Failed to add the route to ${
dst_network
}/24"
route6-ifdown
79
DST_NETWORK
="fec0:100:100:100" # destination network
145
dst_addr=${
DST_NETWORK
}:${DST_HOST}
146
dst_network
=${
DST_NETWORK
}::
204
route -A inet6 add ${
dst_network
}/64 gw $rhost_ipv6addr dev $lhost_ifname
207
ip -f inet6 route add ${
dst_network
}/64 via $rhost_ipv6addr dev $lhost_ifname
211
tst_resm TFAIL "Failed to add the route to ${
dst_network
}/64"
route6-rmmod
79
DST_NETWORK
="fec0:100:100:100" # destination network
173
dst_addr=${
DST_NETWORK
}:${DST_HOST}
174
dst_network
=${
DST_NETWORK
}::
225
route -A inet6 add ${
dst_network
}/64 gw $rhost_ipv6addr dev $lhost_ifname
228
ip -f inet6 route add ${
dst_network
}/64 via $rhost_ipv6addr dev $lhost_ifname
232
tst_resm TFAIL "Failed to add the route to ${
dst_network
}/64"
route6-change-if
78
DST_NETWORK
="fd00:100:1:1" # dest network would be fd00:100:1:1:::/64
233
dst_addr=${
DST_NETWORK
}:${DST_HOST}
234
dst_network
=${
DST_NETWORK
}::
243
route -A inet6 add ${
dst_network
}/64 gw $gateway dev $lhost_ifname
246
ip -f inet6 route add ${
dst_network
}/64 via $gateway dev $lhost_ifname
274
route -A inet6 add ${
dst_network
}/64 gw $gateway dev $lhost_ifname
275
route -A inet6 del ${
dst_network
}/64 gw $pre_gateway dev $pre_lhost_ifname
278
ip -f inet6 route add ${
dst_network
}/64 via $gateway dev $lhost_ifname
279
ip -f inet6 route del ${
dst_network
}/64 via $pre_gateway dev $pre_lhost_ifnam
[
all
...]
Completed in 446 milliseconds