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

IP_HLEN macro

Syntax

#define IP_HLEN 20

References

LocationText
ip4.h:64
#define IP_HLEN 20
icmp.c:96
if (hlen < IP_HLEN) {
icmp.c:353
icmp.c:361
(q->len >= (sizeof(struct icmp_echo_hdr) + IP_HLEN + ICMP_DEST_UNREACH_DATASIZE)));
icmp.c:378
ip4.c:474
if ((iphdr_hlen > p->len) || (iphdr_len > p->tot_len) || (iphdr_hlen < IP_HLEN)) {
ip4.c:475
if (iphdr_hlen < IP_HLEN) {
ip4.c:858
u16_t ip_hlen = IP_HLEN;
ip4.c:895
if (pbuf_add_header(p, IP_HLEN)) {
ip4.c:967
if (p->len < IP_HLEN) {
ip4_frag.c:185
SMEMCPY(p->payload, &ipr->iphdr, IP_HLEN);
ip4_frag.c:308
SMEMCPY(&(ipr->iphdr), fraghdr, IP_HLEN);
ip4_frag.c:368
sizeof(struct ip_reass_helper) <= IP_HLEN);
ip4_frag.c:519
if (IPH_HL_BYTES(fraghdr) != IP_HLEN) {
ip4_frag.c:580
SMEMCPY(&ipr->iphdr, fraghdr, IP_HLEN);
ip4_frag.c:591
if ((datagram_len < offset) || (datagram_len > (0xFFFF - IP_HLEN))) {
ip4_frag.c:621
u16_t datagram_len = (u16_t)(ipr->datagram_len + IP_HLEN);
ip4_frag.c:628
SMEMCPY(fraghdr, &ipr->iphdr, IP_HLEN);
ip4_frag.c:646
pbuf_remove_header(r, IP_HLEN);
ip4_frag.c:750
const u16_t nfb = (u16_t)((netif->mtu - IP_HLEN) / 8);
ip4_frag.c:754
u16_t poff = IP_HLEN;
ip4_frag.c:760
if (IPH_HL_BYTES(iphdr) != IP_HLEN) {
ip4_frag.c:764
LWIP_ERROR("ip4_frag(): pbuf too short", p->len >= IP_HLEN, return ERR_VAL);
ip4_frag.c:772
left = (u16_t)(p->tot_len - IP_HLEN);
ip4_frag.c:800
rambuf = pbuf_alloc(PBUF_LINK, IP_HLEN, PBUF_RAM);
ip4_frag.c:805
(rambuf->len >= (IP_HLEN)));
ip4_frag.c:806
SMEMCPY(rambuf->payload, original_iphdr, IP_HLEN);
ip4_frag.c:852
last = (left <= netif->mtu - IP_HLEN);
ip4_frag.c:861
IPH_LEN_SET(iphdr, lwip_htons((u16_t)(fragsize + IP_HLEN)));
tcp.c:2283
offset = IP_HLEN + TCP_HLEN;