Searched refs:IP_OFFMASK (Results 1 – 10 of 10) sorted by relevance
342 offset = (ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) * 8; in ip_reass_chain_frag_into_datagram_and_validate()497 offset = (ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) * 8; in ip_reass()541 if (((ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) == 0) && in ip_reass()542 ((ntohs(IPH_OFFSET(&ipr->iphdr)) & IP_OFFMASK) != 0)) { in ip_reass()715 ofo = tmp & IP_OFFMASK; in ip_frag()726 tmp = omf | (IP_OFFMASK & (ofo)); in ip_frag()
437 if ((IPH_OFFSET(iphdr) & PP_HTONS(IP_OFFMASK | IP_MF)) != 0) {440 …_LEN(iphdr)), !!(IPH_OFFSET(iphdr) & PP_HTONS(IP_MF)), (ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK)*8));837 ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK));
62 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
397 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()403 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()409 ipds->off & (IP_MF|IP_OFFMASK)); in ip_print_demux()
128 #define IP_OFFMASK 0x1fffU /* mask for fragmenting bits */ macro
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()
1365 #define IP_OFFMASK 0x1fff macro1393 if ((get_ipoff(pkt) & IP_OFFMASK) != 0) { in ip_active_pkt()
2271 #define IP_OFFMASK 0x1fff macro2302 if ((get_ipoff(pkt) & IP_OFFMASK) != 0)