aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/netlink
AgeCommit message (Collapse)Author
2026-03-25internal/netlink: wrap netpoll via contextOphestra
This removes netpoll boilerplate for the most common use case. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-25internal/netlink: nonblocking socket I/OOphestra
This enables use with blocking calls like when used with NETLINK_KOBJECT_UEVENT. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-23internal/netlink: make full response availableOphestra
The previous API makes it impossible to retrieve remaining messages in the current iteration. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-23internal/netlink: isolate receive methodOphestra
This enables use with epoll for receiving events only. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-16internal/netlink: generalise implementation from containerOphestra
This is useful for uevent implementation. Signed-off-by: Ophestra <cat@gensokyo.uk>