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

IPH_LEN_SET macro

Syntax

#define IPH_LEN_SET(hdr, len) (hdr)->_len = (len)

Arguments

hdr

len

References

LocationText
ip4.h:119
#define IPH_LEN_SET(hdr, len) (hdr)->_len = (len)
ip4.c:925
IPH_LEN_SET(iphdr, lwip_htons(p->tot_len));
ip4_frag.c:629
IPH_LEN_SET(fraghdr, lwip_htons(datagram_len));
ip4_frag.c:861
IPH_LEN_SET(iphdr, lwip_htons((u16_t)(fragsize + IP_HLEN)));