/device/generic/goldfish/dhcp/client/ |
router.h | 32 // Set the default route to |gateway| on the interface specified by 37 Result setDefaultGateway(in_addr_t gateway, unsigned int interfaceIndex);
|
router.cpp | 63 Result Router::setDefaultGateway(in_addr_t gateway, unsigned int ifaceIndex) { 84 addRouterAttribute(request, RTA_GATEWAY, &gateway, sizeof(gateway));
|
dhcpclient.h | 84 in_addr_t gateway; member in struct:DhcpClient::DhcpInfo
|
dhcpclient.cpp | 358 mDhcpInfo.gateway = 434 res = mRouter.setDefaultGateway(mDhcpInfo.gateway, mInterface.getIndex()); 442 property_set(propName, addrToStr(mDhcpInfo.gateway).c_str());
|
/external/ltp/testcases/network/stress/route/ |
route4-change-if | 67 # The first 2 ocnted of the Network portion of the gateway address 70 # Netmask of for the gateway 75 RHOST_IPV4_HOST=${RHOST_IPV4_HOST:-"1"} # gateway 223 # Check the connectivity to the gateway 242 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_ifnam [all...] |
route6-change-if | 67 # The first 2 ocnted of the Network portion of the gateway address 70 # Netmask of for the gateway 75 RHOST_IPV6_HOST=":1" # gateway 221 # Check the connectivity to the gateway 240 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_ifnam [all...] |
/device/google/cuttlefish_common/tools/ |
vlan_prototype_up.sh | 10 gateway="${3}.$((4*$2 - 3))" 18 /sbin/ifconfig "${bridge}" "${gateway}" netmask "${netmask}" up 26 --listen-address="${gateway}" \
|
/bionic/tests/ |
netinet_ip_icmp_test.cpp | 28 ASSERT_EQ(0U, hdr.un.gateway);
|
/external/autotest/client/site_tests/network_WiFiTxRx/ |
network-flipflop.sh | 177 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
|
/device/generic/goldfish/dhcp/server/ |
dhcpserver.cpp | 142 in_addr_t gateway; local 147 &gateway); 164 gateway, 177 in_addr_t gateway; local 183 &gateway); 198 gateway, 226 in_addr_t gateway; local 231 &gateway); 331 in_addr_t* gateway) { 332 // The interface address will be the gateway and will be used to determin [all...] |
dhcpserver.h | 63 in_addr_t* gateway);
|
/external/autotest/client/cros/ |
backchannel.py | 35 self.gateway = None 68 # Retrieve the gateway for the default route. 78 self.gateway, self.interface = line.strip().split(' ') 97 # Add route using the pre-backchannel gateway. 99 self.gateway) 103 # Make sure we have a route to the gateway before continuing. 104 logging.info('Waiting for route to gateway %s', self.gateway) 130 if self.gateway: 131 logging.info('Waiting for route restore to gateway %s' [all...] |
routing.py | 32 self.gateway = gway 49 self._intToIp(self.gateway), 98 gateway = route[col_map["Gateway"]] 101 routes.append(IPv4Route(interface, destination, gateway, flags, mask)) 127 # Dest DestPrefix Src SrcPrefix Gateway Metric RefCnt UseCnt Flags Iface 133 gateway = route[4] 136 routes.append(IPv6Route(interface, destination, gateway, flags, prefix))
|
dhcp_test_base.py | 31 DHCPCD_KEY_GATEWAY = 'Gateway' 363 for prefix, destination, gateway in classless_static_routes: 365 logging.info('Using %s as the default gateway', gateway) 366 expected_routers = [ gateway ] 370 raise error.TestFail('Expected to be configured with gateway %s, '
|
/bionic/libc/kernel/uapi/linux/ |
icmp.h | 68 __be32 gateway; member in union:icmphdr::__anon649
|
/external/autotest/site_utils/ |
mysql_bootstrap.py | 28 database server without knowing their ips by using the ip of the gateway. 32 by the gateway. 37 "GRANT privileges on <db> to 'A1_user'@(gateway address) 184 """Return the address of the default gateway. 186 @raises: subprocess.CalledProcessError: If the address of the gateway 193 logging.error('Unable to get gateway: %s', e) 202 default=False, help='Enable gateway access for vagrant testing.') 210 access through the gateway if --enable_gateway is specified. 230 gateway = get_gateway() 231 logging.info('Enabling access through gateway %s', gateway [all...] |
/external/kernel-headers/original/uapi/linux/ |
icmp.h | 78 __be32 gateway; member in union:icmphdr::__anon25539
|
/external/autotest/client/site_tests/network_DhcpBrokenDefaultGateway/ |
network_DhcpBrokenDefaultGateway.py | 20 """Test application of broken gateway route from DHCP server.""" 23 """Check that the ipconfig in the client shows the gateway IP. 26 @param gateway_ip string expected gateway IP address. 38 ipconfig_gateway = ipconfig_properties['Gateway'] 40 raise error.TestFail('Shill gateway %s does ' 46 """Check that the routing table in the client shows the gateway IP. 49 @param gateway_ip string expected gateway IP address. 56 if default_route.gateway != gateway_ip: 57 raise error.TestFail('Routing table gateway %s does ' 59 (default_route.gateway, gateway_ip) [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
DhcpInfoTest.java | 29 String expectedDefault = "ipaddr 0.0.0.0 gateway 0.0.0.0 netmask 0.0.0.0 dns1 0.0.0.0 " 36 String expected = "ipaddr " + STR_ADDR1 + " gateway " + STR_ADDR2 + " netmask " 46 dhcpInfo.gateway = ipToInteger(STR_ADDR2);
|
/external/autotest/client/common_lib/cros/ |
dbus_send_unittest.py | 80 variant string "gateway.2wire.net" 162 'IgnoredDNSSearchPaths': 'gateway.2wire.net',
|
/external/autotest/client/common_lib/cros/network/ |
interface.py | 22 # gateway IP address, and the metric value visible in the routing table. 24 'gateway', 542 gateway = match.group(1) 549 gateway=gateway, metric=metric))
|
/external/iputils/ |
ping.c | 898 pr_icmph(icp->type, icp->code, ntohl(icp->un.gateway), icp); 924 pr_icmph(icp->type, icp->code, ntohl(icp->un.gateway), icp); 1074 printf("(New nexthop: %s)\n", pr_addr(icp ? icp->un.gateway : info)); 1098 printf("Parameter problem: pointer = %u\n", icp ? (ntohl(icp->un.gateway)>>24) : info); [all...] |
/external/bcc/src/lua/bpf/ |
proto.lua | 406 proto_ggp = 3, -- gateway-gateway protocol 411 proto_egp = 8, -- exterior gateway protocol 412 proto_igp = 9, -- interior gateway protocol 488 proto_dgp = 86, -- Dissimilar Gateway Proto
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowWifiManager.java | 224 dhcpInfo.gateway = LOCAL_HOST;
|
/external/u-boot/include/ |
net.h | 464 u32 gateway; member in union:icmp_hdr::__anon47829 507 extern struct in_addr net_gateway; /* Our gateway IP address */
|