Searched refs:IP_OFFMASK (Results 1 – 14 of 14) sorted by relevance
110 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
108 #ifndef IP_OFFMASK109 #define IP_OFFMASK 0x1fff
294 #define IP_OFF_IS_ATOMIC(_ip_off) ((_ip_off & (IP_DF | IP_MF | IP_OFFMASK)) == IP_DF)
922 if ((ip->ip_off & (IP_MF | IP_OFFMASK)) == 0 && in ip_input_adjust()
249 if ((ntohs(iph->ip_off) & IP_OFFMASK) != 0) { in flow_pkt_classify()
501 #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()
131 if ((ip->ip_off & htons(IP_OFFMASK)) != 0) { in pf_osfp_fingerprint_hdr()
712 ip_frag_off = ntohs(iph->ip_off) & IP_OFFMASK; in dlil_clat46()
1863 (ntohs(iphdr.ip_off) & IP_OFFMASK) != 0) { in if_ports_used_match_mbuf()
8074 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()
4725 #define FRAG_BITS (IP_OFFMASK | IP_MF)
1226 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()
164 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
2355 ip->ip_off = ((off >> 3) & IP_OFFMASK); in sktu_create_ip_frames()