| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | tcp_in.c | 158 seqno = tcphdr->seqno = ntohl(tcphdr->seqno); in tcp_input() 824 TCP_SEQ_GT(seqno + cseg->len, next->tcphdr->seqno)) { in tcp_oos_insert_segment() 826 cseg->len = (u16_t)(next->tcphdr->seqno - seqno); in tcp_oos_insert_segment() 1199 inseg.tcphdr->seqno = seqno = pcb->rcv_nxt; in tcp_receive() 1281 inseg.len = (u16_t)(next->tcphdr->seqno - seqno); in tcp_receive() 1288 (seqno + tcplen) == next->tcphdr->seqno); in tcp_receive() 1331 seqno = pcb->ooseq->tcphdr->seqno; in tcp_receive() 1389 if (seqno == next->tcphdr->seqno) { in tcp_receive() 1416 if (TCP_SEQ_LT(seqno, next->tcphdr->seqno)) { in tcp_receive() 1431 if (TCP_SEQ_BETWEEN(seqno, prev->tcphdr->seqno+1, next->tcphdr->seqno-1)) { in tcp_receive() [all …]
|
| A D | tcp_out.c | 105 tcphdr->seqno = seqno_be; in tcp_output_alloc_header() 194 seg->tcphdr->seqno = htonl(seqno); in tcp_create_segment() 610 ntohl(seg->tcphdr->seqno), in tcp_write() 783 ntohl(seg->tcphdr->seqno), in tcp_enqueue_flags() 1010 if (TCP_SEQ_LT(ntohl(seg->tcphdr->seqno), ntohl(useg->tcphdr->seqno))) { in tcp_output() 1014 TCP_SEQ_LT(ntohl((*cur_seg)->tcphdr->seqno), ntohl(seg->tcphdr->seqno))) { in tcp_output() 1107 pcb->rtseq = ntohl(seg->tcphdr->seqno); in tcp_output_segment() 1112 htonl(seg->tcphdr->seqno), htonl(seg->tcphdr->seqno) + in tcp_output_segment() 1195 tcp_rst(u32_t seqno, u32_t ackno, in tcp_rst() argument 1212 tcphdr->seqno = htonl(seqno); in tcp_rst() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | tcp_in.c | 214 seqno = tcphdr->seqno = lwip_ntohl(tcphdr->seqno); 993 TCP_SEQ_GT(seqno + cseg->len, next->tcphdr->seqno)) { 995 cseg->len = (u16_t)(next->tcphdr->seqno - seqno); 1365 inseg.tcphdr->seqno = seqno = pcb->rcv_nxt; 1448 inseg.len = (u16_t)(next->tcphdr->seqno - seqno); 1455 (seqno + tcplen) == next->tcphdr->seqno); 1498 seqno = pcb->ooseq->tcphdr->seqno; 1566 if (seqno == next->tcphdr->seqno) { 1593 if (TCP_SEQ_LT(seqno, next->tcphdr->seqno)) { 1608 if (TCP_SEQ_BETWEEN(seqno, prev->tcphdr->seqno+1, next->tcphdr->seqno-1)) { [all …]
|
| A D | tcp_out.c | 119 tcphdr->seqno = seqno_be; in tcp_output_alloc_header() 209 seg->tcphdr->seqno = lwip_htonl(seqno); in tcp_create_segment() 652 lwip_ntohl(seg->tcphdr->seqno), in tcp_write() 846 lwip_ntohl(seg->tcphdr->seqno), in tcp_enqueue_flags() 1148 if (TCP_SEQ_LT(lwip_ntohl(seg->tcphdr->seqno), lwip_ntohl(useg->tcphdr->seqno))) { in tcp_output() 1152 TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { in tcp_output() 1262 lwip_htonl(seg->tcphdr->seqno), lwip_htonl(seg->tcphdr->seqno) + in tcp_output_segment() 1344 tcp_rst(u32_t seqno, u32_t ackno, in tcp_rst() argument 1362 tcphdr->seqno = lwip_htonl(seqno); in tcp_rst() 1458 TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { in tcp_rexmit() [all …]
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | tcp_in.c | 230 seqno = tcphdr->seqno = lwip_ntohl(tcphdr->seqno); 1076 TCP_SEQ_GT(seqno + cseg->len, next->tcphdr->seqno)) { 1078 cseg->len = (u16_t)(next->tcphdr->seqno - seqno); 1443 inseg.tcphdr->seqno = seqno = pcb->rcv_nxt; 1526 inseg.len = (u16_t)(next->tcphdr->seqno - seqno); 1576 seqno = pcb->ooseq->tcphdr->seqno; 1674 … u32_t sackbeg = TCP_SEQ_LT(seqno, pcb->ooseq->tcphdr->seqno) ? seqno : pcb->ooseq->tcphdr->seqno; 1678 if (seqno == next->tcphdr->seqno) { 1705 if (TCP_SEQ_LT(seqno, next->tcphdr->seqno)) { 1720 if (TCP_SEQ_BETWEEN(seqno, prev->tcphdr->seqno + 1, next->tcphdr->seqno - 1)) { [all …]
|
| A D | tcp_out.c | 199 seg->tcphdr->seqno = lwip_htonl(seqno); in tcp_create_segment() 690 lwip_ntohl(seg->tcphdr->seqno), in tcp_write() 1095 lwip_ntohl(seg->tcphdr->seqno), in tcp_enqueue_flags() 1389 if (TCP_SEQ_LT(lwip_ntohl(seg->tcphdr->seqno), lwip_ntohl(useg->tcphdr->seqno))) { in tcp_output() 1393 … TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { in tcp_output() 1540 pcb->rtseq = lwip_ntohl(seg->tcphdr->seqno); in tcp_output_segment() 1545 lwip_htonl(seg->tcphdr->seqno), lwip_htonl(seg->tcphdr->seqno) + in tcp_output_segment() 1750 TCP_SEQ_LT(lwip_ntohl((*cur_seg)->tcphdr->seqno), lwip_ntohl(seg->tcphdr->seqno))) { in tcp_rexmit() 1793 lwip_ntohl(pcb->unacked->tcphdr->seqno))); in tcp_rexmit_fast() 1832 tcphdr->seqno = seqno_be; in tcp_output_alloc_header_common() [all …]
|
| /components/net/lwip/lwip-1.4.1/test/unit/tcp/ |
| A D | tcp_helper.c | 43 u32_t seqno, u32_t ackno, u8_t headerflags, u16_t wnd) in tcp_create_segment_wnd() argument 78 tcphdr->seqno = htonl(seqno); in tcp_create_segment_wnd() 107 u32_t seqno, u32_t ackno, u8_t headerflags) in tcp_create_segment() argument 110 data_len, seqno, ackno, headerflags, TCP_WND); in tcp_create_segment()
|
| A D | tcp_helper.h | 34 u32_t seqno, u32_t ackno, u8_t headerflags);
|
| /components/net/lwip/lwip-1.4.1/src/netif/ppp/ |
| A D | vj.c | 299 if ((deltaL = ntohl(th->seqno) - ntohl(oth->seqno)) != 0) { in vj_compress_tcp() 519 tmp = ntohl(th->seqno) + i; in vj_uncompress_tcp() 520 th->seqno = htonl(tmp); in vj_uncompress_tcp() 526 tmp = ntohl(th->seqno) + ntohs(IPH_LEN(&cs->cs_ip)) - cs->cs_hlen; in vj_uncompress_tcp() 527 th->seqno = htonl(tmp); in vj_uncompress_tcp() 544 DECODEL(th->seqno); in vj_uncompress_tcp()
|
| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | vj.c | 329 if ((deltaL = lwip_ntohl(th->seqno) - lwip_ntohl(oth->seqno)) != 0) { in vj_compress_tcp() 552 tmp = lwip_ntohl(th->seqno) + i; in vj_uncompress_tcp() 553 th->seqno = lwip_htonl(tmp); in vj_uncompress_tcp() 559 tmp = lwip_ntohl(th->seqno) + lwip_ntohs(IPH_LEN(&cs->cs_ip)) - cs->cs_hlen; in vj_uncompress_tcp() 560 th->seqno = lwip_htonl(tmp); in vj_uncompress_tcp() 577 DECODEL(th->seqno); in vj_uncompress_tcp()
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | vj.c | 334 if ((deltaL = lwip_ntohl(th->seqno) - lwip_ntohl(oth->seqno)) != 0) { in vj_compress_tcp() 556 tmp = lwip_ntohl(th->seqno) + i; in vj_uncompress_tcp() 557 th->seqno = lwip_htonl(tmp); in vj_uncompress_tcp() 563 tmp = lwip_ntohl(th->seqno) + lwip_ntohs(IPH_LEN(&cs->cs_ip)) - cs->cs_hlen; in vj_uncompress_tcp() 564 th->seqno = lwip_htonl(tmp); in vj_uncompress_tcp() 581 DECODEL(th->seqno); in vj_uncompress_tcp()
|
| /components/net/lwip/lwip-2.1.2/test/unit/tcp/ |
| A D | tcp_helper.c | 49 u32_t seqno, u32_t ackno, u8_t headerflags, u16_t wnd) in tcp_create_segment_wnd() argument 85 tcphdr->seqno = htonl(seqno); in tcp_create_segment_wnd() 114 u32_t seqno, u32_t ackno, u8_t headerflags) in tcp_create_segment() argument 117 data_len, seqno, ackno, headerflags, TCP_WND); in tcp_create_segment()
|
| /components/net/lwip/lwip-2.0.3/test/unit/tcp/ |
| A D | tcp_helper.c | 44 u32_t seqno, u32_t ackno, u8_t headerflags, u16_t wnd) in tcp_create_segment_wnd() argument 80 tcphdr->seqno = htonl(seqno); in tcp_create_segment_wnd() 109 u32_t seqno, u32_t ackno, u8_t headerflags) in tcp_create_segment() argument 112 data_len, seqno, ackno, headerflags, TCP_WND); in tcp_create_segment()
|
| /components/net/lwip/lwip-2.1.2/src/netif/ |
| A D | zepif.c | 91 u32_t seqno; member 200 zep->seq_num = lwip_htonl(state->seqno); in zepif_linkoutput() 201 state->seqno++; in zepif_linkoutput()
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/prot/ |
| A D | icmp.h | 74 PACK_STRUCT_FIELD(u16_t seqno);
|
| A D | icmp6.h | 159 PACK_STRUCT_FIELD(u16_t seqno);
|
| A D | tcp.h | 59 PACK_STRUCT_FIELD(u32_t seqno);
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/prot/ |
| A D | icmp.h | 74 PACK_STRUCT_FIELD(u16_t seqno);
|
| A D | icmp6.h | 159 PACK_STRUCT_FIELD(u16_t seqno);
|
| A D | tcp.h | 59 PACK_STRUCT_FIELD(u32_t seqno);
|
| /components/net/lwip/lwip-1.4.1/src/include/ipv6/lwip/ |
| A D | icmp.h | 76 u16_t seqno; member
|
| /components/net/lwip/lwip-2.0.3/src/apps/ping/ |
| A D | ping.c | 59 iecho->seqno = htons(++ping_seq_num); in ping_prepare_echo() 122 if ((iecho->id == PING_ID) && (iecho->seqno == htons(ping_seq_num))) in lwip_ping_recv()
|
| /components/net/lwip/lwip-1.4.1/src/apps/ping/ |
| A D | ping.c | 59 iecho->seqno = htons(++ping_seq_num); in ping_prepare_echo() 122 if ((iecho->id == PING_ID) && (iecho->seqno == htons(ping_seq_num))) in lwip_ping_recv()
|
| /components/net/lwip/lwip-2.1.2/src/apps/ping/ |
| A D | ping.c | 59 iecho->seqno = htons(++ping_seq_num); in ping_prepare_echo() 122 if ((iecho->id == PING_ID) && (iecho->seqno == htons(ping_seq_num))) in lwip_ping_recv()
|
| /components/net/lwip/lwip-1.4.1/src/include/ipv4/lwip/ |
| A D | icmp.h | 84 PACK_STRUCT_FIELD(u16_t seqno);
|