Searched refs:ip6_ext (Results 1 – 17 of 17) sorted by relevance
131 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()
1056 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()
161 __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()
256 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()
993 struct ip6_ext *eh; in icmp6_notify_error()999 IP6_EXTHDR_GET(eh, struct ip6_ext *, m, in icmp6_notify_error()
102 struct ip6_ext { struct
136 struct ip6_ext { struct
455 struct ip6_ext ip6e; in ipsec6_common_input()496 protoff += offsetof(struct ip6_ext, ip6e_nxt); in ipsec6_common_input()
647 struct ip6_ext ip6e; in compute_ipsec_pos()702 *off = *i + offsetof(struct ip6_ext, ip6e_nxt); in compute_ipsec_pos()
296 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()
893 struct ip6_ext ip6e; in ipsec4_get_ulp()
471 struct ip6_ext *ip6e; in npf_cache_ip()
2366 hlen = (((struct ip6_ext *)cp)->ip6e_len+2) << 2; in pr_retip()2367 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in pr_retip()
437 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()
1047 struct ip6_ext eh; in print_ipflog()
1104 struct ip6_ext ext;
4550 struct ip6_ext opt6;6201 struct ip6_ext opt6;