mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
unix: add NLMSGERR constants for netlink extended acknowledgement
Change-Id: I8d23fc227d1f61b823abcf610479005356c52088 Reviewed-on: https://go-review.googlesource.com/c/sys/+/286072 Trust: Matt Layher <mdlayher@gmail.com> Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This commit is contained in:
@@ -3655,3 +3655,11 @@ const (
|
||||
CLOSE_RANGE_UNSHARE = C.CLOSE_RANGE_UNSHARE
|
||||
CLOSE_RANGE_CLOEXEC = C.CLOSE_RANGE_CLOEXEC
|
||||
)
|
||||
|
||||
// Netlink extended acknowledgement TLVs.
|
||||
|
||||
const (
|
||||
NLMSGERR_ATTR_MSG = C.NLMSGERR_ATTR_MSG
|
||||
NLMSGERR_ATTR_OFFS = C.NLMSGERR_ATTR_OFFS
|
||||
NLMSGERR_ATTR_COOKIE = C.NLMSGERR_ATTR_COOKIE
|
||||
)
|
||||
|
||||
@@ -3714,3 +3714,9 @@ const (
|
||||
CLOSE_RANGE_UNSHARE = 0x2
|
||||
CLOSE_RANGE_CLOEXEC = 0x4
|
||||
)
|
||||
|
||||
const (
|
||||
NLMSGERR_ATTR_MSG = 0x1
|
||||
NLMSGERR_ATTR_OFFS = 0x2
|
||||
NLMSGERR_ATTR_COOKIE = 0x3
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user