Gregory Nutt
b72f7cf47f
net/netlink/netlink_route.c: Fix a case where #if was used but #ifdef was intended.
2019-11-19 09:47:57 -06:00
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.
2019-11-18 21:12:50 -06:00
Gregory Nutt
a7a1b0888e
net/netlink/netlink_route.c: Remove dangling whitespace at the end of lines.
2019-11-18 10:47:35 -06:00
Gregory Nutt
6479775721
net/netlink/netlink_conn.c: Add support for asynchronous Netlink responses.
2019-11-18 09:48:14 -06:00
Gregory Nutt
9d6c607afc
net/netlink/netlink_route.c: Add some comments.
2019-11-12 10:36:05 -06:00
Gregory Nutt
3e1937b49b
net/netlink: Add options to disable individual NETLINK_ROUTE commands. This will probably become quite large and will need to be higher tunable for smaller platforms.
2019-11-12 10:19:42 -06:00
Gregory Nutt
3811a0f5cc
net/netlink/netlink_route.c: Update some comments.
2019-11-12 07:59:43 -06:00
Gregory Nutt
ecbd5a85d7
net/netlink: Fixes from testing with new apps/examples/netlink_route.
2019-11-11 13:38:11 -06:00
Gregory Nutt
71a968ad71
net/netlink/netlink_route.c: Add missing routing table list terminating response.
2019-11-10 15:00:05 -06:00
Gregory Nutt
3a8a829088
net/netlink/netlink_route.c: Add support for obtaining the entire routing table.
2019-11-10 14:11:44 -06:00
Gregory Nutt
bda0a9c6a7
net/netlink: Fix offset in rtattr. include/net/route.h: Correct form and naming of sruct rtentry. include/netpacket/netlink.h: Add some definitions that will be needed to access routing tables.
2019-11-10 12:35:15 -06:00
Gregory Nutt
8c85ecf531
net/netlink/netlink_route.c: Add support for the NETLINK_ROUTE RTM_GETLINK command that is used to obtain a list of all devices in the UP state.
2019-11-09 17:36:30 -06:00
Gregory Nutt
dbbabcd33c
Squashed commit of the following:
...
net/netlink/netlink_route.c: Add Netlink socket NETLINK_ROUTE support for getting a snopshot of the Neighbor table.
net/neighbor/neighbor_snapshot.c: Add neighbor_snapshot() that will eventually be used by the Netlink sockets. Also fixed naming violation 'struct neighbor_entry' -> 'struct neighbor_entry_s'.
include/nuttx/net/neighbor.h: Expose format of the IPv6 neighbor table for use with Netlink sockets.
2019-11-08 11:16:04 -06:00
Gregory Nutt
38e527deeb
net/netlink: Fix cosmetic issues, mostly typo fixes.
2019-11-04 14:06:07 -06:00
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().
2019-11-04 09:02:14 -06:00
Gregory Nutt
7bd045130c
net/netlink/: Misc bugfixes from initial testing using NSH 'arp -t' command.
2019-11-03 19:27:58 -06:00
Gregory Nutt
2991987018
net/netlink/netlink_route.c (mostly): This completes a minimal netlink implementation that will retrieve the ARP table.
...
net/netlink: Add basic hooks (only) to support the NETLINK_ROUTE protocol.
2019-11-03 13:59:42 -06:00