Xiang Xiao
3afd1234e0
netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-04 22:05:14 +02:00
Alin Jerpelea
5572819bb1
netutils: nxstyle fixes
...
fixes for errors reported by nxstyle tool
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-11 08:53:57 -05:00
Alin Jerpelea
0a6b1f55ab
netutils: update licenses to Apache
...
Gregory Nutt is has submitted the SGA
Sebastien Lorquet has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-11 05:05:27 -05:00
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
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
370bd94a6b
netutils/netlib/netlib_getdevs.c: Add comments and a placeholder for the RTM_NEWROUTE response.
2019-11-12 10:37:40 -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