incubator-nuttx/net
chao.an a5613e6008 net/tcp: correct the port byte order
1. unify the byte order to network
2. Do not re-select the port if the local port has been bind()

Signed-off-by: chao.an <anchao@xiaomi.com>
2021-03-20 09:13:18 -07:00
..
arp net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
bluetooth sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
can sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
devif makefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
icmp sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
icmpv6 sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
ieee802154 sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
igmp sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
inet net/socket: move si_send/recv into sendmsg/recvmsg 2021-03-05 04:46:13 -08:00
ipforward Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
local net/local: Remove local_send.c since nobody use it now 2021-03-12 16:42:52 -03:00
mld sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
neighbor net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
netdev net: unify socket into file descriptor 2021-03-03 19:01:41 -08:00
netlink net/socket: move si_send/recv into sendmsg/recvmsg 2021-03-05 04:46:13 -08:00
pkt sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
procfs sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
route sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
rpmsg net/socket_rpmsg: add net socket rpmsg support 2021-03-07 01:45:51 -08:00
sixlowpan sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
socket net/tcp: do not start the tcp monitor if unestablished 2021-03-19 17:23:18 +09:00
tcp net/tcp: correct the port byte order 2021-03-20 09:13:18 -07:00
udp sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
usrsock sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
utils net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
Kconfig net/socket_rpmsg: add net socket rpmsg support 2021-03-07 01:45:51 -08:00
Makefile net/socket_rpmsg: add net socket rpmsg support 2021-03-07 01:45:51 -08:00
README.txt net/loopback: Move g_lo_* global variable to libc/net/ 2020-03-30 09:47:28 -06:00
net_initialize.c Remove the empty xxx_initialize functions 2021-03-03 08:21:04 +00:00

README.txt

README
======

Directory Structure
===================

  nuttx/
   |
   `- net/
       |
       +- arp        - Address resolution protocol (IPv4)
       +- bluetooth  - PF_BLUETOOTH socket interface
       +- devif      - Stack/device interface layer
       +- icmp       - Internet Control Message Protocol (IPv4)
       +- icmpv6     - Internet Control Message Protocol (IPv6)
       +- ieee802154 - PF_IEEE802154 socket interface
       +- inet       - PF_INET/PF_INET6 socket interface
       +- ipforward  - IP forwarding logic
       +- local      - Unix domain (local) sockets
       +- mld        - Multicast Listener Discovery (MLD)
       +- neighbor   - Neighbor Discovery Protocol (IPv6)
       +- netdev     - Socket network device interface
       +- netlink    - Netlink IPC socket interface
       +- pkt        - "Raw" packet socket support
       +- sixlowpan  - 6LoWPAN implementation
       +- socket     - BSD socket interface
       +- route      - Routing table support
       +- tcp        - Transmission Control Protocol
       +- udp        - User Datagram Protocol
       +- usrsock    - User socket API for user-space networking stack
       `- utils      - Miscellaneous utility functions

    +-------------------------------------------------------------------++------------------------+
    |                     Application layer                             || usrsock daemon         |
    +-------------------------------------------------------------------++------------------------+
    +-------------------------------------------------------------------++----------------+ +-----+
    |                   Socket layer (socket/)                          || /dev/usrsock   | |     |
    +-------------------------------------------------------------------++----------------+ |     |
    +------------++--------------------------------------------------++-------------------+ |     |
    |  Network   || Protocol stacks (arp, ipv6, icmp, pkt, tcp, udp) || usrsock/          | |     |
    |   Device   |+--------------------------------------------------++-------------------+ |     |
    | Interface  |+------------------------------------++---------------------------------+ |     |
    | (netdev/)  ||  Network Device Interface (devif/) || Utilities                       | |     |
    +------------++------------------------------------++---------------------------------+ |     |
    +----------------------------------------------------------------+                      |     |
    |                    Network Device Drivers                      |                      | HAL |
    +----------------------------------------------------------------+                      +-----+
    +----------------------------------------------------------------+ +--------------------------+
    |                    Networking Hardware                         | |  Hardware TCP/IP Stack   |
    +----------------------------------------------------------------+ +--------------------------+