Searched refs:tcp_hdr (Results 1 – 8 of 8) 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()
56 struct tcp_hdr { struct
196 seg->tcphdr = (struct tcp_hdr *)seg->p->payload; in tcp_create_segment()1823 struct tcp_hdr *tcphdr; in tcp_output_alloc_header_common()1830 tcphdr = (struct tcp_hdr *)p->payload; in tcp_output_alloc_header_common()1875 struct tcp_hdr *tcphdr; in tcp_output_fill_options()1881 tcphdr = (struct tcp_hdr *)p->payload; in tcp_output_fill_options()1937 struct tcp_hdr *tcphdr = (struct tcp_hdr *)p->payload; in tcp_output_control_segment()2121 struct tcp_hdr *tcphdr; in tcp_zero_window_probe()2163 tcphdr = (struct tcp_hdr *)p->payload; in tcp_zero_window_probe()
75 static struct tcp_hdr *tcphdr;138 tcphdr = (struct tcp_hdr *)p->payload;
2409 tcp_debug_print(struct tcp_hdr *tcphdr) in tcp_debug_print()
273 struct tcp_hdr *tcphdr; /* the TCP header */490 void tcp_debug_print(struct tcp_hdr *tcphdr);