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

TCP_HLEN macro

Syntax

#define TCP_HLEN 20

References

LocationText
tcp.h:47
#define TCP_HLEN 20
tcp.c:2283
offset = IP_HLEN + TCP_HLEN;
tcp_in.c:145
if (p->len < TCP_HLEN) {
tcp_in.c:176
if ((hdrlen_bytes < TCP_HLEN) || (hdrlen_bytes > p->tot_len)) {
tcp_in.c:184
tcphdr_optlen = (u16_t)(hdrlen_bytes - TCP_HLEN);
tcp_in.c:197
pbuf_remove_header(p, TCP_HLEN);
tcp_in.c:1892
u8_t *opts = (u8_t *)tcphdr + TCP_HLEN;
tcp_out.c:190
if (pbuf_add_header(p, TCP_HLEN)) {
tcp_out.c:1825
tcp_out.c:1828
(p->len >= TCP_HLEN + optlen));
tcp_out.c:2169
char *d = ((char *)p->payload + TCP_HLEN);