package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Functions
ExtractSockAddr extracts the SockAddrNetlink from b.
New creates a new Socket.
NewMessage creates a new Message containing the passed header.
NewMessageSet creates a new MessageSet.
ParseMessage parses the first message seen at buf, returning the rest of the buffer.
RegisterProvider registers the provider of a given address protocol so that netlink sockets of that type can be created via socket(2).
# Structs
Message contains a complete serialized netlink message.
MessageSet contains a series of netlink messages.
Socket is the base socket type for netlink sockets.
# Interfaces
Protocol is the implementation of a netlink socket protocol.