| /freebsd-14.2/lib/libc/net/ |
| H A D | ip6opt.c | 112 struct ip6_ext *eh = (struct ip6_ext *)CMSG_DATA(cmsg); in inet6_option_append() 181 struct ip6_ext *eh = (struct ip6_ext *)CMSG_DATA(cmsg); in inet6_option_alloc() 240 struct ip6_ext *ip6e; in inet6_option_next() 250 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext))) in inet6_option_next() 252 ip6e = (struct ip6_ext *)CMSG_DATA(cmsg); in inet6_option_next() 296 struct ip6_ext *ip6e; in inet6_option_find() 306 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext))) in inet6_option_find() 308 ip6e = (struct ip6_ext *)CMSG_DATA(cmsg); in inet6_option_find() 390 struct ip6_ext *ext = (struct ip6_ext *)extbuf; in inet6_opt_init()
|
| /freebsd-14.2/sys/netgraph/ |
| H A D | ng_checksum.c | 417 struct ip6_ext *ip6e = NULL; in checksum_ipv6() 445 PULLUP_CHECK(m, sizeof(struct ip6_ext)); in checksum_ipv6() 446 ip6e = (struct ip6_ext *) mtodo(m, l3_offset + hlen); in checksum_ipv6() 453 PULLUP_CHECK(m, sizeof(struct ip6_ext)); in checksum_ipv6() 454 ip6e = (struct ip6_ext *) mtodo(m, l3_offset + hlen); in checksum_ipv6()
|
| /freebsd-14.2/sys/netgraph/netflow/ |
| H A D | ng_netflow.c | 833 struct ip6_ext *ip6e; in ng_netflow_rcvdata() 870 M_CHECK(sizeof(struct ip6_ext)); in ng_netflow_rcvdata() 871 ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + in ng_netflow_rcvdata() 879 M_CHECK(sizeof(struct ip6_ext)); in ng_netflow_rcvdata() 880 ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + in ng_netflow_rcvdata()
|
| /freebsd-14.2/contrib/tcpdump/ |
| H A D | ip6.h | 106 struct ip6_ext { struct
|
| /freebsd-14.2/sys/netinet/ |
| H A D | ip6.h | 118 struct ip6_ext { struct
|
| /freebsd-14.2/sys/netipsec/ |
| H A D | xform_ah.c | 275 struct ip6_ext *ip6e; in ah_massage_headers() 462 ip6e = (struct ip6_ext *)(ptr + off); in ah_massage_headers() 472 for (count = off + sizeof(struct ip6_ext); in ah_massage_headers() 501 ip6e = (struct ip6_ext *) (ptr + off); in ah_massage_headers()
|
| H A D | ipsec.c | 521 struct ip6_ext ip6e; in ipsec4_get_ulp()
|
| /freebsd-14.2/sys/netinet6/ |
| H A D | ip6_input.c | 1437 struct ip6_ext *ip6e = NULL; in ip6_savecontrol() 1456 ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + off); in ip6_savecontrol() 1596 struct ip6_ext ip6e; in ip6_get_prevhdr() 1634 struct ip6_ext ip6e; in ip6_nexthdr()
|
| H A D | ip6_output.c | 165 struct ip6_ext *eh = (struct ip6_ext *)(hp); \ 2551 (((struct ip6_ext *)pktopt->field)->ip6e_len + 1) << 3) 2695 int hlen = (((struct ip6_ext *)src->type)->ip6e_len + 1) << 3;\ 3330 (((struct ip6_ext *)(x)) ? (((struct ip6_ext *)(x))->ip6e_len + 1) << 3 : 0) in ip6_optlen()
|
| H A D | icmp6.c | 959 struct ip6_ext *eh; in icmp6_notify_error() 965 if (m->m_len < eoff + sizeof(struct ip6_ext)) { in icmp6_notify_error() 967 sizeof(struct ip6_ext)); in icmp6_notify_error() 974 eh = (struct ip6_ext *) in icmp6_notify_error()
|
| /freebsd-14.2/usr.sbin/traceroute6/ |
| H A D | traceroute6.c | 1548 hlen = (((struct ip6_ext *)cp)->ip6e_len + 2) << 2; in get_uphdr() 1549 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in get_uphdr() 1552 hlen = (((struct ip6_ext *)cp)->ip6e_len + 1) << 3; in get_uphdr() 1553 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in get_uphdr()
|
| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | ip_fw2.c | 1666 PULLUP_TO(hlen, ulp, struct ip6_ext); in ipfw_chk() 1668 hlen += (((struct ip6_ext *)ulp)->ip6e_len + 2) << 2; in ipfw_chk() 1669 proto = ((struct ip6_ext *)ulp)->ip6e_nxt; in ipfw_chk() 1691 PULLUP_TO(hlen, ulp, struct ip6_ext); in ipfw_chk() 1731 PULLUP_TO(hlen, ulp, struct ip6_ext); in ipfw_chk()
|
| /freebsd-14.2/sbin/ipf/ipmon/ |
| H A D | ipmon.c | 1034 struct ip6_ext *ehp; in print_ipflog() 1158 ehp = (struct ip6_ext *)((char *)ip6 + hl); in print_ipflog() 1170 ehp = (struct ip6_ext *)((char *)ehp + ehl); in print_ipflog()
|
| /freebsd-14.2/sys/netpfil/pf/ |
| H A D | pf_norm.c | 915 m = m_getptr(m, extoff + offsetof(struct ip6_ext, ip6e_nxt), in pf_reassemble6() 967 m = m_getptr(m, extoff + offsetof(struct ip6_ext, ip6e_nxt), in pf_refragment6() 1203 struct ip6_ext ext; in pf_normalize_ip6()
|
| H A D | pf.c | 6917 struct ip6_ext opt6; in pf_test_state_icmp() 8940 struct ip6_ext opt6; in pf_test6()
|
| /freebsd-14.2/sys/dev/oce/ |
| H A D | oce_if.c | 2743 struct ip6_ext *ip6e = NULL; in oce_check_ipv6_ext_hdr() 2746 ip6e = (struct ip6_ext *) mtod(m, struct ip6_ext *); in oce_check_ipv6_ext_hdr()
|
| /freebsd-14.2/sys/netpfil/ipfilter/netinet/ |
| H A D | fil.c | 406 static inline struct ip6_ext *ipf_pr_ipv6exthdr(fr_info_t *, int, int); 611 static inline struct ip6_ext * 615 struct ip6_ext *hdr; in ipf_pr_ipv6exthdr() 691 struct ip6_ext *hdr; in ipf_pr_hopopts6() 711 struct ip6_ext *hdr; in ipf_pr_mobility6() 853 struct ip6_ext *hdr; in ipf_pr_dstopts6()
|