[PATCH net-next v5 0/3] ioam6: netlink multicast event

From: Justin Iurman
Date: Mon Feb 26 2024 - 08:16:11 EST


v5:
- remove the "must be the destination" check before sending an ioam6
event
v4:
- rebase on top of net merge
v3:
- patchset was mistakenly superseded due to same cover title used for
iproute2-next equivalent patch -> resend (renamed)
v2:
- fix warnings

Add generic netlink multicast event support to ioam6 as another solution
to share IOAM data with user space. The other one being via IPv6 raw
sockets combined with ancillary data (or packet socket, if the listener
does not need the processing of the IOAM Option-Type, since the hook is
before in that case). This patchset focuses on the IOAM Pre-allocated
Trace (the only Option-Type currently supported in the kernel), and so
on IOAM "trace" events. See an example of a consumer here [1].

[1] https://github.com/Advanced-Observability/ioam-agent-python/blob/netlink_event/ioam-agent.py

Justin Iurman (3):
uapi: ioam6: API for netlink multicast events
net: ioam6: multicast event
net: exthdrs: ioam6: send trace event

include/net/ioam6.h | 4 +++
include/uapi/linux/ioam6_genl.h | 20 +++++++++++
net/ipv6/exthdrs.c | 4 +++
net/ipv6/ioam6.c | 64 +++++++++++++++++++++++++++++++++
4 files changed, 92 insertions(+)


base-commit: 5fc3903c46a743781cd35fdecfdd889c522e2c3b
--
2.34.1