| /xnu-12377.1.9/tests/skywalk/ |
| H A D | skt_reass.c | 253 ip6->ip6_plen = htons(sizeof(struct ip6_frag) + plen); in bad_fraglen_build() 261 struct ip6_frag *ip6f = (struct ip6_frag *)buf; in bad_fraglen_build() 267 buf += sizeof(struct ip6_frag); in bad_fraglen_build() 268 len += sizeof(struct ip6_frag); in bad_fraglen_build() 327 ip6->ip6_plen = htons(sizeof(struct ip6_frag) + plen); in timeout_build() 335 struct ip6_frag *ip6f = (struct ip6_frag *)buf; in timeout_build() 341 buf += sizeof(struct ip6_frag); in timeout_build() 342 len += sizeof(struct ip6_frag); in timeout_build() 408 plen = sizeof(struct ip6_frag) + sizeof(struct icmp6_hdr) + dlen; in atomic_build() 419 struct ip6_frag *ip6f = (struct ip6_frag *)buf; in atomic_build() [all …]
|
| H A D | skywalk_test_utils.c | 2409 dlen -= sizeof(struct ip6_frag); in sktu_create_ip6_frames() 2411 plen = sizeof(struct ip6_frag) + dlen; in sktu_create_ip6_frames() 2433 struct ip6_frag *ip6f = (struct ip6_frag *)baddr; in sktu_create_ip6_frames()
|
| /xnu-12377.1.9/bsd/netinet6/ |
| H A D | frag6.c | 283 struct ip6_frag *__single ip6f = NULL; in frag6_input() 307 IP6_EXTHDR_CHECK(m, offset, sizeof(struct ip6_frag), goto done); in frag6_input() 309 ip6f = (struct ip6_frag *)((caddr_t)ip6 + offset); in frag6_input() 366 offset += sizeof(struct ip6_frag); in frag6_input() 535 sizeof(struct ip6_frag); in frag6_input() 552 offset - sizeof(struct ip6_frag) + in frag6_input() 553 offsetof(struct ip6_frag, ip6f_offlg)); in frag6_input() 561 offset - sizeof(struct ip6_frag) + in frag6_input() 562 offsetof(struct ip6_frag, ip6f_offlg)); in frag6_input() 612 erroff - sizeof(struct ip6_frag) + in frag6_input() [all …]
|
| H A D | ip6_output.c | 169 struct ip6_frag **); 1871 struct ip6_frag *__single ip6f; in ip6_do_fragmentation() 1884 len = (mtu - hlen - sizeof(struct ip6_frag)) & ~7; in ip6_do_fragmentation() 2292 struct ip6_frag **frghdrp) in ip6_insertfraghdr() 2313 M_TRAILINGSPACE(mlast) >= sizeof(struct ip6_frag)) { in ip6_insertfraghdr() 2315 *frghdrp = (struct ip6_frag *)(mtod(mlast, caddr_t) + in ip6_insertfraghdr() 2317 mlast->m_len += sizeof(struct ip6_frag); in ip6_insertfraghdr() 2318 m->m_pkthdr.len += sizeof(struct ip6_frag); in ip6_insertfraghdr() 2327 mfrg->m_len = sizeof(struct ip6_frag); in ip6_insertfraghdr() 2328 *frghdrp = mtod(mfrg, struct ip6_frag *); in ip6_insertfraghdr()
|
| H A D | icmp6.c | 1002 struct ip6_frag *__single fh; in icmp6_notify_error() 1095 sizeof(struct ip6_frag), in icmp6_notify_error() 1097 fh = (struct ip6_frag *)(mtod(m, caddr_t) in icmp6_notify_error() 1100 IP6_EXTHDR_GET(fh, struct ip6_frag *, m, in icmp6_notify_error() 1117 eoff += sizeof(struct ip6_frag); in icmp6_notify_error() 1218 if (mtu < sizeof(struct ip6_hdr) + sizeof(struct ip6_frag) + 8) { in icmp6_mtudisc_update()
|
| H A D | ip6_input.c | 2211 len += sizeof(struct ip6_frag); in ip6_get_prevhdr() 2238 struct ip6_frag fh; in ip6_nexthdr() 2274 off += sizeof(struct ip6_frag); in ip6_nexthdr()
|
| /xnu-12377.1.9/tests/ |
| H A D | IP6_EXTHDR_CHECK_61873584.c | 15 struct ip6_frag frag; 25 struct ip6_frag frag;
|
| /xnu-12377.1.9/bsd/net/ |
| H A D | nat464_utils.c | 599 struct ip6_frag *p_ip6_frag = NULL; in nat464_insert_frag46() 604 sizeof(struct ip6_frag)) == NULL) { in nat464_insert_frag46() 609 p_ip6_frag = (struct ip6_frag *)pbuf_contig_segment(pbuf, in nat464_insert_frag46() 610 sizeof(struct ip6_hdr), sizeof(struct ip6_frag)); in nat464_insert_frag46() 629 sizeof(struct ip6_frag)); in nat464_insert_frag46() 640 struct ip6_frag *p_frag6 = NULL; in nat464_translate_64() 641 struct ip6_frag frag6 = {}; in nat464_translate_64() 658 p_frag6 = (struct ip6_frag *)pbuf_contig_segment(pbuf, in nat464_translate_64() 659 sizeof(struct ip6_hdr), sizeof(struct ip6_frag)); in nat464_translate_64() 668 off += sizeof(struct ip6_frag); in nat464_translate_64()
|
| H A D | pf_norm.c | 100 struct ip6_frag fr_ip6f_opt; 155 struct ip6_frag *); 171 pf_find_fragment_by_ipv6_header(struct ip6_hdr *, struct ip6_frag *, 176 struct ip6_frag *, struct pf_fragment **, int, int, int, int *); 438 struct ip6_frag *fh) in pf_ip6hdr2key() 1125 struct ip6_frag *__single ip6f; in pf_reassemble6() 1385 hdrlen = frent->fr_ip6f_hlen - sizeof(struct ip6_frag); in pf_reassemble6() 1390 unfragpartlen = next->fr_ip6f_hlen - sizeof(struct ip6_frag); in pf_reassemble6() 1483 pf_frag6cache(struct mbuf **m0, struct ip6_hdr *h, struct ip6_frag *fh, in pf_frag6cache() 2230 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 | if_ports_used.c | 1990 struct ip6_frag ip6_frag; in if_ports_used_match_mbuf() local 1992 error = mbuf_copydata(m, sizeof(struct ip6_hdr), sizeof(struct ip6_frag), &ip6_frag); in if_ports_used_match_mbuf() 1999 l3_len += sizeof(struct ip6_frag); in if_ports_used_match_mbuf() 2000 l4_proto = ip6_frag.ip6f_nxt; in if_ports_used_match_mbuf() 2002 if ((ip6_frag.ip6f_offlg & IP6F_OFF_MASK) != 0) { in if_ports_used_match_mbuf()
|
| H A D | pf.c | 10444 struct ip6_frag ip6f; in pf_test6()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_classifier.c | 299 volatile struct ip6_frag *ip6f; in flow_pkt_classify() 300 ip6f = (volatile struct ip6_frag *)(ip6 + 1); in flow_pkt_classify() 301 CL_SKIP_ON(cls_len < l3hlen + sizeof(struct ip6_frag)); in flow_pkt_classify() 305 l3hlen += sizeof(struct ip6_frag); in flow_pkt_classify()
|
| /xnu-12377.1.9/bsd/netinet/ |
| H A D | ip6.h | 279 struct ip6_frag { struct
|
| H A D | ip_output.c | 1908 mtu -= sizeof(struct ip6_frag); in ip_fragment()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ip_frag.c | 342 struct ip6_hdr *ip6, struct ip6_frag *ip6f, uint16_t *nfrags, in fsw_ip_frag_reass_v6() 363 (ip6f_off + sizeof(struct ip6_frag) - sizeof(struct ip6_hdr)); in fsw_ip_frag_reass_v6() 637 offsetof(struct ip6_frag, ip6f_offlg)); in ipf_process()
|
| H A D | fsw_var.h | 227 struct __kern_packet **pkt, struct ip6_hdr *ip6, struct ip6_frag *ip6f,
|
| H A D | fsw_dp.c | 703 struct ip6_frag *__single ip6_frag = in rx_process_ip_frag() local 704 (struct ip6_frag *)((uint8_t *)l3_hdr + sizeof(struct ip6_hdr)); in rx_process_ip_frag() 708 err = fsw_ip_frag_reass_v6(fsw->fsw_ipfm, &pkt, ip6_hdr, ip6_frag, in rx_process_ip_frag()
|