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

TCPH_FLAGS macro

Syntax

#define TCPH_FLAGS(phdr) ((u8_t)((lwip_ntohs((phdr)->_hdrlen_rsvd_flags) & TCP_FLAGS)))

Arguments

phdr

References

LocationText
tcp.h:87
#define TCPH_FLAGS(phdr) ((u8_t)((lwip_ntohs((phdr)->_hdrlen_rsvd_flags) & TCP_FLAGS)))
tcp_in.c:234
flags = TCPH_FLAGS(tcphdr);
tcp_in.c:576
if (!(TCPH_FLAGS(tcphdr) & TCP_RST)) {
tcp_in.c:1470
if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) {
tcp_in.c:1473
TCPH_FLAGS_SET(inseg.tcphdr, TCPH_FLAGS(inseg.tcphdr) & ~(unsigned int)TCP_FIN);
tcp_in.c:1478
if (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) {
tcp_in.c:1564
if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) {
tcp_out.c:901
split_flags = TCPH_FLAGS(useg->tcphdr);
tcp_out.c:1011
if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) {
tcp_out.c:1335
(TCPH_FLAGS(seg->tcphdr) & TCP_RST) == 0);
tcp_out.c:2153
is_fin = ((TCPH_FLAGS(seg->tcphdr) & TCP_FIN) != 0) && (seg->len == 0);
tcp_priv.h:155
#define TCP_TCPLEN(seg) ((seg)->len + (((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0) ? 1U : 0U))