/external/android-clat/ |
getaddr.h | 22 struct in6_addr ip6; member in union:anyip
|
ipv6.c | 80 const struct ip6_hdr *ip6 = (struct ip6_hdr *)packet; local 90 logmsg_dbg(ANDROID_LOG_ERROR, "ipv6_packet/too short for an ip6 header: %d", len); 94 if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 95 log_bad_address("ipv6_packet/multicast %s->%s", &ip6->ip6_src, &ip6->ip6_dst); 105 if (!(is_in_plat_subnet(&ip6->ip6_src) && 106 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &Global_Clatd_Config.ipv6_local_subnet)) && 107 !(is_in_plat_subnet(&ip6->ip6_dst) && 108 IN6_ARE_ADDR_EQUAL(&ip6->ip6_src, &Global_Clatd_Config.ipv6_local_subnet)) && 109 ip6->ip6_nxt != IPPROTO_ICMPV6) [all...] |
/external/tcpdump/ |
print-frag6.c | 33 #include "ip6.h" 39 register const struct ip6_hdr *ip6; local 42 ip6 = (const struct ip6_hdr *)bp2; 50 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - 55 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) -
|
print-ip6.c | 36 #include "ip6.h" 48 const struct ip6_hdr *ip6) 59 cp = (const u_char *)ip6; 61 nh = ip6->ip6_nxt; 62 dst_addr = &ip6->ip6_dst; 164 const struct ip6_hdr *ip6, const uint8_t *data, 178 UNALIGNED_MEMCPY(&ph.ph_src, &ip6->ip6_src, sizeof (struct in6_addr)); 179 switch (ip6->ip6_nxt) { 192 ip6_finddst(ndo, &ph.ph_dst, ip6); 196 UNALIGNED_MEMCPY(&ph.ph_dst, &ip6->ip6_dst, sizeof (struct in6_addr)) 216 register const struct ip6_hdr *ip6; local [all...] |
print-sunrpc.c | 60 #include "ip6.h" 173 register const struct ip6_hdr *ip6; local 197 ip6 = (const struct ip6_hdr *)bp2; 199 ip6addr_string(ndo, &ip6->ip6_src), srcid, 200 ip6addr_string(ndo, &ip6->ip6_dst), dstid, length));
|
print-tcp.c | 49 #include "ip6.h" 151 register const struct ip6_hdr *ip6, 155 return nextproto6_cksum(ndo, ip6, (const uint8_t *)tp, len, len, 174 register const struct ip6_hdr *ip6; local 179 ip6 = (const struct ip6_hdr *)bp2; 181 ip6 = NULL; 193 if (ip6) { 194 if (ip6->ip6_nxt == IPPROTO_TCP) { 196 ip6addr_string(ndo, &ip6->ip6_src), 198 ip6addr_string(ndo, &ip6->ip6_dst) 843 const struct ip6_hdr *ip6; local [all...] |
print-dccp.c | 25 #include "ip6.h" 207 static int dccp6_cksum(netdissect_options *ndo, const struct ip6_hdr *ip6, 210 return nextproto6_cksum(ndo, ip6, (const uint8_t *)(const void *)dh, len, 273 const struct ip6_hdr *ip6; local 284 ip6 = (const struct ip6_hdr *)data2; 286 ip6 = NULL; 313 if (ip6) { 315 ip6addr_string(ndo, &ip6->ip6_src), sport, 316 ip6addr_string(ndo, &ip6->ip6_dst), dport)); 348 sum = dccp6_cksum(ndo, ip6, dh, len) [all...] |
print-esp.c | 54 #include "ip6.h" 655 const struct ip6_hdr *ip6 = NULL; local 707 ip6 = (const struct ip6_hdr *)bp2; 709 if (!EXTRACT_16BITS(&ip6->ip6_plen)) 712 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); 718 UNALIGNED_MEMCMP(&sa->daddr.in6, &ip6->ip6_dst,
|
print-udp.c | 38 #include "ip6.h" 309 static int udp6_cksum(netdissect_options *ndo, const struct ip6_hdr *ip6, 312 return nextproto6_cksum(ndo, ip6, (const uint8_t *)(const void *)up, len, len, 319 const struct ip6_hdr *ip6; local 322 ip6 = (const struct ip6_hdr *)ip; 324 ip6 = NULL; 326 if (ip6) { 327 if (ip6->ip6_nxt == IPPROTO_UDP) { 330 ip6addr_string(ndo, &ip6->ip6_src), 331 ip6addr_string(ndo, &ip6->ip6_dst))) 378 register const struct ip6_hdr *ip6; local [all...] |
/external/ltp/testcases/lib/ |
tst_net_ip_prefix.c | 65 struct in6_addr ip6; local 88 get_in6_addr(ip_str, &ip6);
|
tst_net_iface_prefix.c | 123 struct in6_addr ip6; local 151 get_in6_addr(ip_str, &ip6);
|
tst_net_vars.c | 138 const struct in6_addr *mask, const struct in6_addr *ip6) 143 if (((((int *) ip6)[i] & ((int *) mask)[i])) != 272 static char *get_ipv6_net32_unused(const struct in6_addr *ip6, 298 if (!is_in_subnet_ipv6(ip6, &mask, &network)) 305 (rand() % 128) + (ip6->s6_addr[1] < 128 ? 128 : 0), 311 if (!is_in_subnet_ipv6(ip6, &mask, &network)) 316 256 * (rand() % 128) + (256 * ip6->s6_addr[0] < 128 ? 322 if (!is_in_subnet_ipv6(ip6, &mask, &network)) 592 struct in6_addr ip6; local 609 get_in6_addr(lip_str, &ip6); [all...] |
/external/bcc/src/lua/bpf/ |
proto.lua | 291 M.ip6 = function (...) return dissector(ffi.typeof('struct ip6_t'), ...) end 303 ip6 = skip_eth, 313 ip6 = function () end, 373 ip6 = 0x86dd, -- IP (v6) protocol
|
/external/webrtc/webrtc/base/ |
ipaddress.h | 61 explicit IPAddress(const in6_addr& ip6) : family_(AF_INET6) { 62 u_.ip6 = ip6; 119 in6_addr ip6; member in union:rtc::IPAddress::__anon49594 135 InterfaceAddress(const in6_addr& ip6, int ipv6_flags) 136 : IPAddress(ip6), ipv6_flags_(ipv6_flags) {}
|
/bionic/libc/kernel/uapi/linux/ |
netfilter.h | 65 __be32 ip6[4]; member in union:nf_inet_addr
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
p1-11.cpp | 29 IP<(float*)0> ip6; // expected-error{{null non-type template argument of type 'float *' does not match template parameter of type 'int *'}} variable
|
/external/iptables/include/linux/ |
netfilter.h | 64 __be32 ip6[4]; member in union:nf_inet_addr
|
/external/kernel-headers/original/uapi/linux/ |
netfilter.h | 71 __be32 ip6[4]; member in union:nf_inet_addr
|
/external/libnl/include/linux-private/linux/ |
netfilter.h | 52 __be32 ip6[4]; member in union:nf_inet_addr
|
if_bridge.h | 172 struct in6_addr ip6; member in union:br_mdb_entry::__anon29091::__anon29092
|
/external/ltp/testcases/network/sctp/ |
sctp_big_chunk.c | 15 #include <netinet/ip6.h> 59 struct ip6_hdr ip6; local 60 const size_t ip6_hdr_len = sizeof(ip6); 65 memset(&ip6, 0, sizeof(ip6)); 66 ip6.ip6_flow = htonl(6 << 28 | 2 << 20); 67 ip6.ip6_hops = 64; 68 ip6.ip6_nxt = IPPROTO_SCTP; 69 ip6.ip6_src.s6_addr[15] = 1; 70 ip6.ip6_dst.s6_addr[15] = 1 [all...] |
/external/clang/test/SemaTemplate/ |
typename-specifier.cpp | 70 N::X<N::C>::type *ip6 = &i; // expected-note{{in instantiation of template class 'N::X<N::C>' requested here}} variable
|
/external/iproute2/include/uapi/linux/ |
netfilter.h | 73 __be32 ip6[4]; member in union:nf_inet_addr
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-icmpv6_sender.c | 249 struct in6_addr ip6; local 319 if (inet_pton(AF_INET6, sp, &ip6) <= 0) { 324 query_p->srcs[idx] = ip6;
|
/external/guava/guava/src/com/google/common/net/ |
InetAddresses.java | 891 Inet6Address ip6 = (Inet6Address) ip local [all...] |