summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/netlink.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/abi/linux/netlink.go')
-rw-r--r--pkg/abi/linux/netlink.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/abi/linux/netlink.go b/pkg/abi/linux/netlink.go
index e8b6544b4..0ba086c76 100644
--- a/pkg/abi/linux/netlink.go
+++ b/pkg/abi/linux/netlink.go
@@ -122,3 +122,9 @@ const (
NETLINK_EXT_ACK = 11
NETLINK_DUMP_STRICT_CHK = 12
)
+
+// NetlinkErrorMessage is struct nlmsgerr, from uapi/linux/netlink.h.
+type NetlinkErrorMessage struct {
+ Error int32
+ Header NetlinkMessageHeader
+}