/external/tcpdump/ |
D | print-ip6.c | 44 nextproto6_cksum(const struct ip6_hdr *ip6, const uint8_t *data, in nextproto6_cksum() argument 58 UNALIGNED_MEMCPY(&ph.ph_src, &ip6->ip6_src, sizeof (struct in6_addr)); in nextproto6_cksum() 59 UNALIGNED_MEMCPY(&ph.ph_dst, &ip6->ip6_dst, sizeof (struct in6_addr)); in nextproto6_cksum() 77 register const struct ip6_hdr *ip6; in ip6_print() local 87 ip6 = (const struct ip6_hdr *)bp; in ip6_print() 89 ND_TCHECK(*ip6); in ip6_print() 98 if (IP6_VERSION(ip6) != 6) { in ip6_print() 99 ND_PRINT((ndo,"version error: %u != 6", IP6_VERSION(ip6))); in ip6_print() 103 payload_len = EXTRACT_16BITS(&ip6->ip6_plen); in ip6_print() 110 flow = EXTRACT_32BITS(&ip6->ip6_flow); in ip6_print() [all …]
|
D | print-tcp.c | 168 register const struct ip6_hdr *ip6; local 175 ip6 = (struct ip6_hdr *)bp2; 177 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), 253 if (ip6) { 260 src = &ip6->ip6_src; 261 dst = &ip6->ip6_dst; [all …]
|
D | print-udp.c | 283 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, in udp6_cksum() argument 286 return nextproto6_cksum(ip6, (const uint8_t *)(void *)up, len, len, in udp6_cksum() 295 const struct ip6_hdr *ip6; in udpipaddr_print() local 298 ip6 = (const struct ip6_hdr *)ip; in udpipaddr_print() 300 ip6 = NULL; in udpipaddr_print() 302 if (ip6) { in udpipaddr_print() 303 if (ip6->ip6_nxt == IPPROTO_UDP) { in udpipaddr_print() 306 ip6addr_string(ndo, &ip6->ip6_src), in udpipaddr_print() 307 ip6addr_string(ndo, &ip6->ip6_dst))); in udpipaddr_print() 310 ip6addr_string(ndo, &ip6->ip6_src), in udpipaddr_print() [all …]
|
D | print-frag6.c | 39 register const struct ip6_hdr *ip6; in frag6_print() local 42 ip6 = (const struct ip6_hdr *)bp2; in frag6_print() 50 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print() 55 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
|
D | print-sunrpc.c | 175 register const struct ip6_hdr *ip6; in sunrpcrequest_print() local 201 ip6 = (struct ip6_hdr *)bp2; in sunrpcrequest_print() 203 ip6addr_string(ndo, &ip6->ip6_src), srcid, in sunrpcrequest_print() 204 ip6addr_string(ndo, &ip6->ip6_dst), dstid, length)); in sunrpcrequest_print()
|
D | print-dccp.c | 209 static int dccp6_cksum(const struct ip6_hdr *ip6, const struct dccp_hdr *dh, u_int len) in dccp6_cksum() argument 211 return nextproto6_cksum(ip6, (const uint8_t *)(void *)dh, len, in dccp6_cksum() 276 const struct ip6_hdr *ip6; in dccp_print() local 289 ip6 = (const struct ip6_hdr *)data2; in dccp_print() 291 ip6 = NULL; in dccp_print() 320 if (ip6) { in dccp_print() 322 ip6addr_string(ndo, &ip6->ip6_src), sport, in dccp_print() 323 ip6addr_string(ndo, &ip6->ip6_dst), dport)); in dccp_print() 358 sum = dccp6_cksum(ip6, dh, len); in dccp_print()
|
D | print-pgm.c | 159 register const struct ip6_hdr *ip6; in pgm_print() local 170 ip6 = (struct ip6_hdr *)bp2; in pgm_print() 172 ip6 = NULL; in pgm_print() 182 if (ip6) { in pgm_print() 184 ip6addr_string(ndo, &ip6->ip6_src), in pgm_print() 185 ip6addr_string(ndo, &ip6->ip6_dst))); in pgm_print() 201 if (ip6) { in pgm_print() 202 if (ip6->ip6_nxt == IPPROTO_PGM) { in pgm_print() 204 ip6addr_string(ndo, &ip6->ip6_src), in pgm_print() 206 ip6addr_string(ndo, &ip6->ip6_dst), in pgm_print()
|
D | print-sctp.c | 502 const struct ip6_hdr *ip6; in sctp_print() local 521 ip6 = (const struct ip6_hdr *)bp2; in sctp_print() 523 ip6 = NULL; in sctp_print() 541 if (ip6) { in sctp_print() 543 ip6addr_string(ndo, &ip6->ip6_src), in sctp_print() 545 ip6addr_string(ndo, &ip6->ip6_dst), in sctp_print()
|
D | print-nfs.c | 208 struct ip6_hdr *ip6; in print_nfsaddr() local 226 ip6 = (struct ip6_hdr *)bp; in print_nfsaddr() 227 strlcpy(srcaddr, ip6addr_string(ndo, &ip6->ip6_src), in print_nfsaddr() 229 strlcpy(dstaddr, ip6addr_string(ndo, &ip6->ip6_dst), in print_nfsaddr() 884 struct ip6_hdr *ip6 = NULL; in xid_map_enter() local 896 ip6 = (struct ip6_hdr *)bp; in xid_map_enter() 915 else if (ip6) { in xid_map_enter() 917 UNALIGNED_MEMCPY(&xmep->client, &ip6->ip6_src, sizeof(ip6->ip6_src)); in xid_map_enter() 918 UNALIGNED_MEMCPY(&xmep->server, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); in xid_map_enter() 939 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; in xid_map_find() local [all …]
|
D | print-rt6.c | 95 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp2; in rt6_print() local 96 UNALIGNED_MEMCPY(&ip6->ip6_dst, last_addr, sizeof (struct in6_addr)); in rt6_print()
|
/external/android-clat/ |
D | clatd_test.cpp | 89 #define IPV6_PSEUDOHEADER(ip6, protocol, tlen) \ argument 90 ip6[8], ip6[9], ip6[10], ip6[11], /* Source address */ \ 91 ip6[12], ip6[13], ip6[14], ip6[15], \ 92 ip6[16], ip6[17], ip6[18], ip6[19], \ 93 ip6[20], ip6[21], ip6[22], ip6[23], \ 94 ip6[24], ip6[25], ip6[26], ip6[27], /* Destination address */ \ 95 ip6[28], ip6[29], ip6[30], ip6[31], \ 96 ip6[32], ip6[33], ip6[34], ip6[35], \ 97 ip6[36], ip6[37], ip6[38], ip6[39], \ 184 int is_ipv6_fragment(struct ip6_hdr *ip6, size_t len) { in is_ipv6_fragment() argument [all …]
|
D | ipv6.c | 79 const struct ip6_hdr *ip6 = (struct ip6_hdr *) packet; in ipv6_packet() local 93 if(IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { in ipv6_packet() 94 log_bad_address("ipv6_packet/multicast %s->%s", &ip6->ip6_src, &ip6->ip6_dst); in ipv6_packet() 104 if (!(is_in_plat_subnet(&ip6->ip6_src) && in ipv6_packet() 105 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &Global_Clatd_Config.ipv6_local_subnet)) && in ipv6_packet() 106 !(is_in_plat_subnet(&ip6->ip6_dst) && in ipv6_packet() 107 IN6_ARE_ADDR_EQUAL(&ip6->ip6_src, &Global_Clatd_Config.ipv6_local_subnet)) && in ipv6_packet() 108 ip6->ip6_nxt != IPPROTO_ICMPV6) { in ipv6_packet() 109 log_bad_address("ipv6_packet/wrong source address: %s->%s", &ip6->ip6_src, &ip6->ip6_dst); in ipv6_packet() 116 protocol = ip6->ip6_nxt; in ipv6_packet() [all …]
|
D | translate.c | 157 void fill_ip6_header(struct ip6_hdr *ip6, uint16_t payload_len, uint8_t protocol, in fill_ip6_header() argument 159 memset(ip6, 0, sizeof(struct ip6_hdr)); in fill_ip6_header() 161 ip6->ip6_vfc = 6 << 4; in fill_ip6_header() 162 ip6->ip6_plen = htons(payload_len); in fill_ip6_header() 163 ip6->ip6_nxt = protocol; in fill_ip6_header() 164 ip6->ip6_hlim = old_header->ttl; in fill_ip6_header() 166 ip6->ip6_src = ipv4_addr_to_ipv6_addr(old_header->saddr); in fill_ip6_header() 167 ip6->ip6_dst = ipv4_addr_to_ipv6_addr(old_header->daddr); in fill_ip6_header()
|
D | checksum.c | 90 uint32_t ipv6_pseudo_header_checksum(const struct ip6_hdr *ip6, uint16_t len, uint8_t protocol) { in ipv6_pseudo_header_checksum() argument 96 current = ip_checksum_add(current, &(ip6->ip6_src), sizeof(struct in6_addr)); in ipv6_pseudo_header_checksum() 97 current = ip_checksum_add(current, &(ip6->ip6_dst), sizeof(struct in6_addr)); in ipv6_pseudo_header_checksum()
|
D | dump.h | 31 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, 33 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6,
|
D | dump.c | 157 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, in dump_udp6() argument 160 temp_checksum = ipv6_pseudo_header_checksum(ip6, sizeof(*udp) + payload_size, IPPROTO_UDP); in dump_udp6() 216 void dump_tcp6(const struct tcphdr *tcp, const struct ip6_hdr *ip6, in dump_tcp6() argument 221 …temp_checksum = ipv6_pseudo_header_checksum(ip6, sizeof(*tcp) + options_size + payload_size, IPPRO… in dump_tcp6()
|
/external/mdnsresponder/mDNSPosix/ |
D | nss_mdns.conf | 6 domain 8.e.f.ip6.int 7 domain 9.e.f.ip6.int 8 domain a.e.f.ip6.int 9 domain b.e.f.ip6.int 10 domain 8.e.f.ip6.arpa 11 domain 9.e.f.ip6.arpa 12 domain a.e.f.ip6.arpa 13 domain b.e.f.ip6.arpa
|
/external/iptables/extensions/ |
D | libip6t_NETMAP.c | 45 range->min_addr.ip6[i] = cb->val.haddr.ip6[i] & in NETMAP_parse() 46 cb->val.hmask.ip6[i]; in NETMAP_parse() 47 range->max_addr.ip6[i] = range->min_addr.ip6[i] | in NETMAP_parse() 48 ~cb->val.hmask.ip6[i]; in NETMAP_parse() 63 a.s6_addr32[i] = ~(r->min_addr.ip6[i] ^ r->max_addr.ip6[i]); in __NETMAP_print()
|
D | libxt_ipvs.c | 143 if (!numeric && addr->ip6[0] == 0 && addr->ip6[1] == 0 && in ipvs_mt_dump_addr() 144 addr->ip6[2] == 0 && addr->ip6[3] == 0) { in ipvs_mt_dump_addr()
|
/external/libnl/etc/ |
D | pktloc | 29 ip6.version u8 net+0 0xF0 4 30 ip6.tc u16 net+0 0xFF0 4 31 ip6.flowlabel u32 net+0 0xFFFFF 32 ip6.length u16 net+4 33 ip6.nexthdr u8 net+6 34 ip6.hoplimit u8 net+7 35 ip6.src 16 net+8 36 ip6.dst 16 net+24
|
/external/webrtc/webrtc/base/ |
D | ipaddress.h | 61 explicit IPAddress(const in6_addr& ip6) : family_(AF_INET6) { in IPAddress() argument 62 u_.ip6 = ip6; in IPAddress() 119 in6_addr ip6; member 135 InterfaceAddress(const in6_addr& ip6, int ipv6_flags) in InterfaceAddress() argument 136 : IPAddress(ip6), ipv6_flags_(ipv6_flags) {} in InterfaceAddress()
|
D | ipaddress.cc | 80 return memcmp(&u_.ip6, &other.u_.ip6, sizeof(u_.ip6)) == 0; in operator ==() 111 return memcmp(&u_.ip6.s6_addr, &other.u_.ip6.s6_addr, 16) < 0; in operator <() 124 return u_.ip6; in ipv6_address() 138 src = &u_.ip6; in ToString() 185 in_addr addr = ExtractMappedAddress(u_.ip6); in Normalized()
|
/external/curl/tests/data/ |
D | test241 | 33 HTTP-IPv6 GET (using ip6-localhost) 36 -g "http://ip6-localhost:%HTTP6PORT/241" 39 ./server/resolve --ipv6 ip6-localhost 51 Host: ip6-localhost:%HTTP6PORT
|
D | test1083 | 36 HTTP-IPv6 GET with ip6-localhost --interface 39 -g "http://%HOST6IP:%HTTP6PORT/1083" --interface ip6-localhost 42 …es default test server host address';} else {exec './server/resolve --ipv6 ip6-localhost'; print '…
|
/external/tcpdump/tests/ |
D | cve2015-0261-ipv6.out | 1 IP6 truncated-ip6 - 26325 bytes missing!(class 0x76, flowlabel 0x76767, hlim 103, next-header Mobil… 2 IP6 truncated-ip6 - 26325 bytes missing!(class 0x76, flowlabel 0x76767, hlim 103, next-header Mobil…
|