Xiang Xiao
|
95efbf7e62
|
netlib: fix nxstyle issue for netlink related code
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2020-04-10 09:22:08 -06:00 |
|
Xiang Xiao
|
63157f3a4d
|
nshlib: use rtgenmsg for netlib_get_arptable/netlib_get_nbtable lik Linux
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I0b28eea6a70d0b5f6c5beef26f6624edfb3d6c86
|
2020-04-10 09:22:08 -06:00 |
|
Xiang Xiao
|
300bc2729a
|
netlib: correct netlink usage to follow Linux convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Iae98b0a008dc42dddb77f47d79511ae4fb4bbfca
|
2020-04-10 09:22:08 -06:00 |
|
Gregory Nutt
|
449290c8da
|
apps/examples/netlink_route: Add test/example of NETLINK_ROUTE 'get' opeations. apps/netutils/netlib: Fixes to NETLINK_ROUTE helpers found by testing with apps/examples/netlink_route.
|
2019-11-11 13:40:57 -06:00 |
|
Gregory Nutt
|
438777cd38
|
netutils/netlib/netlib_getroute.c: Add function to retrieve routing tables using netlink.
|
2019-11-10 12:36:34 -06:00 |
|
Gregory Nutt
|
e260ea779c
|
apps/netutils/netlib/netlib_getnbtab.c: Add a utility function that will return a list of all network devices in the UP state.
|
2019-11-09 17:38:02 -06:00 |
|
Gregory Nutt
|
2507cc15e8
|
netutils/netlib/netlib_getnbtab.c: Add support for retrieving a snapshot of the IPv6 neighbor table using Netlink sockets.
|
2019-11-08 11:30:32 -06:00 |
|
Gregory Nutt
|
f4f1ddccd7
|
netutils/netlib/netlib_getarptab.c: Per an old Linux Journal article, the nl_pid fild of struct sockaddr_nl should be set to the PID of the task that created the Netlink socket. Also fixes a warning.
|
2019-11-07 14:08:03 -06:00 |
|
Gregory Nutt
|
de9101a1d9
|
apps/netutils/netlib/netlib_getarptab.c: Fix typos in comments.
|
2019-11-04 12:31:13 -06:00 |
|
Gregory Nutt
|
af6719d78d
|
netutils/netlib/netlib_getarptab.c: Do not initialize response buffer, it is write-only. Also add a check to assue that the sequence number in the response is the same as the sequence number in the request.
|
2019-11-04 09:04:17 -06:00 |
|
Gregory Nutt
|
b65c3dac0e
|
netutils/netlib/netlib_getarptab.c: Misc fixes from initial testing with the 'arp -t' commeand.
|
2019-11-03 19:29:20 -06:00 |
|
Gregory Nutt
|
400995dec6
|
nshlib/nsh_netcmds.c: Add a -t option to the arp command which will enable printing the entire ARP table.
|
2019-11-03 16:19:14 -06:00 |
|
Gregory Nutt
|
768218ee81
|
netutils/netlib/netlib_getarptab.c: Add a function to read the entire ARP tableusing NETLINK_ROUTE protocol.
|
2019-11-03 15:13:47 -06:00 |
|