| /xnu-10063.101.15/bsd/netinet6/ |
| H A D | frag6.c | 281 struct ip6_frag *ip6f = NULL; in frag6_input() 304 IP6_EXTHDR_CHECK(m, offset, sizeof(struct ip6_frag), goto done); in frag6_input() 306 ip6f = (struct ip6_frag *)((caddr_t)ip6 + offset); in frag6_input() 362 offset += sizeof(struct ip6_frag); in frag6_input() 529 sizeof(struct ip6_frag); in frag6_input() 546 offset - sizeof(struct ip6_frag) + in frag6_input() 547 offsetof(struct ip6_frag, ip6f_offlg)); in frag6_input() 555 offset - sizeof(struct ip6_frag) + in frag6_input() 556 offsetof(struct ip6_frag, ip6f_offlg)); in frag6_input() 606 erroff - sizeof(struct ip6_frag) + in frag6_input() [all …]
|
| H A D | ip6_output.c | 168 struct ip6_frag **); 1818 struct ip6_frag *ip6f; in ip6_do_fragmentation() 1831 len = (mtu - hlen - sizeof(struct ip6_frag)) & ~7; in ip6_do_fragmentation() 2236 struct ip6_frag **frghdrp) in ip6_insertfraghdr() 2257 M_TRAILINGSPACE(mlast) >= sizeof(struct ip6_frag)) { in ip6_insertfraghdr() 2259 *frghdrp = (struct ip6_frag *)(mtod(mlast, caddr_t) + in ip6_insertfraghdr() 2261 mlast->m_len += sizeof(struct ip6_frag); in ip6_insertfraghdr() 2262 m->m_pkthdr.len += sizeof(struct ip6_frag); in ip6_insertfraghdr() 2271 mfrg->m_len = sizeof(struct ip6_frag); in ip6_insertfraghdr() 2272 *frghdrp = mtod(mfrg, struct ip6_frag *); in ip6_insertfraghdr()
|
| H A D | icmp6.c | 997 struct ip6_frag *fh; in icmp6_notify_error() 1090 sizeof(struct ip6_frag), in icmp6_notify_error() 1092 fh = (struct ip6_frag *)(mtod(m, caddr_t) in icmp6_notify_error() 1095 IP6_EXTHDR_GET(fh, struct ip6_frag *, m, in icmp6_notify_error() 1112 eoff += sizeof(struct ip6_frag); in icmp6_notify_error() 1213 if (mtu < sizeof(struct ip6_hdr) + sizeof(struct ip6_frag) + 8) { in icmp6_mtudisc_update()
|
| H A D | ip6_input.c | 2154 len += sizeof(struct ip6_frag); in ip6_get_prevhdr() 2181 struct ip6_frag fh; in ip6_nexthdr() 2217 off += sizeof(struct ip6_frag); in ip6_nexthdr()
|
| /xnu-10063.101.15/tests/ |
| H A D | IP6_EXTHDR_CHECK_61873584.c | 15 struct ip6_frag frag; 25 struct ip6_frag frag;
|
| /xnu-10063.101.15/bsd/net/ |
| H A D | nat464_utils.c | 587 struct ip6_frag *p_ip6_frag = NULL; in nat464_insert_frag46() 592 sizeof(struct ip6_frag)) == NULL) { in nat464_insert_frag46() 597 p_ip6_frag = (struct ip6_frag *)pbuf_contig_segment(pbuf, in nat464_insert_frag46() 598 sizeof(struct ip6_hdr), sizeof(struct ip6_frag)); in nat464_insert_frag46() 617 sizeof(struct ip6_frag)); in nat464_insert_frag46() 628 struct ip6_frag *p_frag6 = NULL; in nat464_translate_64() 629 struct ip6_frag frag6 = {}; in nat464_translate_64() 646 p_frag6 = (struct ip6_frag *)pbuf_contig_segment(pbuf, in nat464_translate_64() 647 sizeof(struct ip6_hdr), sizeof(struct ip6_frag)); in nat464_translate_64() 656 off += sizeof(struct ip6_frag); in nat464_translate_64()
|
| H A D | if_ports_used.c | 1576 struct ip6_frag ip6_frag; in if_ports_used_match_mbuf() local 1578 error = mbuf_copydata(m, sizeof(struct ip6_hdr), sizeof(struct ip6_frag), &ip6_frag); in if_ports_used_match_mbuf() 1585 l3_len += sizeof(struct ip6_frag); in if_ports_used_match_mbuf() 1586 l4_proto = ip6_frag.ip6f_nxt; in if_ports_used_match_mbuf() 1588 if ((ip6_frag.ip6f_offlg & IP6F_OFF_MASK) != 0) { in if_ports_used_match_mbuf()
|
| H A D | pf_norm.c | 99 struct ip6_frag fr_ip6f_opt; 154 struct ip6_frag *); 170 pf_find_fragment_by_ipv6_header(struct ip6_hdr *, struct ip6_frag *, 175 struct ip6_frag *, struct pf_fragment **, int, int, int, int *); 437 struct ip6_frag *fh) in pf_ip6hdr2key() 1121 struct ip6_frag *ip6f; in pf_reassemble6() 1381 hdrlen = frent->fr_ip6f_hlen - sizeof(struct ip6_frag); in pf_reassemble6() 1386 unfragpartlen = next->fr_ip6f_hlen - sizeof(struct ip6_frag); in pf_reassemble6() 1478 pf_frag6cache(struct mbuf **m0, struct ip6_hdr *h, struct ip6_frag *fh, in pf_frag6cache() 2227 pf_find_fragment_by_ipv6_header(struct ip6_hdr *ip6, struct ip6_frag *fh, in pf_find_fragment_by_ipv6_header() [all …]
|
| H A D | pf.c | 10442 struct ip6_frag ip6f; in pf_test6()
|
| /xnu-10063.101.15/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_classifier.c | 273 volatile struct ip6_frag *ip6f; in flow_pkt_classify() 274 ip6f = (volatile struct ip6_frag *)(ip6 + 1); in flow_pkt_classify() 275 CL_SKIP_ON(cls_len < l3hlen + sizeof(struct ip6_frag)); in flow_pkt_classify() 279 l3hlen += sizeof(struct ip6_frag); in flow_pkt_classify()
|
| /xnu-10063.101.15/bsd/netinet/ |
| H A D | ip6.h | 279 struct ip6_frag { struct
|
| H A D | ip_output.c | 1835 mtu -= sizeof(struct ip6_frag); in ip_fragment()
|
| /xnu-10063.101.15/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ip_frag.c | 337 struct ip6_hdr *ip6, struct ip6_frag *ip6f, uint16_t *nfrags, in fsw_ip_frag_reass_v6() 357 (ip6f_off + sizeof(struct ip6_frag) - sizeof(struct ip6_hdr)); in fsw_ip_frag_reass_v6() 600 offsetof(struct ip6_frag, ip6f_offlg)); in ipf_process()
|
| H A D | fsw_var.h | 224 struct __kern_packet **pkt, struct ip6_hdr *ip6, struct ip6_frag *ip6f,
|
| H A D | fsw_dp.c | 633 (struct ip6_frag *)((uintptr_t)l3_hdr + sizeof(struct ip6_hdr)), in rx_process_ip_frag()
|