Searched refs:IP_OFFMASK (Results 1 - 9 of 9) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dip.h101 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
H A Dip_compat.h106 #ifndef IP_OFFMASK
107 #define IP_OFFMASK 0x1fff
H A Dip_fw2.c1171 offset = ip_off & IP_OFFMASK;
1220 if (ip_off & (IP_MF | IP_OFFMASK))
2036 offset = ntohs(ip->ip_off) & IP_OFFMASK;
2039 offset = ip->ip_off & IP_OFFMASK;
H A Dip_input.c1204 if (ip->ip_off & (IP_MF | IP_OFFMASK | IP_RF)) {
/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp_udp.h110 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
/darwin-on-arm/xnu/bsd/net/
H A Dpf_norm.c499 #define FR_IP_OFF(fr) ((ntohs((fr)->fr_ip->ip_off) & IP_OFFMASK) << 3)
509 u_int16_t off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3;
572 off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3;
1536 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3;
1611 ip_off = (ntohs(h->ip_off) & IP_OFFMASK) << 3;
H A Dpf_osfp.c130 if ((ip->ip_off & htons(IP_OFFMASK)) != 0)
H A Dpf.c6642 if (h2.ip_off & htons(IP_OFFMASK)) {
7482 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3;
8165 if (h->ip_off & htons(IP_MF | IP_OFFMASK)) {
/darwin-on-arm/xnu/bsd/netinet6/
H A Dipsec.c1038 if (ip.ip_off & (IP_MF | IP_OFFMASK))
2292 ip->ip_off &= htons(~IP_OFFMASK);
2385 ip->ip_off &= htons(~IP_OFFMASK);

Completed in 76 milliseconds