Home
last modified time | relevance | path

Searched refs:IPH_OFFSET (Results 1 – 4 of 4) sorted by relevance

/external/syslinux/core/lwip/src/core/ipv4/
Dip.c437 if ((IPH_OFFSET(iphdr) & PP_HTONS(IP_OFFMASK | IP_MF)) != 0) {
440 …D(iphdr)), p->tot_len, ntohs(IPH_LEN(iphdr)), !!(IPH_OFFSET(iphdr) & PP_HTONS(IP_MF)), (ntohs(IPH_…
451 ntohs(IPH_OFFSET(iphdr))));
834 ntohs(IPH_OFFSET(iphdr)) >> 15 & 1,
835 ntohs(IPH_OFFSET(iphdr)) >> 14 & 1,
836 ntohs(IPH_OFFSET(iphdr)) >> 13 & 1,
837 ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK));
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()
558 if ((IPH_OFFSET(fraghdr) & PP_NTOHS(IP_MF)) == 0) { in ip_reass()
714 tmp = ntohs(IPH_OFFSET(iphdr)); in ip_frag()
/external/syslinux/core/lwip/src/include/ipv4/lwip/
Dip.h149 #define IPH_OFFSET(hdr) ((hdr)->_offset) macro
/external/syslinux/core/lwip/src/netif/ppp/
Dvj.c163 if ((IPH_OFFSET(ip) & PP_HTONS(0x3fff)) || pb->tot_len < 40) { in vj_compress_tcp()