IPH_OFFSET is only used within LwIP.
 
Symbols
loading...
Files
loading...

IPH_OFFSET macro

Syntax

#define IPH_OFFSET(hdr) ((hdr)->_offset)

Arguments

hdr

References

LocationText
ip4.h:110
#define IPH_OFFSET(hdr) ((hdr)->_offset)
ip4.c:637
if ((IPH_OFFSET(iphdr) & PP_HTONS(IP_OFFMASK | IP_MF)) != 0) {
ip4.h:111
#define IPH_OFFSET_BYTES(hdr) ((u16_t)((lwip_ntohs(IPH_OFFSET(hdr)) & IP_OFFMASK) * 8U))
ip4_frag.c:574
if (((lwip_ntohs(IPH_OFFSET(fraghdr)) & IP_OFFMASK) == 0) &&
ip4_frag.c:575
((lwip_ntohs(IPH_OFFSET(&ipr->iphdr)) & IP_OFFMASK) != 0)) {
ip4_frag.c:588
is_last = (IPH_OFFSET(fraghdr) & PP_NTOHS(IP_MF)) == 0;
ip4_frag.c:767
tmp = lwip_ntohs(IPH_OFFSET(iphdr));