diff options
author | Justin Iurman <justin.iurman@uliege.be> | 2024-02-26 14:14:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-28 11:19:41 +0000 |
commit | 67c8e4bb4f54ad22ca0ce4700c8728ffd73acb66 (patch) | |
tree | 9dce8a0858fca952bc9677aa8f17e74c169ad57b /include | |
parent | 5fa918a33563e050d45fb8f260f9240b2039f432 (diff) |
net: ioam6: multicast event
Add a multicast group to the ioam6 generic netlink family and provide
ioam6_event() to send an ioam6 event to the multicast group.
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ioam6.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/ioam6.h b/include/net/ioam6.h index 781d2d8b2f29..2cbbee6e806a 100644 --- a/include/net/ioam6.h +++ b/include/net/ioam6.h @@ -12,6 +12,7 @@ #include <linux/net.h> #include <linux/ipv6.h> #include <linux/ioam6.h> +#include <linux/ioam6_genl.h> #include <linux/rhashtable-types.h> struct ioam6_namespace { @@ -65,4 +66,7 @@ void ioam6_exit(void); int ioam6_iptunnel_init(void); void ioam6_iptunnel_exit(void); +void ioam6_event(enum ioam6_event_type type, struct net *net, gfp_t gfp, + void *opt, unsigned int opt_len); + #endif /* _NET_IOAM6_H */ |