| /lib/liblwip/test/unit/tcp/ |
| D | tcp_helper.c | 121 return tcp_create_segment(&pcb->remote_ip, &pcb->local_ip, pcb->remote_port, pcb->local_port, in tcp_create_rx_segment() 133 return tcp_create_segment_wnd(&pcb->remote_ip, &pcb->local_ip, pcb->remote_port, pcb->local_port, in tcp_create_rx_segment_wnd() 140 ip_addr_t* remote_ip, u16_t local_port, u16_t remote_port) in tcp_set_state() argument 148 pcb->local_port = local_port; in tcp_set_state() 154 pcb->local_port = local_port; in tcp_set_state() 158 pcb->local_port = local_port; in tcp_set_state()
|
| D | test_tcp_oos.c | 151 u16_t remote_port = 0x100, local_port = 0x101; in START_TEST() local 168 tcp_set_state(pcb, ESTABLISHED, &local_ip, &remote_ip, local_port, remote_port); in START_TEST() 291 u16_t remote_port = 0x100, local_port = 0x101; in START_TEST() local 308 tcp_set_state(pcb, ESTABLISHED, &local_ip, &remote_ip, local_port, remote_port); in START_TEST() 461 u16_t remote_port = 0x100, local_port = 0x101; in START_TEST() local 482 tcp_set_state(pcb, ESTABLISHED, &local_ip, &remote_ip, local_port, remote_port); in START_TEST() 551 u16_t remote_port = 0x100, local_port = 0x101; in START_TEST() local 572 tcp_set_state(pcb, ESTABLISHED, &local_ip, &remote_ip, local_port, remote_port); in START_TEST() 630 u16_t remote_port = 0x100, local_port = 0x101; in START_TEST() local 651 tcp_set_state(pcb, ESTABLISHED, &local_ip, &remote_ip, local_port, remote_port); in START_TEST() [all …]
|
| D | test_tcp.c | 82 u16_t remote_port = 0x100, local_port = 0x101; in START_TEST() local 99 tcp_set_state(pcb, ESTABLISHED, &local_ip, &remote_ip, local_port, remote_port); in START_TEST() 137 u16_t remote_port = 0x100, local_port = 0x101; in START_TEST() local 151 tcp_set_state(pcb, ESTABLISHED, &local_ip, &remote_ip, local_port, remote_port); in START_TEST() 318 u16_t remote_port = 0x100, local_port = 0x101; in START_TEST() local 348 tcp_set_state(pcb, ESTABLISHED, &local_ip, &remote_ip, local_port, remote_port); in START_TEST() 415 u16_t remote_port = 0x100, local_port = 0x101; in START_TEST() local 447 tcp_set_state(pcb, ESTABLISHED, &local_ip, &remote_ip, local_port, remote_port); in START_TEST() 505 u16_t remote_port = 0x100, local_port = 0x101; in test_tcp_tx_full_window_lost() local 534 tcp_set_state(pcb, ESTABLISHED, &local_ip, &remote_ip, local_port, remote_port); in test_tcp_tx_full_window_lost()
|
| D | tcp_helper.h | 40 ip_addr_t* remote_ip, u16_t local_port, u16_t remote_port);
|
| /lib/liblwip/src/core/ |
| D | tcp.c | 183 pcb->local_port, pcb->remote_port); in tcp_close_shutdown() 209 if (pcb->local_port != 0) { in tcp_close_shutdown() 395 tcp_rst(seqno, ackno, &pcb->local_ip, &pcb->remote_ip, pcb->local_port, pcb->remote_port); in tcp_abandon() 462 if (cpcb->local_port == port) { in tcp_bind() 484 pcb->local_port = port; in tcp_bind() 536 if (lpcb->local_port == pcb->local_port) { in tcp_listen_with_backlog() 550 lpcb->local_port = pcb->local_port; in tcp_listen_with_backlog() 558 if (pcb->local_port != 0) { in tcp_listen_with_backlog() 660 if (pcb->local_port == tcp_port) { in tcp_new_port() 714 old_local_port = pcb->local_port; in tcp_connect() [all …]
|
| D | udp.c | 110 if (pcb->local_port == udp_port) { in udp_new_port() 121 if (ipcb->local_port == udp_port) { in udp_new_port() 236 ip4_addr3_16(&pcb->local_ip), ip4_addr4_16(&pcb->local_ip), pcb->local_port, 241 if (pcb->local_port == dest) { 362 if ((mpcb->local_port == dest) && 578 if (pcb->local_port == 0) { 580 err = udp_bind(pcb, &pcb->local_ip, pcb->local_port); 613 udphdr->src = htons(pcb->local_port); 796 if ((ipcb->local_port == port) && 820 pcb->local_port = port; [all …]
|
| D | tcp_in.c | 175 pcb->local_port == tcphdr->dest && in tcp_input() 200 pcb->local_port == tcphdr->dest && in tcp_input() 217 if (lpcb->local_port == tcphdr->dest) { in tcp_input() 480 npcb->local_port = pcb->local_port; in tcp_listen_input()
|
| D | tcp_out.c | 103 tcphdr->src = htons(pcb->local_port); in tcp_output_alloc_header() 192 seg->tcphdr->src = htons(pcb->local_port); in tcp_create_segment() 1197 u16_t local_port, u16_t remote_port) in tcp_rst() argument 1210 tcphdr->src = htons(local_port); in tcp_rst()
|
| /lib/liblwip/src/include/lwip/ |
| D | udp.h | 101 u16_t local_port, remote_port; member
|
| D | tcp_impl.h | 337 … LWIP_DEBUGF(TCP_DEBUG, ("TCP_REG %p local port %d\n", (npcb), (npcb)->local_port)); \ 446 u16_t local_port, u16_t remote_port);
|
| D | tcp.h | 164 u16_t local_port
|
| /lib/liblwip/src/api/ |
| D | sockets.c | 409 u16_t local_port; in lwip_bind() local 425 local_port = name_in->sin_port; in lwip_bind() 429 LWIP_DEBUGF(SOCKETS_DEBUG, (" port=%"U16_F")\n", ntohs(local_port))); in lwip_bind() 431 err = netconn_bind(sock->conn, &local_addr, ntohs(local_port)); in lwip_bind()
|
| D | api_msg.c | 1419 *(msg->msg.ad.port) = msg->conn->pcb.udp->local_port; 1431 …*(msg->msg.ad.port) = (msg->msg.ad.local?msg->conn->pcb.tcp->local_port:msg->conn->pcb.tcp->remote…
|
| /lib/liblwip/src/core/snmp/ |
| D | mib2.c | 1801 udpidx[4] = pcb->local_port; in snmp_insert_udpidx_tree() 1854 udpidx[4] = pcb->local_port; in snmp_delete_udpidx_tree() 1863 (npcb->local_port == udpidx[4])) in snmp_delete_udpidx_tree() 3895 (pcb->local_port == port))) in udpentry_get_value() 3915 *sint_ptr = pcb->local_port; in udpentry_get_value()
|
| /lib/liblwip/ |
| D | CHANGELOG | 554 pcbs) by checking if the pcb was bound (local_port != 0).
|