Searched refs:tcp_hdr (Results 1 – 14 of 14) sorted by relevance
53 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()
367 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()
167 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()
208 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()
75 static struct tcp_hdr *tcphdr;141 tcphdr = (struct tcp_hdr *)p->payload;
2586 tcp_debug_print(struct tcp_hdr *tcphdr)
56 struct tcp_hdr { struct
273 struct tcp_hdr *tcphdr; /* the TCP header */495 void tcp_debug_print(struct tcp_hdr *tcphdr);
152 struct tcp_hdr *tcphdr = (struct tcp_hdr *)p->payload;
324 struct tcp_hdr *tcphdr = (struct tcp_hdr *)p->payload;
87 + _seg->tcphdr = (struct tcp_hdr *)_seg->p->payload; \
402 struct tcp_hdr *tcphdr = (struct tcp_hdr *)p->payload;
123 + seg->tcphdr = (struct tcp_hdr *)seg->p->payload;
2659 -static struct tcp_hdr *tcphdr;2674 +static PER_THREAD struct tcp_hdr *tcphdr;