This commit adds an as-of-yet untested implemented of UDP write buffering.
Squashed commit of the following: net/udp: Address most of the issues with UDP write buffering. There is a remaining issue with handling one network going down in a multi-network environment. None of this has been test but it is certainly ready for test. Hence, the feature is marked EXPERIMENTAL. net/udp: Some baby steps toward a corrected write buffering design. net/udp: Remove pesky write buffer macros. Eliminate trailing space at the end of lines. net/udp: A little more UDP write buffering logic. Still at least on big gaping hole in the design. net/udp: Undefined CONFIG_NET_SENDTO_TIMEOUT. net/udp: Crude, naive port of the TCP write buffering logic into UDP. This commit is certainly non-functional and is simply a starting point for the implementatin of UDP write buffering. net/udp: Rename udp/udp_psock_sendto.c udp/udp_psock_sendto_unbuffered.c.
Showing
- include/nuttx/net/net.h 2 additions, 2 deletionsinclude/nuttx/net/net.h
- mm/iob/Kconfig 7 additions, 7 deletionsmm/iob/Kconfig
- net/Kconfig 8 additions, 0 deletionsnet/Kconfig
- net/inet/inet_sockif.c 1 addition, 1 deletionnet/inet/inet_sockif.c
- net/net_initialize.c 4 additions, 0 deletionsnet/net_initialize.c
- net/socket/socket.c 1 addition, 1 deletionnet/socket/socket.c
- net/tcp/Kconfig 3 additions, 1 deletionnet/tcp/Kconfig
- net/udp/Kconfig 50 additions, 0 deletionsnet/udp/Kconfig
- net/udp/Make.defs 17 additions, 2 deletionsnet/udp/Make.defs
- net/udp/udp.h 127 additions, 2 deletionsnet/udp/udp.h
- net/udp/udp_conn.c 20 additions, 1 deletionnet/udp/udp_conn.c
- net/udp/udp_psock_sendto_buffered.c 821 additions, 0 deletionsnet/udp/udp_psock_sendto_buffered.c
- net/udp/udp_psock_sendto_unbuffered.c 6 additions, 5 deletionsnet/udp/udp_psock_sendto_unbuffered.c
- net/udp/udp_wrbuffer.c 217 additions, 0 deletionsnet/udp/udp_wrbuffer.c
- net/udp/udp_wrbuffer_dump.c 70 additions, 0 deletionsnet/udp/udp_wrbuffer_dump.c
Loading
Please register or sign in to comment