Home
last modified time | relevance | path

Searched refs:ip6 (Results 1 – 25 of 30) sorted by relevance

12

/external/tcpdump/
Dprint-ip6.c52 register const struct ip6_hdr *ip6; in ip6_print() local
62 ip6 = (const struct ip6_hdr *)bp; in ip6_print()
64 TCHECK(*ip6); in ip6_print()
73 payload_len = EXTRACT_16BITS(&ip6->ip6_plen); in ip6_print()
80 flow = EXTRACT_32BITS(&ip6->ip6_flow); in ip6_print()
97 ip6->ip6_hlim, in ip6_print()
98 tok2str(ipproto_values,"unknown",ip6->ip6_nxt), in ip6_print()
99 ip6->ip6_nxt, in ip6_print()
110 cp = (const u_char *)ip6; in ip6_print()
112 nh = ip6->ip6_nxt; in ip6_print()
[all …]
Dprint-tcp.c146 static int tcp6_cksum(const struct ip6_hdr *ip6, const struct tcphdr *tp, in tcp6_cksum() argument
165 phu.ph.ph_src = ip6->ip6_src; in tcp6_cksum()
166 phu.ph.ph_dst = ip6->ip6_dst; in tcp6_cksum()
203 register const struct ip6_hdr *ip6; in tcp_print() local
210 ip6 = (struct ip6_hdr *)bp2; in tcp_print()
212 ip6 = NULL; in tcp_print()
248 if (ip6) { in tcp_print()
249 if (ip6->ip6_nxt == IPPROTO_TCP) { in tcp_print()
251 ip6addr_string(&ip6->ip6_src), in tcp_print()
253 ip6addr_string(&ip6->ip6_dst), in tcp_print()
[all …]
Dprint-udp.c319 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, in udp6_cksum() argument
338 phu.ph.ph_src = ip6->ip6_src; in udp6_cksum()
339 phu.ph.ph_dst = ip6->ip6_dst; in udp6_cksum()
367 const struct ip6_hdr *ip6; in udpipaddr_print() local
370 ip6 = (const struct ip6_hdr *)ip; in udpipaddr_print()
372 ip6 = NULL; in udpipaddr_print()
374 if (ip6) { in udpipaddr_print()
375 if (ip6->ip6_nxt == IPPROTO_UDP) { in udpipaddr_print()
378 ip6addr_string(&ip6->ip6_src), in udpipaddr_print()
379 ip6addr_string(&ip6->ip6_dst)); in udpipaddr_print()
[all …]
Dprint-dccp.c93 static int dccp6_cksum(const struct ip6_hdr *ip6, const struct dccp_hdr *dh, u_int len) in dccp6_cksum() argument
111 phu.ph.ph_src = ip6->ip6_src; in dccp6_cksum()
112 phu.ph.ph_dst = ip6->ip6_dst; in dccp6_cksum()
221 const struct ip6_hdr *ip6; in dccp_print() local
233 ip6 = (const struct ip6_hdr *)data2; in dccp_print()
235 ip6 = NULL; in dccp_print()
254 if (ip6) { in dccp_print()
256 ip6addr_string(&ip6->ip6_src), sport, in dccp_print()
257 ip6addr_string(&ip6->ip6_dst), dport); in dccp_print()
283 if (ip6) { in dccp_print()
[all …]
Dprint-frag6.c47 register const struct ip6_hdr *ip6; in frag6_print() local
50 ip6 = (const struct ip6_hdr *)bp2; in frag6_print()
58 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
63 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
Dprint-sctp.c69 const struct ip6_hdr *ip6; in sctp_print() local
86 ip6 = (const struct ip6_hdr *)bp2; in sctp_print()
88 ip6 = NULL; in sctp_print()
106 if (ip6) { in sctp_print()
108 ip6addr_string(&ip6->ip6_src), in sctp_print()
110 ip6addr_string(&ip6->ip6_dst), in sctp_print()
Dprint-sunrpc.c76 register const struct ip6_hdr *ip6; in sunrpcrequest_print() local
102 ip6 = (struct ip6_hdr *)bp2; in sunrpcrequest_print()
104 ip6addr_string(&ip6->ip6_src), srcid, in sunrpcrequest_print()
105 ip6addr_string(&ip6->ip6_dst), dstid, length); in sunrpcrequest_print()
Dprint-pgm.c161 register const struct ip6_hdr *ip6; in pgm_print() local
172 ip6 = (struct ip6_hdr *)bp2; in pgm_print()
174 ip6 = NULL; in pgm_print()
184 if (ip6) { in pgm_print()
186 ip6addr_string(&ip6->ip6_src), in pgm_print()
187 ip6addr_string(&ip6->ip6_dst)); in pgm_print()
203 if (ip6) { in pgm_print()
204 if (ip6->ip6_nxt == IPPROTO_PGM) { in pgm_print()
206 ip6addr_string(&ip6->ip6_src), in pgm_print()
208 ip6addr_string(&ip6->ip6_dst), in pgm_print()
Dprint-nfs.c164 struct ip6_hdr *ip6; in print_nfsaddr() local
182 ip6 = (struct ip6_hdr *)bp; in print_nfsaddr()
183 strlcpy(srcaddr, ip6addr_string(&ip6->ip6_src), in print_nfsaddr()
185 strlcpy(dstaddr, ip6addr_string(&ip6->ip6_dst), in print_nfsaddr()
894 struct ip6_hdr *ip6 = NULL; in xid_map_enter() local
904 ip6 = (struct ip6_hdr *)bp; in xid_map_enter()
923 else if (ip6) { in xid_map_enter()
925 memcpy(&xmep->client, &ip6->ip6_src, sizeof(ip6->ip6_src)); in xid_map_enter()
926 memcpy(&xmep->server, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); in xid_map_enter()
946 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; in xid_map_find() local
[all …]
Dprint-esp.c352 struct ip6_hdr *ip6 = NULL; in esp_print() local
411 ip6 = (struct ip6_hdr *)bp2; in esp_print()
413 if (!EXTRACT_16BITS(&ip6->ip6_plen)) in esp_print()
416 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); in esp_print()
423 memcmp(&sin6->sin6_addr, &ip6->ip6_dst, in esp_print()
Dprint-isakmp.c184 struct ip6_hdr *ip6; in cookie_record() local
222 ip6 = (struct ip6_hdr *)bp2; in cookie_record()
228 memcpy(&sin6->sin6_addr, &ip6->ip6_src, sizeof(ip6->ip6_src)); in cookie_record()
234 memcpy(&sin6->sin6_addr, &ip6->ip6_dst, sizeof(ip6->ip6_dst)); in cookie_record()
254 struct ip6_hdr *ip6; in cookie_sidecheck() local
272 ip6 = (struct ip6_hdr *)bp2; in cookie_sidecheck()
278 memcpy(&sin6->sin6_addr, &ip6->ip6_src, sizeof(ip6->ip6_src)); in cookie_sidecheck()
Dprint-icmp6.c192 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, in icmp6_cksum() argument
211 phu.ph.ph_src = ip6->ip6_src; in icmp6_cksum()
212 phu.ph.ph_dst = ip6->ip6_dst; in icmp6_cksum()
525 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; in get_upperlayer() local
536 if (!TTEST(ip6->ip6_nxt)) in get_upperlayer()
539 nh = ip6->ip6_nxt; in get_upperlayer()
DFILES54 ip6.h
151 print-ip6.c
DAndroid.mk54 print-ip6.c\
DINSTALL95 ip6.h - IPv6 definitions
170 print-ip6.c - IPv6 printer routines
Dconfigure.in154 …LOCALSRC="print-ip6.c print-ip6opts.c print-mobility.c print-ripng.c print-icmp6.c print-frag6.c p…
176 …LOCALSRC="print-ip6.c print-ip6opts.c print-mobility.c print-ripng.c print-icmp6.c print-frag6.c p…
232 if test -d /usr/inet6 -o -f /usr/include/netinet/ip6.h; then
/external/bluetooth/hcidump/parser/
Dtcpip.c103 struct ip6_hdr *ip6 = (struct ip6_hdr *) ip; in ip_dump()
104 proto = ip6->ip6_nxt; in ip_dump()
108 memcpy(&sai6.sin6_addr, &ip6->ip6_src, sizeof(struct in6_addr)); in ip_dump()
111 memcpy(&sai6.sin6_addr, &ip6->ip6_dst, sizeof(struct in6_addr)); in ip_dump()
/external/iproute2/include/linux/
Dnetfilter.h54 __be32 ip6[4]; member
/external/iptables/extensions/
Dlibip6t_standard.c46 save(const struct ip6t_ip6 *ip6, const struct ip6t_entry_target *target) in save() argument
Dlibip6t_TCPMSS.c91 print(const struct ip6t_ip6 *ip6, in print() argument
/external/qemu/
Dsockets.c245 sock_address_init_in6 ( SockAddress* a, const uint8_t* ip6[16], uint16_t port ) in sock_address_init_in6()
249 memcpy( a->u.in6.address, ip6, sizeof(a->u.in6.address) ); in sock_address_init_in6()
350 format_ip6( char* buf, char* end, const uint8_t* ip6 ) in format_ip6() argument
354 int val = (ip6[0] << 16) | ip6[1]; in format_ip6()
355 ip6 += 2; in format_ip6()
Dsockets.h198 void sock_address_init_in6 ( SockAddress* a, const uint8_t* ip6[16], uint16_t port );
/external/iproute2/doc/
DPlan11 2.3 IPv6 Flow Labels (api-ip6-flowlabels.tex, published)
DMakefile1 PSFILES=ip-cref.ps ip-tunnels.ps api-ip6-flowlabels.ps ss.ps nstat.ps arpd.ps rtstat.ps
/external/libpcap/
Dscanner.l188 ip6 {

12