nuttx/net/udp
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
..
Kconfig Make the read ahead buffer unselectable 2020-01-11 08:24:49 -06:00
Make.defs net/inet: add support of FIONREAD 2021-07-05 06:20:52 -05:00
udp_callback.c net/socket: add SO_RCVBUF support 2021-07-06 01:44:55 -05:00
udp_close.c net/: Add missing packet filtering checks 2021-04-29 12:47:02 +08:00
udp_conn.c net/socket: add SO_SNDBUF support 2021-07-20 20:24:58 -07:00
udp_devpoll.c net: fix nxstyle errors 2021-04-02 11:12:25 -05:00
udp_finddev.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
udp_input.c net: fix nxstyle errors 2021-04-02 11:12:25 -05:00
udp_ioctl.c net/inet: add support of FIONREAD 2021-07-05 06:20:52 -05:00
udp_ipselect.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
udp_netpoll.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
udp_notifier.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
udp_recvfrom.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
udp_send.c tools/nxstyle.c: Fix logic error that prevent detecion of '/' and '/=' as operators. net/: Minor updates resulting from testing tools/nxstyle. 2019-03-11 12:48:39 -06:00
udp_sendto_buffered.c net/socket: add SO_SNDBUF support 2021-07-20 20:24:58 -07:00
udp_sendto_unbuffered.c Run nxstyle all .c and .h files modified by PR. 2020-05-17 14:01:00 -03:00
udp_setsockopt.c net/: Add missing packet filtering checks 2021-04-29 12:47:02 +08:00
udp_txdrain.c sched: Don't include nuttx/sched.h inside sched.h 2021-05-24 12:11:53 +09:00
udp_wrbuffer_dump.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
udp_wrbuffer.c net/udp: fix buffer release handling on failed buffer alloc 2021-09-15 12:03:21 +08:00
udp.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