Alin Jerpelea
|
37d5c1b0d9
net: Author Gregory Nutt: update licenses to Apache
|
3 years ago |
Xiang Xiao
|
0536953ded
Kernel module should prefer functions with nx/kmm prefix
|
4 years ago |
Gregory Nutt
|
a569006fd8
sched/: Make more naming consistent
|
4 years ago |
Xiang Xiao
|
6f1c86d934
netlink: Fix the compiler warning in netlink_add_broadcast
|
4 years ago |
Xiang Xiao
|
bd39813883
netlink: Add netlink_add_broadcast function
|
4 years ago |
chao.an
|
755265506c
netlink: replace the operation handle to connection
|
4 years ago |
Xiang Xiao
|
581dbb22fe
netlink: Fix nxstyle issue
|
4 years ago |
Xiang Xiao
|
3421ec90b4
netlink: Shouldn't call netlink_notify_response in netlink_poll
|
4 years ago |
Xiang Xiao
|
9fb6eee5fe
netlink: Remove the unused netlink_active
|
4 years ago |
Xiang Xiao
|
bd4e8e19d3
Run codespell -w against all files
|
4 years ago |
chao.an
|
a4aa8ae491
wqueue/notifier: update the work notifier usage
|
4 years ago |
Xiang Xiao
|
6a3c2aded6
Fix wait loop and void cast (#24)
|
4 years ago |
Gregory Nutt
|
16b1c276bd
net/netlink/netlink_conn.c: Fix some really basic errors in the redesign of the asynchronous Netlink response logic.
|
4 years ago |
Gregory Nutt
|
4ae09a3b80
net/netlink: Redesign the logic that handles notifications of when response data is available. Signal handlers are sub-optimal inside the OS (especially after the preceding change which forces the hand). Instead, use the work queue notifiers as is done with all other network notifiers.
|
4 years ago |
Gregory Nutt
|
69318b1024
Re-implements reverted commit 344f7bc9f61d139b932bf6c6a5001e7a8e54409d in a way that should not have the undesired side-effect. include/nuttx/sched.h: Add a bit to the TCB flags to indicat the thread is a user thread in a syscall. sched/nuttx/nxsig_dispatch.c: Delay dispatching to signal handlers if within a system call. In all syscall implementations: Process delayed signal handling when exiting system call.
|
4 years ago |
Gregory Nutt
|
cbdd590c82
Revert "include/nuttx/sched.h: Add storage for a previous signal mask. arch/: In all syscall implementations, block all signals before dispatching a system call; resotre signal mask when the system call returns."
|
4 years ago |
Gregory Nutt
|
344f7bc9f6
include/nuttx/sched.h: Add storage for a previous signal mask. arch/: In all syscall implemenations, block all signals before dispatching a system call; resotre signal mask when the system call returnes.
|
4 years ago |
Gregory Nutt
|
d1593bb336
Squashed commit of the following:
|
4 years ago |
Gregory Nutt
|
a8f3c3651a
net/netlink/netlink_conn.c: Use nxsig_queue() instead of nxsig_kill() so that we can pass a reference to the connection structure with the signal.
|
4 years ago |
Gregory Nutt
|
93ed8b66d9
net/netlink: Add partial support for the NETLINK poll() operation. Still missing is some signal handling logic that actually wakes up the poll() when an asynchronous NETLLINK response is available.
|
4 years ago |
Gregory Nutt
|
bc8d964cb9
net/netlink: Add some comments about 'Input Parameters'
|
4 years ago |
Gregory Nutt
|
936d69da1f
net/netlink and include/nuttx/net/netlink.h: Make netlink_add_response() a globally access part of the network interface. This is necesssary to support netlink components that reside outside of the net/ sandbox.
|
5 years ago |
Gregory Nutt
|
6479775721
net/netlink/netlink_conn.c: Add support for asynchronous Netlink responses.
|
5 years ago |
Gregory Nutt
|
38e527deeb
net/netlink: Fix cosmetic issues, mostly typo fixes.
|
5 years ago |
Gregory Nutt
|
6d13705e93
net/netlink: The NETLINK_ROUTE logic needs to return the first queued response and not attempt to match up reponses with requests. That is the Linux compatible way. Also, use queue.h functions for list management and fix an error in arp_snapshot().
|
5 years ago |
Gregory Nutt
|
2991987018
net/netlink/netlink_route.c (mostly): This completes a minimal netlink implementation that will retrieve the ARP table.
|
5 years ago |
Gregory Nutt
|
056d704cf9
This commit brings in a fragmentary, experimental implementation of NETLINK sockets. There is not too much to that socket support on this initial commit, just the netlink socketer framework. However, I decided to bring it into master because there is a enough that I would not want to lose what is in place. And since it is dependent on CONFIG_EXPERIMENATL, its presence on master should be innocuous.
|
6 years ago |