Searched refs:IP_OFFMASK (Results 1 – 11 of 11) sorted by relevance
60 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
377 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()383 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()389 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()
89 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
228 if(ip->ip_off & IP_OFFMASK) goto end_error; /* Only reply to fragment 0 */ in icmp_error()
91 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
230 if(ip->ip_off & IP_OFFMASK) goto end_error; /* Only reply to fragment 0 */ in icmp_error()
62 printf("offset = %x\n",frag_flags & IP_OFFMASK); in dump_ip()
181 return ntohs(ip->frag_off) & (IP_OFFMASK | IP_MF); in is_ipv4_fragment()194 return ntohs(ip->frag_off) & IP_OFFMASK; in ipv4_fragment_offset()
181 uint16_t frag_off = frag_flags & IP_OFFMASK; in maybe_fill_frag_header()
2154 #define IP_OFFMASK 0x1fff macro2185 if ((get_ipoff(pkt) & IP_OFFMASK) != 0)
373 #define IP_OFFMASK 0x1fff macro