Searched refs:tcp_hdr (Results 1 – 12 of 12) sorted by relevance
| /lib/lwip/lwip/contrib/addons/tcp_md5/ |
| A D | tcp_md5.c | 232 tcp_md5_options_singlebuf(struct tcp_hdr *hdr, u16_t optlen, u16_t opt1len, u8_t *opt2) in tcp_md5_options_singlebuf() 256 tcp_md5_create_digest(const ip_addr_t *ip_src, const ip_addr_t *ip_dst, const struct tcp_hdr *hdr, in tcp_md5_create_digest() 283 md5_update(&ctx, (const unsigned char*)hdr, sizeof(struct tcp_hdr)); in tcp_md5_create_digest() 301 tcp_md5_dup_tcphdr(struct tcp_hdr *tcphdr_copy, const struct tcp_hdr *tcphdr_in, int tcphdr_in_is_h… in tcp_md5_dup_tcphdr() 303 memcpy(tcphdr_copy, tcphdr_in, sizeof(struct tcp_hdr)); in tcp_md5_dup_tcphdr() 352 tcp_md5_check_listen(struct tcp_pcb_listen* lpcb, struct tcp_hdr *hdr, u16_t optlen, u16_t opt1len,… in tcp_md5_check_listen() 365 struct tcp_hdr tcphdr_copy; in tcp_md5_check_listen() 386 tcp_md5_check_inpacket(struct tcp_pcb* pcb, struct tcp_hdr *hdr, u16_t optlen, u16_t opt1len, u8_t … in tcp_md5_check_inpacket() 403 struct tcp_hdr hdr_copy; in tcp_md5_check_inpacket() 424 tcp_md5_add_tx_options(struct pbuf *p, struct tcp_hdr *hdr, const struct tcp_pcb *pcb, u32_t *opts) in tcp_md5_add_tx_options() [all …]
|
| A D | tcp_md5.h | 76 err_t tcp_md5_check_inpacket(struct tcp_pcb* pcb, struct tcp_hdr *hdr, u16_t optlen, u16_t opt1len,… 78 u32_t *tcp_md5_add_tx_options(struct pbuf *p, struct tcp_hdr *hdr, const struct tcp_pcb *pcb, u32_t…
|
| /lib/lwip/lwip/test/unit/tcp/ |
| A D | tcp_helper.c | 58 struct tcp_hdr* tcphdr; in tcp_create_segment_wnd() 59 u16_t pbuf_len = (u16_t)(sizeof(struct ip_hdr) + sizeof(struct tcp_hdr) + data_len); in tcp_create_segment_wnd() 65 EXPECT_RETNULL(p->len >= (sizeof(struct ip_hdr) + sizeof(struct tcp_hdr))); in tcp_create_segment_wnd() 68 EXPECT_RETNULL(p->len > (sizeof(struct ip_hdr) + sizeof(struct tcp_hdr))); in tcp_create_segment_wnd() 87 tcphdr = (struct tcp_hdr*)p->payload; in tcp_create_segment_wnd() 92 TCPH_HDRLEN_SET(tcphdr, sizeof(struct tcp_hdr)/4); in tcp_create_segment_wnd() 98 pbuf_header(p, -(s16_t)sizeof(struct tcp_hdr)); in tcp_create_segment_wnd() 102 pbuf_header(p, sizeof(struct tcp_hdr)); in tcp_create_segment_wnd()
|
| A D | test_tcp_state.c | 37 struct tcp_hdr tcphdr; in get_tcp_flags_from_packet() 40 EXPECT_RETX(p->len >= tcp_hdr_offset + sizeof(struct tcp_hdr), 0); in get_tcp_flags_from_packet() 41 ret = pbuf_copy_partial(p, &tcphdr, sizeof(struct tcp_hdr), tcp_hdr_offset); in get_tcp_flags_from_packet() 42 EXPECT(ret == sizeof(struct tcp_hdr)); in get_tcp_flags_from_packet() 227 struct tcp_hdr tcphdr; in START_TEST()
|
| A D | test_tcp.c | 368 struct tcp_hdr tcphdr; in START_TEST() 391 struct tcp_hdr *hdr; in START_TEST() 412 hdr = (struct tcp_hdr *)p->payload; in START_TEST() 480 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data1) + sizeof(struct tcp_hdr) + sizeof(struct ip_hd… in START_TEST() 494 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data2) + sizeof(struct tcp_hdr) + sizeof(struct ip_hd… in START_TEST() 986 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data1a) + sizeof(data1b) + sizeof(struct tcp_hdr) + s… in START_TEST() 1002 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data2a) + sizeof(data2b) + sizeof(struct tcp_hdr) + s… in START_TEST() 1029 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data3) + sizeof(struct tcp_hdr) + sizeof(struct ip_hd… in START_TEST() 1045 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data2a) + sizeof(data2b) + sizeof(struct tcp_hdr) + s… in START_TEST() 1059 …EXPECT_RET(txcounters.num_tx_bytes == sizeof(data3) + sizeof(data4) + sizeof(struct tcp_hdr) + siz… in START_TEST()
|
| /lib/lwip/lwip/src/netif/ppp/ |
| A D | vj.c | 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()
|
| /lib/lwip/lwip/src/include/lwip/prot/ |
| A D | tcp.h | 56 struct tcp_hdr { struct
|
| /lib/lwip/lwip/src/core/ |
| A D | tcp_out.c | 199 seg->tcphdr = (struct tcp_hdr *)seg->p->payload; in tcp_create_segment() 1818 struct tcp_hdr *tcphdr; in tcp_output_alloc_header_common() 1825 tcphdr = (struct tcp_hdr *)p->payload; in tcp_output_alloc_header_common() 1870 struct tcp_hdr *tcphdr; in tcp_output_fill_options() 1876 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_netif() 2179 struct tcp_hdr *tcphdr; in tcp_zero_window_probe() 2221 tcphdr = (struct tcp_hdr *)p->payload; in tcp_zero_window_probe()
|
| A D | tcp_in.c | 75 static struct tcp_hdr *tcphdr; 138 tcphdr = (struct tcp_hdr *)p->payload;
|
| A D | tcp.c | 2415 tcp_debug_print(struct tcp_hdr *tcphdr) in tcp_debug_print()
|
| /lib/lwip/lwip/src/include/lwip/priv/ |
| A D | tcp_priv.h | 270 struct tcp_hdr *tcphdr; /* the TCP header */ 490 void tcp_debug_print(struct tcp_hdr *tcphdr);
|
| /lib/lwip/lwip/src/core/ipv4/ |
| A D | ip4.c | 357 ((struct tcp_hdr *)((u8_t *)iphdr + IPH_HL_BYTES(iphdr)))->chksum = 0; in ip4_forward()
|
Completed in 27 milliseconds