Home
last modified time | relevance | path

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

/xnu-10063.141.1/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.h290 #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-10063.141.1/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c238 if ((ntohs(iph->ip_off) & IP_OFFMASK) != 0) { in flow_pkt_classify()
/xnu-10063.141.1/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()
1915 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_normalize_ip()
1997 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.c1449 (ntohs(iphdr.ip_off) & IP_OFFMASK) != 0) { in if_ports_used_match_mbuf()
H A Dpf.c8091 if (h2.ip_off & htons(IP_OFFMASK)) { in pf_test_state_icmp()
9119 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_pull_hdr()
9832 if (h->ip_off & htons(IP_MF | IP_OFFMASK)) { in pf_test()
H A Dif_bridge.c4542 #define FRAG_BITS (IP_OFFMASK | IP_MF)
H A Ddlil.c7482 ip_frag_off = ntohs(iph->ip_off) & IP_OFFMASK; in dlil_clat46()
/xnu-10063.141.1/bsd/netinet6/
H A Dipsec.c1233 if (ip.ip_off & (IP_MF | IP_OFFMASK)) { in ipsec4_get_ulp()
2352 ip->ip_off &= htons(~IP_OFFMASK); in ipsec4_encapsulate()
5396 ip->ip_off &= htons(~IP_OFFMASK); in ipsec_fill_offload_frame()
/xnu-10063.141.1/osfmk/kdp/
H A Dkdp_udp.c164 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro