Home
last modified time | relevance | path

Searched refs:ip6_hdr (Results 1 – 25 of 35) sorted by relevance

12

/minix/external/bsd/tcpdump/dist/
H A Dprint-frag6.c44 register const struct ip6_hdr *ip6; in frag6_print()
47 ip6 = (const struct ip6_hdr *)bp2; in frag6_print()
55 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
60 sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen) - in frag6_print()
H A Dip6.h72 struct ip6_hdr { struct
87 #define IP6_VERSION(ip6_hdr) (((ip6_hdr)->ip6_vfc & 0xf0) >> 4) argument
195 extern int nextproto6_cksum(const struct ip6_hdr *, const uint8_t *, u_int, u_int, u_int);
H A Dprint-ip6.c49 nextproto6_cksum(const struct ip6_hdr *ip6, const uint8_t *data, in nextproto6_cksum()
82 register const struct ip6_hdr *ip6; in ip6_print()
92 ip6 = (const struct ip6_hdr *)bp; in ip6_print()
95 if (length < sizeof (struct ip6_hdr)) { in ip6_print()
109 len = payload_len + sizeof(struct ip6_hdr); in ip6_print()
146 advance = sizeof(struct ip6_hdr); in ip6_print()
H A Dprint-rt6.c100 struct ip6_hdr *ip6 = (struct ip6_hdr *)bp2; in rt6_print()
H A Dprint-sunrpc.c180 register const struct ip6_hdr *ip6; in sunrpcrequest_print()
206 ip6 = (struct ip6_hdr *)bp2; in sunrpcrequest_print()
H A Dprint-udp.c288 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, in udp6_cksum()
300 const struct ip6_hdr *ip6; in udpipaddr_print()
303 ip6 = (const struct ip6_hdr *)ip; in udpipaddr_print()
362 register const struct ip6_hdr *ip6; in udp_print()
371 ip6 = (struct ip6_hdr *)bp2; in udp_print()
H A Dprint-dccp.c214 static int dccp6_cksum(const struct ip6_hdr *ip6, const struct dccp_hdr *dh, u_int len) in dccp6_cksum()
281 const struct ip6_hdr *ip6; in dccp_print()
294 ip6 = (const struct ip6_hdr *)data2; in dccp_print()
H A Dprint-esp.c575 struct ip6_hdr *ip6 = NULL; in esp_print()
627 ip6 = (struct ip6_hdr *)bp2; in esp_print()
632 len = sizeof(struct ip6_hdr) + EXTRACT_16BITS(&ip6->ip6_plen); in esp_print()
H A Dprint-tcp.c168 register const struct ip6_hdr *ip6;
175 ip6 = (struct ip6_hdr *)bp2;
813 struct ip6_hdr *ip6;
844 ip6 = (struct ip6_hdr *)ip;
H A Dprint-icmp6.c630 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, in icmp6_cksum()
898 const struct ip6_hdr *ip; in icmp6_print()
899 const struct ip6_hdr *oip; in icmp6_print()
906 ip = (struct ip6_hdr *)bp2; in icmp6_print()
907 oip = (struct ip6_hdr *)(dp + 1); in icmp6_print()
1196 const struct ip6_hdr *ip6 = (struct ip6_hdr *)bp; in get_upperlayer()
1211 hlen = sizeof(struct ip6_hdr); in get_upperlayer()
/minix/minix/lib/liblwip/dist/src/core/ipv6/
H A Dip6.c518 struct ip6_hdr *ip6hdr; in ip6_input()
530 ip6hdr = (struct ip6_hdr *)p->payload; in ip6_input()
829 ip6hdr = (struct ip6_hdr *)p->payload; in ip6_input()
976 struct ip6_hdr *ip6hdr; in ip6_output_if_src()
1004 ip6hdr = (struct ip6_hdr *)p->payload; in ip6_output_if_src()
1025 ip6hdr = (struct ip6_hdr *)p->payload; in ip6_output_if_src()
1093 struct ip6_hdr *ip6hdr; in ip6_output()
1102 ip6hdr = (struct ip6_hdr *)p->payload; in ip6_output()
1151 struct ip6_hdr *ip6hdr; in ip6_output_hinted()
1161 ip6hdr = (struct ip6_hdr *)p->payload; in ip6_output_hinted()
[all …]
H A Dip6_frag.c546 struct ip6_hdr* iphdr_ptr; in ip6_reass()
605 iphdr_ptr = (struct ip6_hdr*)((u8_t*)ipr->iphdr + in ip6_reass()
711 struct ip6_hdr *original_ip6hdr; in ip6_frag()
712 struct ip6_hdr *ip6hdr; in ip6_frag()
730 original_ip6hdr = (struct ip6_hdr *)p->payload; in ip6_frag()
762 ip6hdr = (struct ip6_hdr *)rambuf->payload; in ip6_frag()
778 ip6hdr = (struct ip6_hdr *)rambuf->payload; in ip6_frag()
/minix/sys/netinet6/
H A Dip6_var.h338 struct ip6_hdr;
339 int ip6_mforward(struct ip6_hdr *, struct ifnet *, struct mbuf *);
341 void ip6_savecontrol(struct in6pcb *, struct mbuf **, struct ip6_hdr *,
H A Din6_pcb.h97 struct ip6_hdr in6p_ip6; /* header prototype */
/minix/sys/netinet/
H A Dtcp_debug.h50 struct ip6_hdr ip6;
H A Dtcp_vtw.h364 struct ip6_hdr;
367 int vtw_lookup_v6(const struct ip6_hdr *ip, const struct tcphdr *th,
H A Dip6.h72 struct ip6_hdr { struct
/minix/minix/lib/liblwip/dist/src/netif/
H A Dlowpan6.c261 struct ip6_hdr *ip6hdr; in lowpan6_frag()
264 ip6hdr = (struct ip6_hdr *)p->payload; in lowpan6_frag()
628 struct ip6_hdr * ip6_hdr; in lowpan6_output() local
633 ip6_hdr = (struct ip6_hdr *)q->payload; in lowpan6_output()
634 ip6_addr_copy_from_packed(ip6_src, ip6_hdr->src); in lowpan6_output()
664 if ((src.addr_len == 2) && (ip6_addr_netcmp_zoneless(&ip6_hdr->src, &ip6_hdr->dest)) && in lowpan6_output()
697 struct ip6_hdr *ip6hdr; in lowpan6_decompress()
709 ip6hdr = (struct ip6_hdr *)q->payload; in lowpan6_decompress()
/minix/usr.sbin/traceroute6/
H A Dtraceroute6.c321 static struct udphdr *get_udphdr(struct ip6_hdr *, u_char *);
1070 struct ip6_hdr *ip; in packet_ok()
1074 ip = (struct ip6_hdr *) buf; in packet_ok()
1075 hlen = sizeof(struct ip6_hdr); in packet_ok()
1132 struct ip6_hdr *hip; in packet_ok()
1135 hip = (struct ip6_hdr *)(icp + 1); in packet_ok()
1188 get_udphdr(struct ip6_hdr *ip6, u_char *lim) in get_udphdr()
1197 cp += sizeof(struct ip6_hdr); in get_udphdr()
/minix/minix/lib/liblwip/dist/src/include/lwip/
H A Dip.h117 struct ip6_hdr *current_ip6_header;
153 #define ip6_current_header() ((const struct ip6_hdr*)(ip_data.current_ip6_header))
195 #define ip6_current_header() ((const struct ip6_hdr*)(ip_data.current_ip6_header))
H A Dip6_frag.h93 struct ip6_hdr *iphdr; /* pointer to the first (original) IPv6 header */
/minix/minix/lib/liblwip/dist/src/include/lwip/prot/
H A Dip6.h80 struct ip6_hdr { struct
/minix/minix/lib/liblwip/dist/src/core/
H A Draw.c142 struct ip6_hdr *ip6hdr = (struct ip6_hdr *)p->payload; in raw_input()
/minix/sbin/ping6/
H A Dping6.c268 static void pr_iph(struct ip6_hdr *);
280 static void pr_retip(struct ip6_hdr *, u_char *);
2214 pr_retip((struct ip6_hdr *)(icp + 1), end); in pr_icmph()
2219 pr_retip((struct ip6_hdr *)(icp + 1), end); in pr_icmph()
2234 pr_retip((struct ip6_hdr *)(icp + 1), end); in pr_icmph()
2254 pr_retip((struct ip6_hdr *)(icp + 1), end); in pr_icmph()
2410 pr_iph(struct ip6_hdr *ip6) in pr_iph()
2457 pr_retip(struct ip6_hdr *ip6, u_char *end) in pr_retip()
/minix/minix/net/lwip/
H A Dipsock.c6 #define ip6_hdr __netbsd_ip6_hdr /* conflicting definitions */ macro
11 #undef ip6_hdr

12