summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-08-10 05:43:47 +0000
committergVisor bot <gvisor-bot@google.com>2019-08-10 05:43:47 +0000
commit30bbd43c6dc26ce67f08b23d6de308bc689f10e4 (patch)
treead329bdcbff6c7e5ced04e0601fe10e00f928482 /pkg/abi
parentb53180cc094a07644392639183eb8e4062f95e53 (diff)
parentaf90e68623c729d0e3b06a1e838c5584d2d8b7c2 (diff)
Merge af90e686 (automated)
Diffstat (limited to 'pkg/abi')
-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
+}