incubator-nuttx/net/tcp
zhanghongyu a2097cfb71 net: modify find device logic
The priorities for finding a network adapter are as follows:
1. if laddr is not ANY, use laddr to find device;
2. if laddr is ANY, and bound index is not 0, use bound index
   to find device;
3. if laddr is ANY and no device is bound, use raddr to find
   device.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-02-12 01:25:34 +08:00
..
Kconfig net/tcp: add Selective-ACK support 2023-01-18 16:24:09 +08:00
Make.defs net: Implement shutdown() interface and tcp shutdown 2023-01-31 11:15:01 +08:00
tcp.h net: Implement shutdown() interface and tcp shutdown 2023-01-31 11:15:01 +08:00
tcp_accept.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
tcp_appsend.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_backlog.c
tcp_callback.c net/tcp: add out-of-order segment support 2023-01-18 16:24:09 +08:00
tcp_close.c free TCP rx buffer immediately in tcp_close 2023-01-30 11:25:36 +08:00
tcp_conn.c free TCP rx buffer immediately in tcp_close 2023-01-30 11:25:36 +08:00
tcp_connect.c net/tcp: remove conn check since which can not be NULL 2023-02-02 13:31:06 +08:00
tcp_devpoll.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_dump.c
tcp_finddev.c net: modify find device logic 2023-02-12 01:25:34 +08:00
tcp_getsockopt.c
tcp_input.c net/tcp: Regard snd_wnd update as ACKDATA 2023-02-03 13:43:39 +02:00
tcp_ioctl.c
tcp_ipselect.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_listen.c
tcp_monitor.c net/soerr: add new _SO_CONN_SETERRNO() macro 2022-11-24 22:57:42 +08:00
tcp_netpoll.c tcp_netpoll: add assert into tcp_pollsetup when pollinfo invalid 2023-01-28 23:27:14 +02:00
tcp_notifier.c
tcp_recvfrom.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
tcp_recvwindow.c net/tcp: add out-of-order segment support 2023-01-18 16:24:09 +08:00
tcp_send.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_send_buffered.c net/tcp: remove conn check since which can not be NULL 2023-02-02 13:31:06 +08:00
tcp_send_unbuffered.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_sendfile.c sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
tcp_seqno.c net/tcp: Avoid starting TCP sequence number 0 2022-11-13 09:09:36 +08:00
tcp_setsockopt.c
tcp_shutdown.c net: Implement shutdown() interface and tcp shutdown 2023-01-31 11:15:01 +08:00
tcp_timer.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
tcp_txdrain.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
tcp_wrbuffer.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00