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

IP_OFFMASK macro

Syntax

#define IP_OFFMASK 0x1fffU

References

LocationText
ip4.h:87
#define IP_OFFMASK 0x1fffU /* mask for fragmenting bits */
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:768
ofo = tmp & IP_OFFMASK;
ip4_frag.c:855
tmp = (IP_OFFMASK & (ofo));