This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


    from fcdba7a3ef sim/usrsocktest: Enable CONFIG_DEBUG_ASSERTIONS
     add 8819eeaf15 net: Implement shutdown() interface and tcp shutdown
     add d3dd349649 net: Implement shutdown() for usrsock
     add c9e52cb283 net: Implement shutdown() for local stream socket

No new revisions were added by this update.

Summary of changes:
 arch/sim/src/sim/posix/sim_hostusrsock.c           |  20 +++
 arch/sim/src/sim/sim_hostusrsock.h                 |   2 +
 arch/sim/src/sim/sim_usrsock.c                     |  10 ++
 drivers/usrsock/usrsock_rpmsg_server.c             |  21 +++
 include/nuttx/net/net.h                            |  35 +++++
 include/nuttx/net/usrsock.h                        |   9 ++
 include/sys/syscall_lookup.h                       |   1 +
 libs/libc/net/Make.defs                            |   2 +-
 libs/libc/net/lib_shutdown.c                       |  74 ---------
 net/can/can_sockif.c                               |   3 +-
 net/inet/inet_sockif.c                             |  39 ++++-
 net/local/local_recvmsg.c                          |   7 +-
 net/local/local_sockif.c                           |  66 +++++++-
 net/socket/Make.defs                               |   2 +-
 net/socket/shutdown.c                              | 149 ++++++++++++++++++
 net/tcp/Make.defs                                  |   2 +-
 net/tcp/tcp.h                                      |  20 ++-
 net/tcp/tcp_shutdown.c                             | 168 +++++++++++++++++++++
 net/usrsock/Make.defs                              |   2 +-
 net/usrsock/usrsock.h                              |  23 +++
 .../{usrsock_close.c => usrsock_shutdown.c}        |  65 ++++----
 net/usrsock/usrsock_sockif.c                       |   3 +-
 syscall/syscall.csv                                |   1 +
 23 files changed, 601 insertions(+), 123 deletions(-)
 delete mode 100644 libs/libc/net/lib_shutdown.c
 create mode 100644 net/socket/shutdown.c
 create mode 100644 net/tcp/tcp_shutdown.c
 copy net/usrsock/{usrsock_close.c => usrsock_shutdown.c} (75%)

Reply via email to