Home
last modified time | relevance | path

Searched refs:tcp_hdr (Results 1 – 14 of 14) sorted by relevance

/third_party/lwip/test/unit/tcp/
Dtcp_helper.c53 struct tcp_hdr* tcphdr; in tcp_create_segment_wnd()
54 u16_t pbuf_len = (u16_t)(sizeof(struct ip_hdr) + sizeof(struct tcp_hdr) + data_len); in tcp_create_segment_wnd()
60 EXPECT_RETNULL(p->len >= (sizeof(struct ip_hdr) + sizeof(struct tcp_hdr))); in tcp_create_segment_wnd()
63 EXPECT_RETNULL(p->len > (sizeof(struct ip_hdr) + sizeof(struct tcp_hdr))); in tcp_create_segment_wnd()
82 tcphdr = (struct tcp_hdr*)p->payload; in tcp_create_segment_wnd()
87 TCPH_HDRLEN_SET(tcphdr, sizeof(struct tcp_hdr)/4); in tcp_create_segment_wnd()
93 pbuf_header(p, -(s16_t)sizeof(struct tcp_hdr)); in tcp_create_segment_wnd()
97 pbuf_header(p, sizeof(struct tcp_hdr)); in tcp_create_segment_wnd()
Dtest_tcp.c367 struct tcp_hdr tcphdr; in START_TEST()
390 struct tcp_hdr *hdr; in START_TEST()
411 hdr = (struct tcp_hdr *)p->payload; in START_TEST()
479 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data1) + sizeof(struct tcp_hdr) + sizeof(struct ip_hd… in START_TEST()
493 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data2) + sizeof(struct tcp_hdr) + sizeof(struct ip_hd… in START_TEST()
983 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data1a) + sizeof(data1b) + sizeof(struct tcp_hdr) + s… in START_TEST()
999 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data2a) + sizeof(data2b) + sizeof(struct tcp_hdr) + s… in START_TEST()
1026 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data3) + sizeof(struct tcp_hdr) + sizeof(struct ip_hd… in START_TEST()
1042 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data2a) + sizeof(data2b) + sizeof(struct tcp_hdr) + s… in START_TEST()
1056 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data3) + sizeof(data4) + sizeof(struct tcp_hdr) + siz… in START_TEST()
/third_party/lwip/src/netif/ppp/
Dvj.c167 struct tcp_hdr *oth; in vj_compress_tcp()
168 struct tcp_hdr *th; in vj_compress_tcp()
190 th = (struct tcp_hdr *)&((struct vj_u32_t*)ip)[ilen]; in vj_compress_tcp()
274 oth = (struct tcp_hdr *)&((struct vj_u32_t*)&cs->cs_ip)[ilen]; in vj_compress_tcp()
468 || hlen + sizeof(struct tcp_hdr) > nb->len in vj_uncompress_uncomp()
469 || (hlen += TCPH_HDRLEN_BYTES((struct tcp_hdr *)&((char *)ip)[hlen])) in vj_uncompress_uncomp()
500 struct tcp_hdr *th; in vj_uncompress_tcp()
536 th = (struct tcp_hdr *)&((u8_t*)&cs->cs_ip)[hlen]; in vj_uncompress_tcp()
/third_party/lwip/src/core/
Dtcp_out.c208 seg->tcphdr = (struct tcp_hdr *)seg->p->payload; in tcp_create_segment()
1835 struct tcp_hdr *tcphdr; in tcp_output_alloc_header_common()
1842 tcphdr = (struct tcp_hdr *)p->payload; in tcp_output_alloc_header_common()
1887 struct tcp_hdr *tcphdr; in tcp_output_fill_options()
1893 tcphdr = (struct tcp_hdr *)p->payload; in tcp_output_fill_options()
1949 struct tcp_hdr *tcphdr = (struct tcp_hdr *)p->payload; in tcp_output_control_segment()
2133 struct tcp_hdr *tcphdr; in tcp_zero_window_probe()
2175 tcphdr = (struct tcp_hdr *)p->payload; in tcp_zero_window_probe()
Dtcp_in.c75 static struct tcp_hdr *tcphdr;
141 tcphdr = (struct tcp_hdr *)p->payload;
Dtcp.c2586 tcp_debug_print(struct tcp_hdr *tcphdr)
/third_party/lwip/src/include/lwip/prot/
Dtcp.h56 struct tcp_hdr { struct
/third_party/lwip/src/include/lwip/priv/
Dtcp_priv.h273 struct tcp_hdr *tcphdr; /* the TCP header */
495 void tcp_debug_print(struct tcp_hdr *tcphdr);
/third_party/lwip/
D0074-gazelle-offloads-are-registered-to-lwip.patch152 struct tcp_hdr *tcphdr = (struct tcp_hdr *)p->payload;
D0041-optimite-pcb-list-limit-send-size-and-ack-now.patch324 struct tcp_hdr *tcphdr = (struct tcp_hdr *)p->payload;
D0056-fix-tso-small-packet-drop-in-kernel-server.patch87 + _seg->tcphdr = (struct tcp_hdr *)_seg->p->payload; \
D0023-refactor-event-and-checksum-offload-support.patch402 struct tcp_hdr *tcphdr = (struct tcp_hdr *)p->payload;
D0038-add-tso.patch123 + seg->tcphdr = (struct tcp_hdr *)seg->p->payload;
D0002-adapt-lstack.patch2659 -static struct tcp_hdr *tcphdr;
2674 +static PER_THREAD struct tcp_hdr *tcphdr;