Home
last modified time | relevance | path

Searched refs:tcphdr (Results 1 – 4 of 4) sorted by relevance

/lk-master/external/lib/lwip/core/
A Dtcp_in.c156 tcphdr->src = ntohs(tcphdr->src); in tcp_input()
157 tcphdr->dest = ntohs(tcphdr->dest); in tcp_input()
158 seqno = tcphdr->seqno = ntohl(tcphdr->seqno); in tcp_input()
159 ackno = tcphdr->ackno = ntohl(tcphdr->ackno); in tcp_input()
160 tcphdr->wnd = ntohs(tcphdr->wnd); in tcp_input()
283 inseg.tcphdr = tcphdr; in tcp_input()
413 tcphdr->dest, tcphdr->src); in tcp_input()
457 ip_current_src_addr(), tcphdr->dest, tcphdr->src); in tcp_listen_input()
546 tcphdr->dest, tcphdr->src); in tcp_timewait_input()
680 tcphdr->dest, tcphdr->src); in tcp_process()
[all …]
A Dtcp_out.c97 struct tcp_hdr *tcphdr; in tcp_output_alloc_header() local
109 tcphdr->chksum = 0; in tcp_output_alloc_header()
110 tcphdr->urgp = 0; in tcp_output_alloc_header()
198 seg->tcphdr->urgp = 0; in tcp_create_segment()
845 struct tcp_hdr *tcphdr; in tcp_send_empty_ack() local
1010 if (TCP_SEQ_LT(ntohl(seg->tcphdr->seqno), ntohl(useg->tcphdr->seqno))) { in tcp_output()
1112 htonl(seg->tcphdr->seqno), htonl(seg->tcphdr->seqno) + in tcp_output_segment()
1200 struct tcp_hdr *tcphdr; in tcp_rst() local
1216 tcphdr->chksum = 0; in tcp_rst()
1217 tcphdr->urgp = 0; in tcp_rst()
[all …]
A Dtcp.c1622 ntohs(tcphdr->src), ntohs(tcphdr->dest))); in tcp_debug_print()
1625 ntohl(tcphdr->seqno))); in tcp_debug_print()
1628 ntohl(tcphdr->ackno))); in tcp_debug_print()
1631 TCPH_HDRLEN(tcphdr), in tcp_debug_print()
1632 TCPH_FLAGS(tcphdr) >> 5 & 1, in tcp_debug_print()
1633 TCPH_FLAGS(tcphdr) >> 4 & 1, in tcp_debug_print()
1634 TCPH_FLAGS(tcphdr) >> 3 & 1, in tcp_debug_print()
1635 TCPH_FLAGS(tcphdr) >> 2 & 1, in tcp_debug_print()
1637 TCPH_FLAGS(tcphdr) & 1, in tcp_debug_print()
1638 ntohs(tcphdr->wnd))); in tcp_debug_print()
[all …]
/lk-master/external/lib/lwip/include/lwip/
A Dtcp_impl.h184 #define TCP_TCPLEN(seg) ((seg)->len + ((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0))
295 struct tcp_hdr *tcphdr; /* the TCP header */ member
462 void tcp_debug_print(struct tcp_hdr *tcphdr);
468 # define tcp_debug_print(tcphdr) argument

Completed in 11 milliseconds