Home
last modified time | relevance | path

Searched refs:gateway (Results 1 – 25 of 64) sorted by relevance

123

/external/ltp/testcases/network/stress/route/
Droute6-change-if240 gateway="${IPV6_NETWORK_PRE}:${link_num}:${RHOST_IPV6_HOST}"
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
266 pre_gateway=$gateway
270 gateway="${IPV6_NETWORK_PRE}:${link_num}:${RHOST_IPV6_HOST}"
274 route -A inet6 add ${dst_network}/64 gw $gateway dev $lhost_ifname
278 ip -f inet6 route add ${dst_network}/64 via $gateway dev $lhost_ifname
283 tst_resm TFAIL "Failed to change the gateway to $gateway"
Droute4-change-if242 gateway="${IPV4_NETWORK_PRE}.${link_num}.${RHOST_IPV4_HOST}"
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
268 pre_gateway=$gateway
272 gateway="${IPV4_NETWORK_PRE}.${link_num}.${RHOST_IPV4_HOST}"
276 route add -net $dst_network netmask 255.255.255.0 gw $gateway dev $lhost_ifname
280 ip route change ${dst_network}/24 via $gateway dev $lhost_ifname
284 tst_resm TFAIL "Failed to change the gateway to $gateway"
D00_Descriptions.txt10 Verify the kernel is not crashed when the gateway of an IPv4 route is
14 Verify the kernel is not crashed when the gateway of an IPv4 route is
55 Verify the kernel is not crashed when the gateway of an IPv6 route is
59 Verify the kernel is not crashed when the gateway of an IPv6 route is
/external/syslinux/gpxe/src/net/
Dipv6.c40 struct in6_addr gateway; member
58 struct in6_addr gateway ) { in add_ipv6_miniroute() argument
68 miniroute->gateway = gateway; in add_ipv6_miniroute()
71 if ( !IP6_EQUAL ( gateway, ip6_none ) ) { in add_ipv6_miniroute()
102 struct in6_addr gateway ) { in add_ipv6_address() argument
110 gateway ); in add_ipv6_address()
206 ( IP6_EQUAL ( miniroute->gateway, ip6_none ) ) ) { in ipv6_tx()
209 if ( ! ( IS_UNSPECIFIED ( miniroute->gateway ) ) ) { in ipv6_tx()
210 next_hop = miniroute->gateway; in ipv6_tx()
Dipv4.c48 struct in_addr netmask, struct in_addr gateway ) { in add_ipv4_miniroute() argument
53 if ( gateway.s_addr ) in add_ipv4_miniroute()
54 DBG ( "gw %s ", inet_ntoa ( gateway ) ); in add_ipv4_miniroute()
68 miniroute->gateway = gateway; in add_ipv4_miniroute()
73 if ( gateway.s_addr ) { in add_ipv4_miniroute()
91 if ( miniroute->gateway.s_addr ) in del_ipv4_miniroute()
92 DBG ( "gw %s ", inet_ntoa ( miniroute->gateway ) ); in del_ipv4_miniroute()
125 has_gw = ( miniroute->gateway.s_addr ); in ipv4_route()
128 *dest = miniroute->gateway; in ipv4_route()
591 struct in_addr gateway = { 0 }; in ipv4_create_routes() local
[all …]
/external/autotest/client/cros/
Dbackchannel.py34 self.gateway = None
77 self.gateway, self.interface = line.strip().split(' ')
98 self.gateway)
103 logging.info('Waiting for route to gateway %s', self.gateway)
129 if self.gateway:
131 self.gateway)
189 dest = self.gateway
Ddhcp_test_base.py363 for prefix, destination, gateway in classless_static_routes:
365 logging.info('Using %s as the default gateway', gateway)
366 expected_routers = [ gateway ]
/external/ipsec-tools/src/racoon/samples/roadwarrior/
DREADME3 gateway authenticates to the client using a certificate, and the client
4 authenticates to the VPN gateway using a login and a password.
8 internal address, netmask and DNS from the VPN gateway.
17 The first server setup, in server/racoon.conf, is for a VPN gateway
44 certificate authority that signed the VPN gateway certificate in
49 racoonctl vc -u username vpn-gateway.example.net
51 Where username is your login, and vpn-gateway.example.net is
52 the DNS or IP address of the VPN gateway. racoonctl will prompt
64 racoonctl vd vpn-gateway.example.net
/external/autotest/client/site_tests/network_DhcpBrokenDefaultGateway/
Dcontrol12 a server that provides a broken default gateway option. Specifically,
13 the gateway provided is outside the broadcast domain specified by the
15 mitigates this issue by creating a link-scoped route to the gateway,
16 or via some other method which allows the gateway route to be
Dnetwork_DhcpBrokenDefaultGateway.py56 if default_route.gateway != gateway_ip:
59 (default_route.gateway, gateway_ip))
/external/autotest/client/site_tests/network_WiFiTxRx/
Dnetwork-flipflop.sh177 gateway=$(ip route show dev $iface to match 0/0|\
180 progress Allowing link $gateway strength/quality readings to stabilise;
181 ping -n -w 5 -c 5 $gateway 1>&2;
183 progress Contacting AP at "/dev/tcp/$gateway/80" to collect TX strength;
184 if exec {http}<>/dev/tcp/$gateway/80; then
/external/iptables/extensions/
Dlibxt_TEE.t2 -j TEE --gateway 1.1.1.1;=;OK
3 -j TEE ! --gateway 1.1.1.1;;FAIL
Dlibxt_TEE.man6 \fB\-\-gateway\fP \fIipaddr\fP
12 \-t mangle \-A PREROUTING \-i eth0 \-j TEE \-\-gateway 2001:db8::1
/external/syslinux/gpxe/src/usr/
Droute.c39 if ( miniroute->gateway.s_addr ) in route()
40 printf ( " gw %s", inet_ntoa ( miniroute->gateway ) ); in route()
/external/autotest/site_utils/
Dmysql_bootstrap.py230 gateway = get_gateway()
231 logging.info('Enabling access through gateway %s', gateway)
232 bootstrap(user, password, gateway, dest_host)
/external/android-clat/
DBUGS4 - assumes the /128 ipv6 subnet it generates can use the nat64 gateway
5 …- assumes the nat64 gateway has the ipv4 address in the last 32 bits of the ipv6 address (that it …
/external/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.txt1 HLR/AuC testing gateway for hostapd EAP-SIM/AKA database/authenticator
4 database/authentication gateway interface to HLR/AuC. It could be
5 replaced with an implementation of SS7 gateway to GSM/UMTS
/external/ipsec-tools/src/racoon/samples/
Dracoon.conf.sample-natt29 # To keep the NAT-mappings on your NAT gateway, there must be
42 # 172.16.0.1 and 172.16.1.1, where the first gateway is behind
75 # regardless of whether there is a NAT gateway between them
/external/syslinux/core/legacynet/
Dcore.c139 udp_write.gw = gateway(udp_write.ip); in core_udp_send()
175 udp_write.gw = gateway(udp_write.ip); in core_udp_sendto()
/external/autotest/client/common_lib/cros/network/
Dinterface.py440 gateway = match.group(1)
447 gateway=gateway, metric=metric))
/external/syslinux/core/fs/pxe/
Dpxe.h200 static inline uint32_t gateway(uint32_t ip) in gateway() function
203 return IPInfo.gateway; in gateway()
/external/kernel-headers/original/uapi/linux/
Dicmp.h77 __be32 gateway; member
/external/autotest/puppylab/
Dclusterctl260 gateway = self.execute_against_vm(
269 else gateway)
/external/syslinux/gpxe/src/include/gpxe/
Dip.h74 struct in_addr gateway; member
/external/autotest/client/site_tests/network_DhcpClasslessStaticRoute/
Dcontrol16 gateway parameter.

123