/freebsd/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/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/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/contrib/tcpdump/ |
H A D | ip6.h | 106 struct ip6_ext { struct
|
/freebsd/sys/netinet/ |
H A D | ip6.h | 116 struct ip6_ext { struct
|
/freebsd/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/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 1534 hlen = (((struct ip6_ext *)cp)->ip6e_len + 2) << 2; in get_uphdr() 1535 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in get_uphdr() 1538 hlen = (((struct ip6_ext *)cp)->ip6e_len + 1) << 3; in get_uphdr() 1539 nh = ((struct ip6_ext *)cp)->ip6e_nxt; in get_uphdr()
|
/freebsd/sys/netinet6/ |
H A D | ip6_input.c | 1433 struct ip6_ext *ip6e = NULL; in ip6_savecontrol() 1452 ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + off); in ip6_savecontrol() 1592 struct ip6_ext ip6e; in ip6_get_prevhdr() 1630 struct ip6_ext ip6e; in ip6_nexthdr()
|
H A D | ip6_output.c | 162 struct ip6_ext *eh = (struct ip6_ext *)(hp); \ 2554 (((struct ip6_ext *)pktopt->field)->ip6e_len + 1) << 3) 2707 int hlen = (((struct ip6_ext *)src->type)->ip6e_len + 1) << 3;\ 3353 (((struct ip6_ext *)(x)) ? (((struct ip6_ext *)(x))->ip6e_len + 1) << 3 : 0) in ip6_optlen()
|
H A D | icmp6.c | 957 struct ip6_ext *eh; in icmp6_notify_error() 963 if (m->m_len < eoff + sizeof(struct ip6_ext)) { in icmp6_notify_error() 965 sizeof(struct ip6_ext)); in icmp6_notify_error() 972 eh = (struct ip6_ext *) in icmp6_notify_error()
|
/freebsd/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/sbin/ipf/ipmon/ |
H A D | ipmon.c | 1030 struct ip6_ext *ehp; in print_ipflog() 1154 ehp = (struct ip6_ext *)((char *)ip6 + hl); in print_ipflog() 1166 ehp = (struct ip6_ext *)((char *)ehp + ehl); in print_ipflog()
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_norm.c | 915 m = m_getptr(m, extoff + offsetof(struct ip6_ext, ip6e_nxt), in pf_reassemble6() 982 m = m_getptr(m, extoff + offsetof(struct ip6_ext, ip6e_nxt), in pf_refragment6() 1218 struct ip6_ext ext; in pf_normalize_ip6()
|
H A D | pf.c | 6652 struct ip6_ext opt6; in pf_test_state_icmp() 8739 struct ip6_ext opt6; in pf_test6()
|
/freebsd/sys/dev/oce/ |
H A D | oce_if.c | 2750 struct ip6_ext *ip6e = NULL; in oce_check_ipv6_ext_hdr() 2753 ip6e = (struct ip6_ext *) mtod(m, struct ip6_ext *); in oce_check_ipv6_ext_hdr()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | fil.c | 402 static inline struct ip6_ext *ipf_pr_ipv6exthdr(fr_info_t *, int, int); 607 static inline struct ip6_ext * 611 struct ip6_ext *hdr; in ipf_pr_ipv6exthdr() 687 struct ip6_ext *hdr; in ipf_pr_hopopts6() 707 struct ip6_ext *hdr; in ipf_pr_mobility6() 849 struct ip6_ext *hdr; in ipf_pr_dstopts6()
|