Searched refs:netmask (Results 1 – 15 of 15) sorted by relevance
/system/connectivity/shill/shims/ |
D | netfilter_queue_processor.h | 110 netmask(0), in ListenerEntry() 122 netmask(netmask_in), in ListenerEntry() 128 uint32_t netmask; member
|
D | netfilter_queue_processor.cc | 391 uint32_t netmask = (*entry_ptr)->netmask; in IsIncomingPacketAllowed() local 392 if ((packet.source_ip() & netmask) != ((*entry_ptr)->address & netmask)) { in IsIncomingPacketAllowed() 437 uint32_t netmask = GetNetmaskForDevice(device_index); in LogOutgoingPacket() local 440 address, netmask, destination)); in LogOutgoingPacket()
|
D | netfilter_queue_processor_unittest.cc | 205 GetListener(0).netmask = kNetmask; in TEST_F() 278 GetListener(0).netmask = kNetmask; in TEST_F()
|
/system/connectivity/shill/test-scripts/ |
D | routing.py | 50 self.netmask = int(mask, 16) 64 intToDottedQuad(self.netmask), 83 return (ip & self.netmask) == self.destination
|
/system/connectivity/shill/dhcp/ |
D | dhcpv4_config.cc | 320 IPAddress netmask(IPAddress::GetAddressMaskFromPrefix( in ParseClasslessStaticRoutes() local 322 CHECK(netmask.IntoString(&route.netmask)); in ParseClasslessStaticRoutes()
|
D | dhcpv4_config_unittest.cc | 282 EXPECT_EQ("0.0.0.0", route0.netmask); in TEST_F() 287 EXPECT_EQ("255.255.255.0", route1.netmask); in TEST_F()
|
/system/connectivity/shill/vpn/ |
D | openvpn_driver_unittest.cc | 529 EXPECT_EQ(kNetmask1, routes[1].netmask); in TEST_F() 532 EXPECT_EQ(kNetmask2, routes[2].netmask); in TEST_F() 541 routes[2].netmask = "255.0.0.0"; in TEST_F() 542 routes[3].netmask = "255.0.0.0"; in TEST_F() 545 routes[5].netmask = kNetmask2; in TEST_F() 548 routes[4].netmask = kNetmask1; in TEST_F() 554 EXPECT_EQ(kNetmask1, props.routes[0].netmask); in TEST_F() 557 EXPECT_EQ(kNetmask2, props.routes[1].netmask); in TEST_F() 686 EXPECT_EQ(kNetmask1, props.routes[0].netmask); in TEST_F() 689 EXPECT_EQ(kNetmask2, props.routes[1].netmask); in TEST_F()
|
D | third_party_vpn_driver_unittest.cc | 296 EXPECT_EQ(driver_->ip_properties_.routes[0].netmask, "254.0.0.0"); in TEST_F() 297 EXPECT_EQ(driver_->ip_properties_.routes[1].netmask, "255.255.128.0"); in TEST_F()
|
D | openvpn_driver.cc | 554 route->netmask = value; in ParseRouteOption() 571 if (route.host.empty() || route.netmask.empty() || route.gateway.empty()) { in SetRoutes()
|
D | third_party_vpn_driver.cc | 380 ip_address.family(), ip_address.prefix()).IntoString(&route.netmask); in SetParameters()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 540 in_addr_t netmask; in ifc_act_on_ipv4_route() local 547 netmask = prefixLengthToIpv4Netmask(prefix_length); in ifc_act_on_ipv4_route() 548 init_sockaddr_in(&rt.rt_genmask, netmask); in ifc_act_on_ipv4_route()
|
/system/connectivity/shill/ |
D | ipconfig.h | 47 std::string netmask; member
|
D | routing_table.cc | 205 << " Netmask: " << route.netmask in ConfigureRoutes() 223 IPAddress::GetPrefixLengthFromMask(address_family, route.netmask)); in ConfigureRoutes()
|
D | routing_table_unittest.cc | 518 route.netmask = kTestRemoteNetmask4; in TEST_F()
|
/system/connectivity/shill/doc/ |
D | ipconfig-api.txt | 92 a netmask of 255.255.255.0 has a prefixlen of 24
|