Home
last modified time | relevance | path

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

/third_party/lwip/src/core/ipv4/
Dip4.c383 if ((IPH_OFFSET(iphdr) & PP_NTOHS(IP_DF)) == 0) {
678 if ((IPH_OFFSET(iphdr) & PP_HTONS(IP_OFFMASK | IP_MF)) != 0) {
681 …en, lwip_ntohs(IPH_LEN(iphdr)), (u16_t)!!(IPH_OFFSET(iphdr) & PP_HTONS(IP_MF)), (u16_t)((lwip_ntoh…
692 lwip_ntohs(IPH_OFFSET(iphdr))));
1153 (u16_t)(lwip_ntohs(IPH_OFFSET(iphdr)) >> 15 & 1),
1154 (u16_t)(lwip_ntohs(IPH_OFFSET(iphdr)) >> 14 & 1),
1155 (u16_t)(lwip_ntohs(IPH_OFFSET(iphdr)) >> 13 & 1),
1156 (u16_t)(lwip_ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK)));
Dip4_frag.c594 if (((lwip_ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) == 0) && in ip4_reass()
595 ((lwip_ntohs(IPH_OFFSET(&ipr->iphdr)) & IP_OFFMASK) != 0)) { in ip4_reass()
608 is_last = (IPH_OFFSET(fraghdr) & PP_NTOHS(IP_MF)) == 0; in ip4_reass()
787 tmp = lwip_ntohs(IPH_OFFSET(iphdr)); in ip4_frag()
/third_party/lwip/src/include/lwip/prot/
Dip4.h112 #define IPH_OFFSET(hdr) ((hdr)->_offset) macro
113 #define IPH_OFFSET_BYTES(hdr) ((u16_t)((lwip_ntohs(IPH_OFFSET(hdr)) & IP_OFFMASK) * 8U))
/third_party/lwip/src/netif/ppp/
Dvj.c187 if ((IPH_OFFSET(ip) & PP_HTONS(0x3fff)) || np->tot_len < 40) { in vj_compress_tcp()
/third_party/lwip/
D0002-adapt-lstack.patch2091 if ((IPH_OFFSET(iphdr) & PP_NTOHS(IP_DF)) == 0) {