mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-03 07:37:34 -04:00
unix: add Linux network namespace constants
This adds the NETNSA constants from net_namespace.h, used for creating and querying network namespace IDs. Fixes golang/go#26330 Change-Id: I786c4c4771be3eddc4fdb830a52e128aa1a2b9fd Reviewed-on: https://go-review.googlesource.com/124436 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Ian Lance Taylor
parent
bd9dbc187b
commit
3dc4335d56
@@ -1075,6 +1075,8 @@ const (
|
||||
NETLINK_UNUSED = 0x1
|
||||
NETLINK_USERSOCK = 0x2
|
||||
NETLINK_XFRM = 0x6
|
||||
NETNSA_MAX = 0x3
|
||||
NETNSA_NSID_NOT_ASSIGNED = -0x1
|
||||
NFNETLINK_V0 = 0x0
|
||||
NFNLGRP_ACCT_QUOTA = 0x8
|
||||
NFNLGRP_CONNTRACK_DESTROY = 0x3
|
||||
|
||||
Reference in New Issue
Block a user