Home
last modified time | relevance | path

Searched refs:ip4 (Results 1 – 25 of 26) sorted by relevance

12

/external/webrtc/webrtc/base/
Dipaddress.cc51 return NetworkToHost32(u_.ip4.s_addr); in v4AddressAsHostOrderInteger()
77 return memcmp(&u_.ip4, &other.u_.ip4, sizeof(u_.ip4)) == 0; in operator ==()
107 return NetworkToHost32(u_.ip4.s_addr) < in operator <()
108 NetworkToHost32(other.u_.ip4.s_addr); in operator <()
128 return u_.ip4; in ipv4_address()
136 const void* src = &u_.ip4; in ToString()
194 ::memcpy(&v6addr.s6_addr[12], &u_.ip4.s_addr, sizeof(u_.ip4.s_addr)); in AsIPv6Address()
Dipaddress.h56 explicit IPAddress(const in_addr& ip4) : family_(AF_INET) { in IPAddress() argument
58 u_.ip4 = ip4; in IPAddress()
67 u_.ip4.s_addr = HostToNetwork32(ip_in_host_byte_order); in IPAddress()
118 in_addr ip4; member
/external/grpc-grpc/test/cpp/grpclb/
Dgrpclb_api_test.cc37 struct in_addr ip4; in Ip4ToPackedString() local
38 GPR_ASSERT(inet_pton(AF_INET, ip_str, &ip4) == 1); in Ip4ToPackedString()
39 return grpc::string(reinterpret_cast<const char*>(&ip4), sizeof(ip4)); in Ip4ToPackedString()
/external/grpc-grpc/test/cpp/client/
Dclient_channel_stress_test.cc90 struct in_addr ip4; in Ip4ToPackedString() local
91 GPR_ASSERT(inet_pton(AF_INET, ip_str, &ip4) == 1); in Ip4ToPackedString()
92 return grpc::string(reinterpret_cast<const char*>(&ip4), sizeof(ip4)); in Ip4ToPackedString()
/external/clang/test/SemaCXX/
Ddelete-and-function-templates.cpp105 int *ip4 = g2(3, 3); //expected-error{{ambiguous}} in foo() local
109 int *ip4 = g2(3, 3.14); in foo() local
/external/mesa3d/src/gallium/frontends/xa/
Dxa-indent.sh2 indent --linux-style -i4 -ip4 -bad -bap -psl $*
/external/android-clat/
Dgetaddr.h23 struct in_addr ip4; member
Dgetaddr.c70 memcpy(&targ_p->ip.ip4, RTA_DATA(rta_p), rta_p->rta_len - sizeof(struct rtattr)); in getaddr_cb()
Dclatd_test.cpp644 EXPECT_EQ(inet_addr("192.0.2.1"), ip->ip4.s_addr); in TEST_F()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sock_addr.c680 } ip4; in bind4_prog_load() local
683 if (inet_pton(AF_INET, SERV4_IP, (void *)&ip4) != 1) { in bind4_prog_load()
711 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr8[0], 18), in bind4_prog_load()
716 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr8[1], 16), in bind4_prog_load()
721 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr8[2], 14), in bind4_prog_load()
726 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr8[3], 12), in bind4_prog_load()
731 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr16[0], 10), in bind4_prog_load()
736 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr16[1], 8), in bind4_prog_load()
741 BPF_LD_IMM64(BPF_REG_8, ip4.u4_addr32), /* See [2]. */ in bind4_prog_load()
/external/scapy/scapy/contrib/
Dicmp_extensions.py167 if self.ip4 is not None:
176 if self.has_ipaddr and self.ip4 is None and self.ip6 is None:
/external/clang/test/PCH/
Dnamespaces.cpp17 Alias1::t3 *ip4 = &int_val; variable
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
Dp1-11.cpp25 IP<(int*)0> ip4; variable
/external/iptables/etc/
Dethertypes12 IPv4 0800 ip ip4 # Internet IP (IPv4)
/external/libnl/include/linux-private/linux/
Dif_bridge.h171 __be32 ip4; member
/external/iproute2/bridge/
Dmdb.c142 src = af == AF_INET ? (const void *)&e->addr.u.ip4 : in print_mdb_entry()
431 if (!inet_pton(AF_INET, grp, &entry.addr.u.ip4)) { in mdb_modify()
/external/python/cpython3/Lib/test/
Dtest_ipaddress.py1352 ip4 = ipaddress.IPv4Address('1.1.1.3')
1357 [ip1, ip2, ip3, ip4, ip5, ip6])
1366 ip4 = ipaddress.IPv4Address('1.1.1.3')
1370 collapsed = ipaddress.collapse_addresses([ip1, ip2, ip3, ip4])
1378 ip4 = ipaddress.IPv4Network('1.1.3.0/24')
1384 collapsed = ipaddress.collapse_addresses([ip1, ip2, ip3, ip4, ip5,
1586 ip4 = ipaddress.ip_network('10.10.10.2')
1587 sorted = [ip1, ip2, ip3, ip4]
1588 unsorted = [ip2, ip4, ip1, ip3]
1591 unsorted = [ip4, ip1, ip3, ip2]
/external/kernel-headers/original/uapi/linux/
Dif_bridge.h245 __be32 ip4; member
/external/clang/test/SemaTemplate/
Dtypename-specifier.cpp68 N::X<N::A>::type *ip4 = &i; variable
/external/iproute2/include/uapi/linux/
Dif_bridge.h244 __be32 ip4; member
/external/python/ipaddress/
Dtest_ipaddress.py1425 ip4 = ipaddress.IPv4Address('1.1.1.3')
1430 [ip1, ip2, ip3, ip4, ip5, ip6])
1440 ip4 = ipaddress.IPv4Address('1.1.1.3')
1442 collapsed = ipaddress.collapse_addresses([ip1, ip2, ip3, ip4])
1450 ip4 = ipaddress.IPv4Network('1.1.3.0/24')
1458 [ip1, ip2, ip3, ip4, ip5, ip6])
1658 ip4 = ipaddress.ip_network('10.10.10.2')
1659 sorted = [ip1, ip2, ip3, ip4]
1660 unsorted = [ip2, ip4, ip1, ip3]
1663 unsorted = [ip4, ip1, ip3, ip2]
/external/clang/test/SemaObjCXX/
Dmessage.mm83 int* ip4 = {[typename identity<I2_holder>::type().get() method]};
/external/grpc-grpc/test/cpp/end2end/
Dgrpclb_end2end_test.cc164 struct in_addr ip4; in Ip4ToPackedString() local
165 GPR_ASSERT(inet_pton(AF_INET, ip_str, &ip4) == 1); in Ip4ToPackedString()
166 return grpc::string(reinterpret_cast<const char*>(&ip4), sizeof(ip4)); in Ip4ToPackedString()
/external/ethtool/
DNEWS305 * Feature: Add an 'l4data' option for ip4 filters (-U option)
308 * Fix: Set ip_ver field correctly for ip4 filters (-U option)
/external/ethtool/shell-completion/bash/
Dethtool81 types="$types ip4 ip6"
361 ip4)

12