Home
last modified time | relevance | path

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

/components/net/lwip/lwip-2.1.2/src/include/lwip/prot/
A Dip4.h87 #define IP_OFFMASK 0x1fffU /* mask for fragmenting bits */ macro
111 #define IPH_OFFSET_BYTES(hdr) ((u16_t)((lwip_ntohs(IPH_OFFSET(hdr)) & IP_OFFMASK) * 8U))
/components/net/lwip/lwip-2.0.3/src/core/ipv4/
A Dip4_frag.c355 offset = (lwip_ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) * 8; in ip_reass_chain_frag_into_datagram_and_validate()
519 offset = (lwip_ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) * 8; in ip4_reass()
562 if (((lwip_ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) == 0) && in ip4_reass()
563 ((lwip_ntohs(IPH_OFFSET(&ipr->iphdr)) & IP_OFFMASK) != 0)) { in ip4_reass()
741 ofo = tmp & IP_OFFMASK; in ip4_frag()
826 tmp = (IP_OFFMASK & (ofo)); in ip4_frag()
A Dip4.c613 if ((IPH_OFFSET(iphdr) & PP_HTONS(IP_OFFMASK | IP_MF)) != 0) {
616 …!!(IPH_OFFSET(iphdr) & PP_HTONS(IP_MF)), (u16_t)((lwip_ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK)*8)));
1064 (u16_t)(lwip_ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK)));
/components/net/lwip/lwip-1.4.1/src/core/ipv4/
A 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()
A Dip.c527 if ((IPH_OFFSET(iphdr) & PP_HTONS(IP_OFFMASK | IP_MF)) != 0) {
530 …_LEN(iphdr)), !!(IPH_OFFSET(iphdr) & PP_HTONS(IP_MF)), (ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK)*8));
931 ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK));
/components/net/lwip/lwip-2.1.2/src/core/ipv4/
A Dip4_frag.c574 if (((lwip_ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) == 0) && in ip4_reass()
575 ((lwip_ntohs(IPH_OFFSET(&ipr->iphdr)) & IP_OFFMASK) != 0)) { in ip4_reass()
768 ofo = tmp & IP_OFFMASK; in ip4_frag()
855 tmp = (IP_OFFMASK & (ofo)); in ip4_frag()
A Dip4.c637 if ((IPH_OFFSET(iphdr) & PP_HTONS(IP_OFFMASK | IP_MF)) != 0) {
640 …(IPH_OFFSET(iphdr) & PP_HTONS(IP_MF)), (u16_t)((lwip_ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK) * 8)));
1110 (u16_t)(lwip_ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK)));
/components/net/lwip/lwip-2.0.3/src/include/lwip/prot/
A Dip4.h85 #define IP_OFFMASK 0x1fffU /* mask for fragmenting bits */ macro
/components/net/lwip/lwip-1.4.1/src/include/ipv4/lwip/
A Dip.h130 #define IP_OFFMASK 0x1fffU /* mask for fragmenting bits */ macro
/components/net/lwip/lwip-1.4.1/src/netif/ppp/
A Dipcp.c1365 #define IP_OFFMASK 0x1fff macro
1393 if ((get_ipoff(pkt) & IP_OFFMASK) != 0) { in ip_active_pkt()
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Dipcp.c2373 #define IP_OFFMASK 0x1fff macro
2404 if ((get_ipoff(pkt) & IP_OFFMASK) != 0)
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Dipcp.c2373 #define IP_OFFMASK 0x1fff macro
2404 if ((get_ipoff(pkt) & IP_OFFMASK) != 0)

Completed in 24 milliseconds