chao.an
bd4bccbe27
netlink: add netlink multicast group define
...
Change-Id: I0cedbee311f83320ba396a1004e12075e835cccf
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-16 17:39:06 +08:00
Xiang Xiao
5708015674
netlink: Sync the macro with Linux definition
...
Change-Id: I0c0895fa17e167c67fb12acfdfc6dc3a7fb63b3b
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-10 08:18:07 -06:00
chao.an
55907b0062
netlink: fix nxstyle warning
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-03 10:33:31 +02:00
chao.an
9a9d76744b
netlink: add NLMSG_OK definition
...
Change-Id: I4ab4cabd1e6950802eda360d972d2ef5cea30da2
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-03 10:33:31 +02:00
chao.an
80c90399e6
netlink: fix typo
...
Change-Id: Ic4e44374945c925b880ba4058f795317f2816107
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-03 10:33:31 +02:00
Xiang Xiao
80277d1630
Refine the preprocessor conditional guard style ( #190 )
2020-01-31 19:07:39 +01:00
Gregory Nutt
ab78f0ca0a
include/netpacket/netlink.h: Backout some preliminary NETLINK_CRYPTO definitions. These are premature (but may come back).
2019-11-17 10:47:24 -06:00
Gregory Nutt
8f726181ed
include/sys/syscall.h: Should be SYS_getitimer and SYS_setitimer, not SYS_getitime and SYS_setitime.
2019-11-14 10:47:11 -06:00
Gregory Nutt
46818f4064
include/netpacket/netlink.h: NETLINK_CRYPTO messages numbers must no overlap NETLINK_ROUTE message numbers.
2019-11-14 10:00:41 -06:00
Gregory Nutt
741fa461c1
syscall/: Implementation of sysclal for new getitimer and setitimer were incomplete.
2019-11-14 09:48:56 -06:00
Gregory Nutt
82a4111a2b
include/netpacket/netlink.h: Add definitions that will be needed for future NETLINK_CRYPTO support.
2019-11-14 09:18:11 -06:00
Gregory Nutt
5344fff515
include/netpacket/netlink.h: Additional general clean-up.
2019-11-12 14:21:18 -06:00
Gregory Nutt
73b86ee458
include/netpacket/netlink.h: General clean-up and re-organization.
2019-11-12 13:27:19 -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
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
fa98b268ec
include/netpacket/netlink.h: Some cosmetic reorganization.
2019-11-03 16:15:59 -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
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.
...
Squashed commit of the following:
net/netlink: Mark netlink support as EXPERIMENTAL.
net/netlink/netlink_sockif.c: Add netlink_getpeername to the socket interface.
net: Add getpeeername() support for netlink sockets.
include/netpacket/netlink.h: Add a few more definitions and structures used at the NetLink interface. Still missing many.
net/netlink: Add basic framework for Netlink socket support.
include/: Add basic Netlink definitions.
2018-08-03 13:22:36 -06:00