Home
last modified time | relevance | path

Searched refs:ip6_ext (Results 1 – 17 of 17) sorted by relevance

/netbsd-src/lib/libc/net/
H A Dip6opt.c131 struct ip6_ext *eh; in inet6_option_append()
137 eh = (struct ip6_ext *)(void *)CMSG_DATA(cmsg); in inet6_option_append()
212 struct ip6_ext *eh; in inet6_option_alloc()
217 eh = (struct ip6_ext *)(void *)CMSG_DATA(cmsg); in inet6_option_alloc()
280 struct ip6_ext *ip6e; in inet6_option_next()
293 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext))) in inet6_option_next()
339 struct ip6_ext *ip6e; in inet6_option_find()
352 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext))) in inet6_option_find()
443 struct ip6_ext *ext = (struct ip6_ext *)extbuf; in inet6_opt_init()
/netbsd-src/usr.sbin/traceroute6/
H A Dtraceroute6.c1056 hlen = (((struct ip6_ext *)cp)->ip6e_len + 2) << 2; in get_udphdr()
1057 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in get_udphdr()
1060 hlen = (((struct ip6_ext *)cp)->ip6e_len + 1) << 3; in get_udphdr()
1061 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in get_udphdr()
/netbsd-src/sys/netinet6/
H A Dip6_input.c161 __CTASSERT(sizeof(struct ip6_ext) == 2);
1185 struct ip6_ext *ip6e = NULL; in ip6_savecontrol()
1208 ip6e = mtod(ext, struct ip6_ext *); in ip6_savecontrol()
1315 struct ip6_ext ip6e; in ip6_pullexthdr()
1368 struct ip6_ext ip6e; in ip6_get_prevhdr()
1402 struct ip6_ext ip6e; in ip6_nexthdr()
H A Dip6_output.c256 struct ip6_ext *eh = (struct ip6_ext *)(hp); \ in ip6_output()
2131 struct ip6_ext *ip6e; in ip6_getpcbopt()
2162 ip6e = (struct ip6_ext *)pktopt->ip6po_hbh; in ip6_getpcbopt()
2169 ip6e = (struct ip6_ext *)pktopt->ip6po_rthdr; in ip6_getpcbopt()
2176 ip6e = (struct ip6_ext *)pktopt->ip6po_dest1; in ip6_getpcbopt()
2183 ip6e = (struct ip6_ext *)pktopt->ip6po_dest2; in ip6_getpcbopt()
2271 int hlen = (((struct ip6_ext *)src->type)->ip6e_len + 1) << 3;\
3318 (((struct ip6_ext *)(x)) ? (((struct ip6_ext *)(x))->ip6e_len + 1) << 3 : 0) in ip6_optlen()
H A Dicmp6.c993 struct ip6_ext *eh; in icmp6_notify_error()
999 IP6_EXTHDR_GET(eh, struct ip6_ext *, m, in icmp6_notify_error()
/netbsd-src/external/bsd/tcpdump/dist/
H A Dip6.h102 struct ip6_ext { struct
/netbsd-src/sys/netinet/
H A Dip6.h136 struct ip6_ext { struct
/netbsd-src/sys/netipsec/
H A Dipsec_input.c455 struct ip6_ext ip6e; in ipsec6_common_input()
496 protoff += offsetof(struct ip6_ext, ip6e_nxt); in ipsec6_common_input()
H A Dipsec_output.c647 struct ip6_ext ip6e; in compute_ipsec_pos()
702 *off = *i + offsetof(struct ip6_ext, ip6e_nxt); in compute_ipsec_pos()
H A Dxform_ah.c296 struct ip6_ext *ip6e; in ah_massage_headers()
455 ip6e = (struct ip6_ext *)(ptr + off); in ah_massage_headers()
465 for (count = off + sizeof(struct ip6_ext); in ah_massage_headers()
H A Dipsec.c893 struct ip6_ext ip6e; in ipsec4_get_ulp()
/netbsd-src/sys/net/npf/
H A Dnpf_inet.c471 struct ip6_ext *ip6e; in npf_cache_ip()
/netbsd-src/sbin/ping6/
H A Dping6.c2366 hlen = (((struct ip6_ext *)cp)->ip6e_len+2) << 2; in pr_retip()
2367 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in pr_retip()
/netbsd-src/sys/external/bsd/ipf/netinet/
H A Dfil.c437 static INLINE struct ip6_ext *ipf_pr_ipv6exthdr(fr_info_t *, int, int);
642 static INLINE struct ip6_ext *
646 struct ip6_ext *hdr; in ipf_pr_ipv6exthdr()
722 struct ip6_ext *hdr; in ipf_pr_hopopts6()
742 struct ip6_ext *hdr; in ipf_pr_mobility6()
884 struct ip6_ext *hdr; in ipf_pr_dstopts6()
/netbsd-src/external/bsd/ipf/dist/tools/
H A Dipmon.c1047 struct ip6_ext eh; in print_ipflog()
/netbsd-src/sys/dist/pf/net/
H A Dpf_norm.c1104 struct ip6_ext ext;
H A Dpf.c4550 struct ip6_ext opt6;
6201 struct ip6_ext opt6;