Searched refs:tcp_hdr (Results 1 – 7 of 7) sorted by relevance
47 struct tcp_hdr* tcphdr; in tcp_create_segment_wnd()48 u16_t pbuf_len = (u16_t)(sizeof(struct ip_hdr) + sizeof(struct tcp_hdr) + data_len); in tcp_create_segment_wnd()53 EXPECT_RETNULL(p->len >= (sizeof(struct ip_hdr) + sizeof(struct tcp_hdr))); in tcp_create_segment_wnd()56 EXPECT_RETNULL(p->len > (sizeof(struct ip_hdr) + sizeof(struct tcp_hdr))); in tcp_create_segment_wnd()80 TCPH_HDRLEN_SET(tcphdr, sizeof(struct tcp_hdr)/4); in tcp_create_segment_wnd()86 pbuf_header(p, -(s16_t)sizeof(struct tcp_hdr)); in tcp_create_segment_wnd()90 pbuf_header(p, sizeof(struct tcp_hdr)); in tcp_create_segment_wnd()
162 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data1) + sizeof(struct tcp_hdr) + sizeof(struct ip_hd… in START_TEST()176 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data2) + sizeof(struct tcp_hdr) + sizeof(struct ip_hd… in START_TEST()
143 register struct tcp_hdr *oth; in vj_compress_tcp()144 register struct tcp_hdr *th; in vj_compress_tcp()166 th = (struct tcp_hdr *)&((long *)ip)[hlen]; in vj_compress_tcp()237 oth = (struct tcp_hdr *)&((long *)&cs->cs_ip)[hlen]; in vj_compress_tcp()436 || hlen + sizeof(struct tcp_hdr) > nb->len in vj_uncompress_uncomp()437 || (hlen += TCPH_HDRLEN(((struct tcp_hdr *)&((char *)ip)[hlen])) << 2) in vj_uncompress_uncomp()467 struct tcp_hdr *th; in vj_uncompress_tcp()503 th = (struct tcp_hdr *)&((u_char *)&cs->cs_ip)[hlen]; in vj_uncompress_tcp()
97 struct tcp_hdr *tcphdr; in tcp_output_alloc_header()102 tcphdr = (struct tcp_hdr *)p->payload; in tcp_output_alloc_header()191 seg->tcphdr = (struct tcp_hdr *)seg->p->payload; in tcp_create_segment()845 struct tcp_hdr *tcphdr; in tcp_send_empty_ack()859 tcphdr = (struct tcp_hdr *)p->payload; in tcp_send_empty_ack()1200 struct tcp_hdr *tcphdr; in tcp_rst()1207 (p->len >= sizeof(struct tcp_hdr))); in tcp_rst()1209 tcphdr = (struct tcp_hdr *)p->payload; in tcp_rst()1367 struct tcp_hdr *tcphdr; in tcp_keepalive()1382 tcphdr = (struct tcp_hdr *)p->payload; in tcp_keepalive()[all …]
63 static struct tcp_hdr *tcphdr;109 tcphdr = (struct tcp_hdr *)((u8_t *)p->payload + IPH_HL(iphdr) * 4); in tcp_input()116 if (pbuf_header(p, -((s16_t)(IPH_HL(iphdr) * 4))) || (p->tot_len < sizeof(struct tcp_hdr))) { in tcp_input()
1617 tcp_debug_print(struct tcp_hdr *tcphdr) in tcp_debug_print()
159 struct tcp_hdr { struct295 struct tcp_hdr *tcphdr; /* the TCP header */462 void tcp_debug_print(struct tcp_hdr *tcphdr);