nuttx/net/usrsock
chao an 63cd44e5e1 net/usrsock: forward FIONBIO to socket level
fix usrsock nonblock connect test break:

apps/examples/usrsocktest/usrsocktest_noblock_connect.c:

...
157 TEST(no_block_connect, delayed_connect)
158 {
...
190   ret = fcntl(sd, F_SETFL, flags | O_NONBLOCK);
...
204   ret = connect(sd, (FAR const struct sockaddr *)&addr, sizeof(addr));
205   TEST_ASSERT_EQUAL(-1, ret);
206   TEST_ASSERT_EQUAL(EINPROGRESS, errno);

should goahead to socket level:

nuttx/net/netdev/netdev_ioctl.c:
...
1755 int psock_vioctl(FAR struct socket *psock, int cmd, va_list ap)
1756 {
...
1771   ret = netdev_ioctl(psock, cmd, arg);
...
1775   if (ret == -ENOTTY)
1776     {
1777       ret = netdev_file_ioctl(psock, cmd, arg);
1778     }
...

Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-01 14:44:50 +08:00
..
Kconfig Kconfig: remove empty help sections 2021-07-23 02:32:19 -07:00
Make.defs net: usrsock: Haltian Ltd: update licenses to Apache 2021-11-15 06:49:32 -06:00
usrsock_accept.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_bind.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_close.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_conn.c net: Remove the unnecessary initialization code 2022-03-12 19:24:17 +02:00
usrsock_connect.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_dev.c net/usrsock: allow usrsock *DATA_ACK with no-preload data 2022-09-01 09:09:25 +09:00
usrsock_event.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_getpeername.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_getsockname.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_getsockopt.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_ioctl.c net/usrsock: forward FIONBIO to socket level 2022-09-01 14:44:50 +08:00
usrsock_listen.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_poll.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_recvmsg.c Revert "net/usrsock: read from the closed remote should return EOF" 2022-09-01 13:16:46 +09:00
usrsock_sendmsg.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_setsockopt.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_socket.c net: cleanup pvconn reference to avoid confuse 2022-08-26 20:58:11 +08:00
usrsock_sockif.c net/usrsock: fix build warning 2022-01-19 12:09:53 +01:00
usrsock.h net: remove pvconn reference from all devif callback 2022-08-26 20:58:11 +08:00