nuttx/net
qinwei1 8021dfece6 sched/task/task_getpid: getpid should return process id not thread id
Summary:
   implement the right semantics:
1. getpid should return the main thread id
2. gettid should return the current thread id

Refer to:
 https://github.com/apache/incubator-nuttx/issues/2499
 https://github.com/apache/incubator-nuttx/pull/2518

Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2022-11-17 17:58:08 +08:00
..
arp net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
bluetooth sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
can net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
devif net: add basic NAT workflow 2022-11-11 14:36:55 +08:00
icmp tcp: find bound device when laddr is ANY 2022-11-12 18:36:09 +08:00
icmpv6 net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
ieee802154 sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
igmp net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
inet inet_sockif: errno alignment to Linux 2022-10-21 16:57:20 +08:00
ipforward net: add basic NAT workflow 2022-11-11 14:36:55 +08:00
local sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
mld net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
nat net/nat: Add UDP support 2022-11-11 14:36:55 +08:00
neighbor net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
netdev net/ioctl/cellular: remove redundant logic 2022-10-15 18:34:07 +08:00
netlink sched/task/task_getpid: getpid should return process id not thread id 2022-11-17 17:58:08 +08:00
pkt net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
procfs net/procfs: fix runtime error AddressSanitizer(global-buffer-overflow) 2022-09-27 09:41:55 +08:00
route include/endian.h: Fix format specifies type 'unsigned long' but the argument has type 'unsigned int' 2022-10-30 16:03:35 +01:00
rpmsg rpmsg socket: add lock to poll & poll_notify 2022-11-11 20:08:17 +08:00
sixlowpan Fix error: format specifies type 'unsigned short' but the argument has type 'int' 2022-11-01 17:12:42 +01:00
socket socket: separation error code EBADF and ENOTSOCK 2022-10-29 08:18:02 +02:00
tcp Initialize global mutext/sem by NXMUTEX_INITIALIZER and SEM_INITIALIZER 2022-11-14 09:34:04 +09:00
udp Initialize global mutext/sem by NXMUTEX_INITIALIZER and SEM_INITIALIZER 2022-11-14 09:34:04 +09:00
usrsock use SEM_INITIALIZER inside of NXSEM_INITIALIZER 2022-10-22 14:50:48 +08:00
utils tcp: find bound device when laddr is ANY 2022-11-12 18:36:09 +08:00
Kconfig net: add basic NAT workflow 2022-11-11 14:36:55 +08:00
Makefile net: add basic NAT workflow 2022-11-11 14:36:55 +08:00
net_initialize.c net: Reoder the initialize sequence(mac->ip->tcp/udp) 2022-03-12 19:24:17 +02: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   |
    +----------------------------------------------------------------+ +--------------------------+