Gregory Nutt
|
1acfac3eb6
net/: More fixes to wrong comments from old change from the interrupt driven network to the work-queue driven network.
|
6 years ago |
Gregory Nutt
|
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
|
6 years ago |
Gregory Nutt
|
cf5cba953d
There was a possible recursion that could eventually overflow the stack. The error occurred when closing the socket with inet_close() while a socket callback was still queued. When the socket callback was executed by devif_conn_event(), this resulted in a call to psock_send_eventhandler() with TCP_CLOSE flag set which then called tcp_lost_connection(). tcp_shutdown_monitor() then called tcp_callback() again, which again called psock_send_eventhandler(), and so on.... Noted by Pascal Speck. Solution is also similar to a solution proposed by Pascal Speck.
|
7 years ago |
Gregory Nutt
|
88a87f8e3f
6LoWPAN: The original, Contiki-based design used only a single buffer for reassemblying larger packets. This could be a problem issue for hub configurations which really need the capability concurrently reassemble multiple incoming streams concurrently. These was also a design issue in that the reassembly buffer could be corrupted by outgoing packets. The design was extended to support multiple reassembly buffers, each associated with the reassembly tag and source address. This assures that there can be be no corruption of the reassembly once it has started.
|
7 years ago |
Gregory Nutt
|
bea75baaab
IP forwarding: Two bugfixes (1) IPFWD poll event must be unique and different from other device poll events otherwise, some other waiting task might get the poll, (2) Add logic necessary to forward 6LoWPAN packets.
|
7 years ago |
Gregory Nutt
|
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
|
7 years ago |
Gregory Nutt
|
7467329a98
Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed.
|
8 years ago |
Gregory Nutt
|
2a751068e6
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
|
8 years ago |
Gregory Nutt
|
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
|
8 years ago |
Gregory Nutt
|
f4fcdcdb4d
net/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
|
8 years ago |
Gregory Nutt
|
e99301d7c2
Rename *lldbg to *llerr
|
8 years ago |
Gregory Nutt
|
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
|
8 years ago |
Gregory Nutt
|
fc3540cffe
Replace all occurrences of vdbg with vinfo
|
8 years ago |
Gregory Nutt
|
af086c40ff
Remove dangling whitespace
|
9 years ago |
Gregory Nutt
|
8f7752d956
Networking: Modify how callback structures are stored to avoid another potential use of a stal pointer.
|
9 years ago |
Gregory Nutt
|
a47a0d237c
Costmetic changes to networking logic
|
9 years ago |
Gregory Nutt
|
6687e156e6
Revamp last change. IFF_UP only required when allocating callback, not freeing.
|
9 years ago |
Gregory Nutt
|
0bdf2d5360
UDP Networking: Misc fixes to get the last changes working + cleanup
|
9 years ago |
Gregory Nutt
|
f10fdf7ad4
Networking: Add a test to see a device pointer is still valid
|
9 years ago |
Gregory Nutt
|
4747c04c94
Trivial correction to some comments
|
9 years ago |
Gregory Nutt
|
e81f279315
Networking: Modify event list handling: Now there are two event lists each device structure: (1) One is for ARP and ICMP data related evetns, the other is for device related events. Callback allocation/free routines no accept a device paramter as well as a list: If the device paramter is added, then the callback goes into both the connection-related liast AND the device event list. Thus each socket type can received both custom data-related events as well as common device related events.
|
9 years ago |
Gregory Nutt
|
b94321cfb4
Extend device specific callbacks to ICMPv6 and ARP. Fix some IPv6 compilation errors that have crept in
|
9 years ago |
Gregory Nutt
|
cab24a4bd8
Add inclusion of assert.h to so files that use DEBUGASSERT
|
10 years ago |
Gregory Nutt
|
a6b39d1879
NET: in-progress change... don't use
|
10 years ago |
Gregory Nutt
|
fa68fcc843
NET: Rename uip_callback_s to devif_callback_s
|
10 years ago |
Gregory Nutt
|
8e706eb4ff
Rename many functions in net/devif from uip_* to devif_*
|
10 years ago |
Gregory Nutt
|
5790c94ba3
Rename net/uip to net/devif. Rename uip/uip.h to devif/devif.h
|
10 years ago |