walnux/include/nuttx/net
Alexander Lunev 36fbedcbfc net/devif/devif_callback.c: corrected the connection event list to work as FIFO instead of LIFO.
In case of enabled packet forwarding mode, packets were forwarded in a reverse order
because of LIFO behavior of the connection event list.
The issue exposed only during high network traffic. Thus the event list started to grow
that resulted in changing the order of packets inside of groups of several packets
like the following: 3, 2, 1, 6, 5, 4, 8, 7 etc.

Remarks concerning the connection event list implementation:
* Now the queue (list) is FIFO as it should be.
* The list is singly linked.
* The list has a head pointer (inside of outer net_driver_s structure),
  and a tail pointer is added into outer net_driver_s structure.
* The list item is devif_callback_s structure.
  It still has two pointers to two different list chains (*nxtconn and *nxtdev).
* As before the first argument (*dev) of the list functions can be NULL,
  while the other argument (*list) is effective (not NULL).
* An extra (*tail) argument is added to devif_callback_alloc()
  and devif_conn_callback_free() functions.
* devif_callback_alloc() time complexity is O(1) (i.e. O(n) to fill the whole list).
* devif_callback_free() time complexity is O(n) (i.e. O(n^2) to empty the whole list).
* devif_conn_event() time complexity is O(n).
2021-09-18 21:01:39 -05:00
..
arp.h include: nuttx: net: nxstyle error fix 2021-01-29 10:40:46 -08:00
bluetooth.h wireless/bluetooth: decoupling bt_driver_s and bt_buf_s 2021-05-31 09:50:54 -03:00
can.h
dns.h
enc28j60.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
encx24j600.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
ethernet.h sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
ftmac100.h author: Anton D. Kachalov: update licenses to Apache 2021-09-01 21:02:34 +08:00
gmii.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
icmp.h include: nuttx: net: nxstyle error fix 2021-01-29 10:40:46 -08:00
icmpv6.h include: nuttx: net: nxstyle error fix 2021-01-29 10:40:46 -08:00
ieee802154.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
igmp.h
ioctl.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
ip.h net: fix typos, incorrect comments, nxstyle 2020-12-13 09:06:28 -06:00
ipopt.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
ipv6ext.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
lan91c111.h Fix nxstyle warning 2020-08-22 17:37:21 -06:00
loopback.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
mii.h net: fix a few DP83848C and DP83825I constants 2021-02-24 19:04:05 -08:00
mld.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
neighbor.h include: Fix typos reported by codespell 2021-02-25 11:30:38 -08:00
net.h fs: Simplify sendfile implementation 2021-07-17 07:39:15 -03:00
netconfig.h net/socket: add SO_SNDBUF support 2021-07-20 20:24:58 -07:00
netdev.h net/devif/devif_callback.c: corrected the connection event list to work as FIFO instead of LIFO. 2021-09-18 21:01:39 -05:00
netlink.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
netstats.h
phy.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
pkt.h update licenses to Apache 2021-08-20 01:45:00 -07:00
radiodev.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
rfc6775.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
rpmsg.h Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
rpmsgdrv.h Change all files come from Xiaomi/Pinecone to Apache License 2.0 2020-08-22 17:37:21 -06:00
sixlowpan.h include: nuttx: net: nxstyle error fix 2021-01-29 10:40:46 -08:00
slip.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
tcp.h net/tcp: add window scale support 2021-07-07 03:55:41 -05:00
telnet.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00
tun.h
udp.h
usrsock.h usrsock.h: add reserved value to usrsock struct 2020-10-27 01:20:52 -07:00
w5500.h include: nuttx: update licenses to Apache 2.0 2021-02-01 11:21:57 -03:00