Home
last modified time | relevance | path

Searched refs:IP_OFFMASK (Results 1 – 13 of 13) sorted by relevance

/xnu-8019.80.24/bsd/netinet/
H A Dip.h110 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
H A Dip_compat.h108 #ifndef IP_OFFMASK
109 #define IP_OFFMASK 0x1fff
H A Dip_var.h248 #define IP_OFF_IS_ATOMIC(_ip_off) ((_ip_off & (IP_DF | IP_MF | IP_OFFMASK)) == IP_DF)
H A Dip_input.c899 if ((ip->ip_off & (IP_MF | IP_OFFMASK)) == 0 && in ip_input_adjust()
/xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c237 if ((ntohs(iph->ip_off) & IP_OFFMASK) != 0) { in flow_pkt_classify()
/xnu-8019.80.24/bsd/net/
H A Dpf_norm.c500 #define FR_IP_OFF(fr) ((ntohs((fr)->fr_ip->ip_off) & IP_OFFMASK) << 3)
510 u_int16_t off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3; in pf_reassemble()
653 off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3; in pf_reassemble()
1916 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_normalize_ip()
1998 ip_off = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_normalize_ip()
H A Dpf_osfp.c128 if ((ip->ip_off & htons(IP_OFFMASK)) != 0) { in pf_osfp_fingerprint_hdr()
H A Dif_ports_used.c1253 (ntohs(iphdr.ip_off) & IP_OFFMASK) != 0) { in if_ports_used_match_mbuf()
H A Dpf.c7906 if (h2.ip_off & htons(IP_OFFMASK)) { in pf_test_state_icmp()
8936 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_pull_hdr()
9649 if (h->ip_off & htons(IP_MF | IP_OFFMASK)) { in pf_test()
H A Dif_bridge.c4311 #define FRAG_BITS (IP_OFFMASK | IP_MF)
H A Ddlil.c6932 ip_frag_off = ntohs(iph->ip_off) & IP_OFFMASK; in dlil_clat46()
/xnu-8019.80.24/bsd/netinet6/
H A Dipsec.c1231 if (ip.ip_off & (IP_MF | IP_OFFMASK)) { in ipsec4_get_ulp()
2365 ip->ip_off &= htons(~IP_OFFMASK); in ipsec4_encapsulate()
5081 ip->ip_off &= htons(~IP_OFFMASK); in ipsec_fill_offload_frame()
/xnu-8019.80.24/osfmk/kdp/
H A Dkdp_udp.c162 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro