Home
last modified time | relevance | path

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

/external/syslinux/core/lwip/src/core/ipv4/
Dip_frag.c342 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()
Dip.c437 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));
/external/tcpdump/
Dip.h62 #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ macro
Dprint-ip.c397 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()
/external/syslinux/core/lwip/src/include/ipv4/lwip/
Dip.h128 #define IP_OFFMASK 0x1fffU /* mask for fragmenting bits */ macro
/external/android-clat/
Ddump.c62 printf("offset = %x\n",frag_flags & IP_OFFMASK); in dump_ip()
Dclatd_test.cpp181 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()
Dtranslate.c181 uint16_t frag_off = frag_flags & IP_OFFMASK; in maybe_fill_frag_header()
/external/syslinux/core/lwip/src/netif/ppp/
Dipcp.c1365 #define IP_OFFMASK 0x1fff macro
1393 if ((get_ipoff(pkt) & IP_OFFMASK) != 0) { in ip_active_pkt()
/external/ppp/pppd/
Dipcp.c2271 #define IP_OFFMASK 0x1fff macro
2302 if ((get_ipoff(pkt) & IP_OFFMASK) != 0)