Home
last modified time | relevance | path

Searched refs:ip6_frag (Results 1 – 17 of 17) sorted by relevance

/xnu-11417.121.6/tests/skywalk/ !
H A Dskt_reass.c253 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 Dskywalk_test_utils.c2430 dlen -= sizeof(struct ip6_frag); in sktu_create_ip6_frames()
2432 plen = sizeof(struct ip6_frag) + dlen; in sktu_create_ip6_frames()
2454 struct ip6_frag *ip6f = (struct ip6_frag *)baddr; in sktu_create_ip6_frames()
/xnu-11417.121.6/bsd/netinet6/ !
H A Dfrag6.c282 struct ip6_frag *__single ip6f = NULL; in frag6_input()
306 IP6_EXTHDR_CHECK(m, offset, sizeof(struct ip6_frag), goto done); in frag6_input()
308 ip6f = (struct ip6_frag *)((caddr_t)ip6 + offset); in frag6_input()
365 offset += sizeof(struct ip6_frag); in frag6_input()
534 sizeof(struct ip6_frag); in frag6_input()
551 offset - sizeof(struct ip6_frag) + in frag6_input()
552 offsetof(struct ip6_frag, ip6f_offlg)); in frag6_input()
560 offset - sizeof(struct ip6_frag) + in frag6_input()
561 offsetof(struct ip6_frag, ip6f_offlg)); in frag6_input()
611 erroff - sizeof(struct ip6_frag) + in frag6_input()
[all …]
H A Dip6_output.c169 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 Dicmp6.c1000 struct ip6_frag *__single fh; in icmp6_notify_error()
1093 sizeof(struct ip6_frag), in icmp6_notify_error()
1095 fh = (struct ip6_frag *)(mtod(m, caddr_t) in icmp6_notify_error()
1098 IP6_EXTHDR_GET(fh, struct ip6_frag *, m, in icmp6_notify_error()
1115 eoff += sizeof(struct ip6_frag); in icmp6_notify_error()
1216 if (mtu < sizeof(struct ip6_hdr) + sizeof(struct ip6_frag) + 8) { in icmp6_mtudisc_update()
H A Dip6_input.c2179 len += sizeof(struct ip6_frag); in ip6_get_prevhdr()
2206 struct ip6_frag fh; in ip6_nexthdr()
2242 off += sizeof(struct ip6_frag); in ip6_nexthdr()
/xnu-11417.121.6/tests/ !
H A DIP6_EXTHDR_CHECK_61873584.c15 struct ip6_frag frag;
25 struct ip6_frag frag;
/xnu-11417.121.6/bsd/net/ !
H A Dnat464_utils.c599 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 Dif_ports_used.c1655 struct ip6_frag ip6_frag; in if_ports_used_match_mbuf() local
1657 error = mbuf_copydata(m, sizeof(struct ip6_hdr), sizeof(struct ip6_frag), &ip6_frag); in if_ports_used_match_mbuf()
1664 l3_len += sizeof(struct ip6_frag); in if_ports_used_match_mbuf()
1665 l4_proto = ip6_frag.ip6f_nxt; in if_ports_used_match_mbuf()
1667 if ((ip6_frag.ip6f_offlg & IP6F_OFF_MASK) != 0) { in if_ports_used_match_mbuf()
H A Dpf_norm.c99 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 *__single 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 Dpf.c10423 struct ip6_frag ip6f; in pf_test6()
/xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/flow/ !
H A Dflow_classifier.c299 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-11417.121.6/bsd/netinet/ !
H A Dip6.h279 struct ip6_frag { struct
H A Dip_output.c1908 mtu -= sizeof(struct ip6_frag); in ip_fragment()
/xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/ !
H A Dfsw_ip_frag.c339 struct ip6_hdr *ip6, struct ip6_frag *ip6f, uint16_t *nfrags, in fsw_ip_frag_reass_v6()
360 (ip6f_off + sizeof(struct ip6_frag) - sizeof(struct ip6_hdr)); in fsw_ip_frag_reass_v6()
613 offsetof(struct ip6_frag, ip6f_offlg)); in ipf_process()
H A Dfsw_var.h225 struct __kern_packet **pkt, struct ip6_hdr *ip6, struct ip6_frag *ip6f,
H A Dfsw_dp.c689 struct ip6_frag *__single ip6_frag = in rx_process_ip_frag() local
690 (struct ip6_frag *)((uint8_t *)l3_hdr + sizeof(struct ip6_hdr)); in rx_process_ip_frag()
694 err = fsw_ip_frag_reass_v6(fsw->fsw_ipfm, &pkt, ip6_hdr, ip6_frag, in rx_process_ip_frag()