/external/android-clat/ |
H A D | getaddr.h | 22 struct in6_addr ip6; member in union:anyip
|
H A D | checksum.c | 23 #include <netinet/ip6.h> 86 * ip6 - the ipv6 header 88 * protocol - the transport layer protocol, can be different from ip6->ip6_nxt for fragments 90 uint32_t ipv6_pseudo_header_checksum(const struct ip6_hdr *ip6, uint16_t len, uint8_t protocol) { argument 96 current = ip_checksum_add(current, &(ip6->ip6_src), sizeof(struct in6_addr)); 97 current = ip_checksum_add(current, &(ip6->ip6_dst), sizeof(struct in6_addr));
|
H A D | ipv6.c | 79 const struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; local 89 logmsg_dbg(ANDROID_LOG_ERROR, "ipv6_packet/too short for an ip6 header: %d", len); 93 if(IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { 94 log_bad_address("ipv6_packet/multicast %s->%s", &ip6->ip6_src, &ip6->ip6_dst); 104 if (!(is_in_plat_subnet(&ip6->ip6_src) && 105 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &Global_Clatd_Config.ipv6_local_subnet)) && 106 !(is_in_plat_subnet(&ip6->ip6_dst) && 107 IN6_ARE_ADDR_EQUAL(&ip6->ip6_src, &Global_Clatd_Config.ipv6_local_subnet)) && 108 ip6 [all...] |
H A D | dump.c | 28 #include <netinet/ip6.h> 72 /* print ip6 header */ 157 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, argument 160 temp_checksum = ipv6_pseudo_header_checksum(ip6, sizeof(*udp) + payload_size, IPPROTO_UDP); 216 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6, argument 221 temp_checksum = ipv6_pseudo_header_checksum(ip6, sizeof(*tcp) + options_size + payload_size, IPPROTO_TCP);
|
H A D | translate.c | 152 * ip6 - (ipv6) target packet header, source: local subnet prefix, dest: nat64 prefix 157 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol, argument 159 memset(ip6, 0, sizeof(struct ip6_hdr)); 161 ip6->ip6_vfc = 6 << 4; 162 ip6->ip6_plen = htons(payload_len); 163 ip6->ip6_nxt = protocol; 164 ip6->ip6_hlim = old_header->ttl; 166 ip6->ip6_src = ipv4_addr_to_ipv6_addr(old_header->saddr); 167 ip6->ip6_dst = ipv4_addr_to_ipv6_addr(old_header->daddr);
|
H A D | clatd_test.cpp | 89 #define IPV6_PSEUDOHEADER(ip6, protocol, tlen) \ 90 ip6[8], ip6[9], ip6[10], ip6[11], /* Source address */ \ 91 ip6[12], ip6[13], ip6[14], ip6[15], \ 92 ip6[1 184 is_ipv6_fragment(struct ip6_hdr *ip6, size_t len) argument 225 struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; local 289 struct ip6_hdr *ip6 = NULL; local 408 struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; local 520 struct ip6_hdr *ip6; local 819 uint8_t ip6[] = { IPV6_UDP_HEADER }; local 931 struct ip6_hdr *ip6 = (struct ip6_hdr *) udp_ipv6; local [all...] |
/external/tcpdump/ |
H A D | print-frag6.c | 37 #include "ip6.h" 47 register const struct ip6_hdr *ip6; local 50 ip6 = (const struct ip6_hdr *)bp2; 58 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - 63 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) -
|
H A D | print-sunrpc.c | 64 #include "ip6.h" 91 register const struct ip6_hdr *ip6; local 117 ip6 = (struct ip6_hdr *)bp2; 119 ip6addr_string(&ip6->ip6_src), srcid, 120 ip6addr_string(&ip6->ip6_dst), dstid, length);
|
H A D | print-ip6.c | 24 "@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.52 2007-09-21 07:05:33 hannes Exp $"; 44 #include "ip6.h" 51 nextproto6_cksum(const struct ip6_hdr *ip6, const u_int8_t *data, argument 65 UNALIGNED_MEMCPY(&ph.ph_src, &ip6->ip6_src, sizeof (struct in6_addr)); 66 UNALIGNED_MEMCPY(&ph.ph_dst, &ip6->ip6_dst, sizeof (struct in6_addr)); 84 register const struct ip6_hdr *ip6; local 94 ip6 = (const struct ip6_hdr *)bp; 96 TCHECK(*ip6); 98 (void)ND_PRINT((ndo, "truncated-ip6 %u", length)); 105 payload_len = EXTRACT_16BITS(&ip6 [all...] |
H A D | print-sctp.c | 59 #include "ip6.h" 92 const struct ip6_hdr *ip6; local 111 ip6 = (const struct ip6_hdr *)bp2; 113 ip6 = NULL; 131 if (ip6) { 133 ip6addr_string(&ip6->ip6_src), 135 ip6addr_string(&ip6->ip6_dst),
|
H A D | print-dccp.c | 31 #include "ip6.h" 81 static int dccp6_cksum(const struct ip6_hdr *ip6, const struct dccp_hdr *dh, u_int len) argument 83 return nextproto6_cksum(ip6, (const u_int8_t *)(void *)dh, 173 const struct ip6_hdr *ip6; local 185 ip6 = (const struct ip6_hdr *)data2; 187 ip6 = NULL; 206 if (ip6) { 208 ip6addr_string(&ip6->ip6_src), sport, 209 ip6addr_string(&ip6->ip6_dst), dport); 243 sum = dccp6_cksum(ip6, d [all...] |
H A D | print-esp.c | 56 #include "ip6.h" 552 struct ip6_hdr *ip6 = NULL; local 604 ip6 = (struct ip6_hdr *)bp2; 606 if (!EXTRACT_16BITS(&ip6->ip6_plen)) 609 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); 616 UNALIGNED_MEMCMP(&sin6->sin6_addr, &ip6->ip6_dst,
|
H A D | print-tcp.c | 51 #include "ip6.h" 166 register const struct ip6_hdr *ip6; local 173 ip6 = (struct ip6_hdr *)bp2; 175 ip6 = NULL; 191 if (ip6) { 192 if (ip6->ip6_nxt == IPPROTO_TCP) { 194 ip6addr_string(&ip6->ip6_src), 196 ip6addr_string(&ip6->ip6_dst), 251 if (ip6) { 258 src = &ip6 797 struct ip6_hdr *ip6; local [all...] |
H A D | print-udp.c | 49 #include "ip6.h" 294 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, argument 297 return (nextproto6_cksum(ip6, (const u_int8_t *)(void *)up, len, 306 const struct ip6_hdr *ip6; local 309 ip6 = (const struct ip6_hdr *)ip; 311 ip6 = NULL; 313 if (ip6) { 314 if (ip6->ip6_nxt == IPPROTO_UDP) { 317 ip6addr_string(&ip6->ip6_src), 318 ip6addr_string(&ip6 368 register const struct ip6_hdr *ip6; local [all...] |
H A D | print-nfs.c | 46 #include "ip6.h" 164 struct ip6_hdr *ip6; local 182 ip6 = (struct ip6_hdr *)bp; 183 strlcpy(srcaddr, ip6addr_string(&ip6->ip6_src), 185 strlcpy(dstaddr, ip6addr_string(&ip6->ip6_dst), 973 struct ip6_hdr *ip6 = NULL; local 985 ip6 = (struct ip6_hdr *)bp; 1004 else if (ip6) { 1006 UNALIGNED_MEMCPY(&xmep->client, &ip6->ip6_src, sizeof(ip6 1028 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; local [all...] |
H A D | print-pgm.c | 37 #include "ip6.h" 170 register const struct ip6_hdr *ip6; local 181 ip6 = (struct ip6_hdr *)bp2; 183 ip6 = NULL; 193 if (ip6) { 195 ip6addr_string(&ip6->ip6_src), 196 ip6addr_string(&ip6->ip6_dst)); 212 if (ip6) { 213 if (ip6->ip6_nxt == IPPROTO_PGM) { 215 ip6addr_string(&ip6 [all...] |
H A D | print-icmp6.c | 42 #include "ip6.h" 198 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, argument 201 return (nextproto6_cksum(ip6, (const u_int8_t *)(void *)icp, len, 598 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; local 609 if (!TTEST(ip6->ip6_nxt)) 612 nh = ip6->ip6_nxt;
|
H A D | print-isakmp.c | 63 #include "ip6.h" 271 struct ip6_hdr *ip6; local 309 ip6 = (struct ip6_hdr *)bp2; 315 UNALIGNED_MEMCPY(&sin6->sin6_addr, &ip6->ip6_src, sizeof(ip6->ip6_src)); 321 UNALIGNED_MEMCPY(&sin6->sin6_addr, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); 341 struct ip6_hdr *ip6; local 359 ip6 = (struct ip6_hdr *)bp2; 365 UNALIGNED_MEMCPY(&sin6->sin6_addr, &ip6 [all...] |
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
H A D | 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/iproute2/include/linux/ |
H A D | netfilter.h | 64 __be32 ip6[4]; member in union:nf_inet_addr
|
/external/iptables/include/linux/ |
H A D | netfilter.h | 64 __be32 ip6[4]; member in union:nf_inet_addr
|
/external/kernel-headers/original/uapi/linux/ |
H A D | netfilter.h | 68 __be32 ip6[4]; member in union:nf_inet_addr
|
H A D | if_bridge.h | 185 struct in6_addr ip6; member in union:br_mdb_entry::__anon6853::__anon6854
|
/external/clang/test/SemaTemplate/ |
H A D | typename-specifier.cpp | 50 N::X<N::C>::type *ip6 = &i; // expected-note{{in instantiation of template class 'N::X<N::C>' requested here}} variable
|
/external/owasp/sanitizer/distrib/lib/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |