Gregory Nutt
|
42a018747e
net/devif, net/tcp, and net/udp: Extend the logic of 6c0ab0e077f3c71d891585f0e170009461ec9b31 so that all support Transport protocols support by IPv6 can handle the presence of IPv6 header extension options.
|
6 years ago |
Gregory Nutt
|
8c4cefdd10
Fix some new warndings found in build testing.
|
6 years ago |
Gregory Nutt
|
11a635dcb3
mm/iob: IOB free notifier should accept the work queue ID as a paramter. The notification may need to run on either the high- or low- priority work queue. sched/work: Change the default priority of the low-priority work queue to 100.
|
6 years ago |
Gregory Nutt
|
9d3148406c
Signals were not a good choice of IPC to implement the poll function for several reasons: In order to handle the asynchrnous poll-related event, a substantial amount of state information is needed. Signals are only capable of passing minimal amounts of data. There are also complexities with performing kernel space signal handlers in kernel space code that is better to avoid. So, instead of signals, the equivalent logic was converted to run via a callback that executes on the high-priority work queue.
|
6 years ago |
Gregory Nutt
|
20814acad2
sched/signal: In signal notification facility, use sigqueue() to notify vs. kill(). With sigqueue, we can pass more info (but still not enough).
|
6 years ago |
Gregory Nutt
|
28f73bd928
net/tcp and udp: Add logic to signal events when TCP or UDP read-ahead data is buffered.
|
6 years ago |
Gregory Nutt
|
254924029b
net/udp: Restore some legacy behavior that was lost with the implementation of CONFIG_NET_UDP_BINDTODEVICE: If no device has a local address when the broadcast packet is sent and the UDP socket is not bound to a device, there select some arbitrary device. This is certainly lunacy in the case where there are multiple network devices registered because the wrong device will probably be returned. It works find, however, for the legacy case where only a single network device is registered.
|
6 years ago |
Sebastien Lorquet
|
65be13bffe
net/udp: Finish support for the UDP_BINDTODEVICE protocol socket option
|
6 years ago |
Gregory Nutt
|
c65e1aa3df
Squashed commit of the following:
|
6 years ago |
Gregory Nutt
|
66db9f09f6
Fix a typo introduced in 1b6990b69f974b9ef299c8707713cef80b944374. Also some minor design improvment.
|
6 years ago |
Gregory Nutt
|
8fdbb1e0a4
Elimate use of the non-standard type systime_t and replace it the equivalent, standard type clock_t
|
6 years ago |
Gregory Nutt
|
fb8cf9373c
net/udp: Resolve race condition in connection-less UDP sockets with read-ahead buffering.
|
6 years ago |
Gregory Nutt
|
091e3f732e
net/udp: Fix several issues using connected UDP sockets: sendto() should not accept and address. Normally send() should be used instead. recvfrom() is no longer necessary. recvfrom() and poll() should not reset to accept any addresses but should, instead, only accept inputs and events from the connected remore peer. On of these issues was noted by 李桂丁 <liguiding@pinecone.net>. Changes were made as summarized here: http://www.masterraghu.com/subjects/np/introduction/unix_network_programming_v1.3/ch08lev1sec11.html
|
6 years ago |
Gregory Nutt
|
51ee2cdd86
net/udp: Fix some errors in conditional compilation.
|
6 years ago |
Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 years ago |
Gregory Nutt
|
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
|
6 years ago |
Gregory Nutt
|
f2017bded8
net/udp: UDP write buffering is basically functional but needs a lot more verification.
|
6 years ago |
Gregory Nutt
|
289e4dde06
net/udp and tcp: Yet another (cosmetic) change to UDP and TCP write buffer macro naming.
|
6 years ago |
Gregory Nutt
|
fef255e5be
This commit adds an as-of-yet untested implemented of UDP write buffering.
|
6 years ago |
Gregory Nutt
|
aa2e9c15a5
IP forwarding: Major rearchitecting of the outgoing portion of the IP forwarding logic necessary into to properly received device-related forwarding events.
|
7 years ago |
Gregory Nutt
|
31f832d8c5
IP forwarding: Flesh out TCP, UDP, and ICMPv6 packet forwarding logic.
|
7 years ago |
Gregory Nutt
|
c0c275c8fc
IP forwarding. Adds a little more structure to handle passing packets received on one network device to another network device. Logic is still incomplete.
|
7 years ago |
Gregory Nutt
|
2043e1a114
IOBs: Move from driver/iob to a better location in mm/iob
|
7 years ago |
Gregory Nutt
|
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
|
7 years ago |
Gregory Nutt
|
bcc6b61fc1
Move include/nuttx/net/iob.h to include/drivers/iob.h; rename CONFIG_NET_IOB to CONFIG_DRIVERS_IOB
|
7 years ago |
Jussi Kivilinna
|
cd3c9634c8
Add user-space networking stack API (usrsock)
|
7 years ago |
Gregory Nutt
|
4f208600aa
Replace confusing references to uIP with just 'the network'
|
8 years ago |
Gregory Nutt
|
8db55f6493
Back out most of previous commit
|
8 years ago |
Gregory Nutt
|
0b441ff1f4
net/: Add basic IEEE 802.15-4 socket support
|
8 years ago |
Gregory Nutt
|
530d229361
net/udp: Add support for send() with connected UDP sockets
|
9 years ago |