Home
last modified time | relevance | path

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

/lib/liblwip/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.c507 if ((IPH_OFFSET(iphdr) & PP_HTONS(IP_OFFMASK | IP_MF)) != 0) {
510 …_LEN(iphdr)), !!(IPH_OFFSET(iphdr) & PP_HTONS(IP_MF)), (ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK)*8));
904 ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK));
/lib/liblwip/src/include/ipv4/lwip/
Dip.h130 #define IP_OFFMASK 0x1fffU /* mask for fragmenting bits */ macro
/lib/liblwip/src/netif/ppp/
Dipcp.c1365 #define IP_OFFMASK 0x1fff macro
1393 if ((get_ipoff(pkt) & IP_OFFMASK) != 0) { in ip_active_pkt()