nuttx/net
Xiang Xiao fdb7e6e460 net/igmp: Fix the compiler warning on 64bit platform
igmp/igmp_timer.c: In function ‘igmp_timeout’:
igmp/igmp_timer.c:163:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  163 |   group = (FAR struct igmp_group_s *)arg;
      |           ^
igmp/igmp_timer.c: In function ‘igmp_startticks’:
igmp/igmp_timer.c:200:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  200 |   ret = wd_start(group->wdog, ticks, igmp_timeout, 1, (uint32_t)group);
      |                                                       ^
igmp/igmp_timer.c:200:38: warning: passing argument 3 of ‘wd_start’ from incompatible pointer type [-Wincompatible-pointer-types]
  200 |   ret = wd_start(group->wdog, ticks, igmp_timeout, 1, (uint32_t)group);
      |                                      ^~~~~~~~~~~~
      |                                      |
      |                                      void (*)(int,  uint32_t, ...) {aka void (*)(int,  unsigned int, ...)}
In file included from igmp/igmp_timer.c:50:
/home/xiaoxiang/mirtos/nuttx/include/nuttx/wdog.h:233:53: note: expected ‘wdentry_t’ {aka ‘void (*)(int,  long unsigned int, ...)’} but argument is of type ‘void (*)(int,  uint32_t, ...)’ {aka ‘void (*)(int,  unsigned int, ...)’}
  233 | int wd_start(WDOG_ID wdog, int32_t delay, wdentry_t wdentry, int argc, ...);

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I153355f85f583f5441d97a0b1278bce167eb3fd0
2020-06-15 21:21:42 +01:00
..
arp Run nxstyle all .c and .h files modified by PR. 2020-05-17 14:01:00 -03:00
bluetooth net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
can net/can/can_setsockopt&can_getsockopt.c: Initialiaze ret variable to 2020-06-15 12:20:32 -06:00
devif net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
icmp net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
icmpv6 net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
ieee802154 NXStyle fixes 2020-06-15 08:07:19 -06:00
igmp net/igmp: Fix the compiler warning on 64bit platform 2020-06-15 21:21:42 +01:00
inet net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
ipforward Fix typos in comments and documentation. 2020-03-16 20:01:11 -06:00
local NXStyle fixes 2020-06-15 08:07:19 -06:00
mld sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
neighbor Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
netdev NXStyle fixes 2020-06-15 08:07:19 -06:00
netlink net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
pkt net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
procfs Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
route Check return from nxsem_wait_initialize() 2020-03-29 20:11:10 +01:00
sixlowpan sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
socket net/can/can.h: Add can_setsockopt and can_getsockopt prototypes. 2020-06-15 12:20:32 -06:00
tcp net: tcp: Fix port info in warning message in tcp_input.c 2020-05-19 13:36:45 +08:00
udp Run nxstyle all .c and .h files modified by PR. 2020-05-17 14:01:00 -03:00
usrsock Run nxstyle all .c and .h files modified by PR. 2020-05-17 14:01:00 -03:00
utils net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
Kconfig net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
Makefile net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
net_initialize.c net: Add SocketCAN support 2020-06-15 08:07:19 -06:00
README.txt net/loopback: Move g_lo_* global variable to libc/net/ 2020-03-30 09:47:28 -06:00

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   |
    +----------------------------------------------------------------+ +--------------------------+