Home
last modified time | relevance | path

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

/xnu-12377.1.9/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.h294 #define IP_OFF_IS_ATOMIC(_ip_off) ((_ip_off & (IP_DF | IP_MF | IP_OFFMASK)) == IP_DF)
H A Dip_input.c922 if ((ip->ip_off & (IP_MF | IP_OFFMASK)) == 0 && in ip_input_adjust()
/xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c249 if ((ntohs(iph->ip_off) & IP_OFFMASK) != 0) { in flow_pkt_classify()
/xnu-12377.1.9/bsd/net/
H A Dpf_norm.c501 #define FR_IP_OFF(fr) ((ntohs((fr)->fr_ip->ip_off) & IP_OFFMASK) << 3)
511 u_int16_t off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3; in pf_reassemble()
654 off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3; in pf_reassemble()
1918 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_normalize_ip()
2000 ip_off = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_normalize_ip()
H A Dpf_osfp.c131 if ((ip->ip_off & htons(IP_OFFMASK)) != 0) { in pf_osfp_fingerprint_hdr()
H A Ddlil_subr.c712 ip_frag_off = ntohs(iph->ip_off) & IP_OFFMASK; in dlil_clat46()
H A Dif_ports_used.c1863 (ntohs(iphdr.ip_off) & IP_OFFMASK) != 0) { in if_ports_used_match_mbuf()
H A Dpf.c8074 if (h2.ip_off & htons(IP_OFFMASK)) { in pf_test_state_icmp()
9103 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_pull_hdr()
9834 if (h->ip_off & htons(IP_MF | IP_OFFMASK)) { in pf_test()
H A Dif_bridge.c4725 #define FRAG_BITS (IP_OFFMASK | IP_MF)
/xnu-12377.1.9/bsd/netinet6/
H A Dipsec.c1226 if (ip.ip_off & (IP_MF | IP_OFFMASK)) { in ipsec4_get_ulp()
2340 ip->ip_off &= htons(~IP_OFFMASK); in ipsec4_encapsulate()
5462 ip->ip_off &= htons(~IP_OFFMASK); in ipsec_fill_offload_frame()
/xnu-12377.1.9/osfmk/kdp/
H A Dkdp_udp.c164 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
/xnu-12377.1.9/tests/skywalk/
H A Dskywalk_test_utils.c2355 ip->ip_off = ((off >> 3) & IP_OFFMASK); in sktu_create_ip_frames()