Browse Source

unix: update rtnetlink constants

Change-Id: I21551672b5d8dd3e56c49da69f66dc19b07a5299
Reviewed-on: https://go-review.googlesource.com/c/sys/+/199757
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
master
Lehner Florian Tobias Klauser 1 month ago
parent
commit
06d7bd2c5f
14 changed files with 506 additions and 224 deletions
  1. +38
    -16
      unix/linux/types.go
  2. +36
    -16
      unix/ztypes_linux_386.go
  3. +36
    -16
      unix/ztypes_linux_amd64.go
  4. +36
    -16
      unix/ztypes_linux_arm.go
  5. +36
    -16
      unix/ztypes_linux_arm64.go
  6. +36
    -16
      unix/ztypes_linux_mips.go
  7. +36
    -16
      unix/ztypes_linux_mips64.go
  8. +36
    -16
      unix/ztypes_linux_mips64le.go
  9. +36
    -16
      unix/ztypes_linux_mipsle.go
  10. +36
    -16
      unix/ztypes_linux_ppc64.go
  11. +36
    -16
      unix/ztypes_linux_ppc64le.go
  12. +36
    -16
      unix/ztypes_linux_riscv64.go
  13. +36
    -16
      unix/ztypes_linux_s390x.go
  14. +36
    -16
      unix/ztypes_linux_sparc64.go

+ 38
- 16
unix/linux/types.go View File

@@ -703,22 +703,6 @@ const (
RTN_THROW = C.RTN_THROW
RTN_NAT = C.RTN_NAT
RTN_XRESOLVE = C.RTN_XRESOLVE
RTNLGRP_NONE = C.RTNLGRP_NONE
RTNLGRP_LINK = C.RTNLGRP_LINK
RTNLGRP_NOTIFY = C.RTNLGRP_NOTIFY
RTNLGRP_NEIGH = C.RTNLGRP_NEIGH
RTNLGRP_TC = C.RTNLGRP_TC
RTNLGRP_IPV4_IFADDR = C.RTNLGRP_IPV4_IFADDR
RTNLGRP_IPV4_MROUTE = C.RTNLGRP_IPV4_MROUTE
RTNLGRP_IPV4_ROUTE = C.RTNLGRP_IPV4_ROUTE
RTNLGRP_IPV4_RULE = C.RTNLGRP_IPV4_RULE
RTNLGRP_IPV6_IFADDR = C.RTNLGRP_IPV6_IFADDR
RTNLGRP_IPV6_MROUTE = C.RTNLGRP_IPV6_MROUTE
RTNLGRP_IPV6_ROUTE = C.RTNLGRP_IPV6_ROUTE
RTNLGRP_IPV6_IFINFO = C.RTNLGRP_IPV6_IFINFO
RTNLGRP_IPV6_PREFIX = C.RTNLGRP_IPV6_PREFIX
RTNLGRP_IPV6_RULE = C.RTNLGRP_IPV6_RULE
RTNLGRP_ND_USEROPT = C.RTNLGRP_ND_USEROPT
SizeofNlMsghdr = C.sizeof_struct_nlmsghdr
SizeofNlMsgerr = C.sizeof_struct_nlmsgerr
SizeofRtGenmsg = C.sizeof_struct_rtgenmsg
@@ -2016,6 +2000,44 @@ const (
BPF_FD_TYPE_URETPROBE = C.BPF_FD_TYPE_URETPROBE
)

// generated by:
// perl -nlE '/^\s*(RTNLGRP_\w+)/ && say "$1 = C.$1"' include/uapi/linux/rtnetlink.h
const (
RTNLGRP_NONE = C.RTNLGRP_NONE
RTNLGRP_LINK = C.RTNLGRP_LINK
RTNLGRP_NOTIFY = C.RTNLGRP_NOTIFY
RTNLGRP_NEIGH = C.RTNLGRP_NEIGH
RTNLGRP_TC = C.RTNLGRP_TC
RTNLGRP_IPV4_IFADDR = C.RTNLGRP_IPV4_IFADDR
RTNLGRP_IPV4_MROUTE = C.RTNLGRP_IPV4_MROUTE
RTNLGRP_IPV4_ROUTE = C.RTNLGRP_IPV4_ROUTE
RTNLGRP_IPV4_RULE = C.RTNLGRP_IPV4_RULE
RTNLGRP_IPV6_IFADDR = C.RTNLGRP_IPV6_IFADDR
RTNLGRP_IPV6_MROUTE = C.RTNLGRP_IPV6_MROUTE
RTNLGRP_IPV6_ROUTE = C.RTNLGRP_IPV6_ROUTE
RTNLGRP_IPV6_IFINFO = C.RTNLGRP_IPV6_IFINFO
RTNLGRP_DECnet_IFADDR = C.RTNLGRP_DECnet_IFADDR
RTNLGRP_NOP2 = C.RTNLGRP_NOP2
RTNLGRP_DECnet_ROUTE = C.RTNLGRP_DECnet_ROUTE
RTNLGRP_DECnet_RULE = C.RTNLGRP_DECnet_RULE
RTNLGRP_NOP4 = C.RTNLGRP_NOP4
RTNLGRP_IPV6_PREFIX = C.RTNLGRP_IPV6_PREFIX
RTNLGRP_IPV6_RULE = C.RTNLGRP_IPV6_RULE
RTNLGRP_ND_USEROPT = C.RTNLGRP_ND_USEROPT
RTNLGRP_PHONET_IFADDR = C.RTNLGRP_PHONET_IFADDR
RTNLGRP_PHONET_ROUTE = C.RTNLGRP_PHONET_ROUTE
RTNLGRP_DCB = C.RTNLGRP_DCB
RTNLGRP_IPV4_NETCONF = C.RTNLGRP_IPV4_NETCONF
RTNLGRP_IPV6_NETCONF = C.RTNLGRP_IPV6_NETCONF
RTNLGRP_MDB = C.RTNLGRP_MDB
RTNLGRP_MPLS_ROUTE = C.RTNLGRP_MPLS_ROUTE
RTNLGRP_NSID = C.RTNLGRP_NSID
RTNLGRP_MPLS_NETCONF = C.RTNLGRP_MPLS_NETCONF
RTNLGRP_IPV4_MROUTE_R = C.RTNLGRP_IPV4_MROUTE_R
RTNLGRP_IPV6_MROUTE_R = C.RTNLGRP_IPV6_MROUTE_R
RTNLGRP_NEXTHOP = C.RTNLGRP_NEXTHOP
)

// Capabilities

type CapUserHeader C.struct___user_cap_header_struct

+ 36
- 16
unix/ztypes_linux_386.go View File

@@ -599,22 +599,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2484,6 +2468,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_amd64.go View File

@@ -600,22 +600,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2497,6 +2481,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_arm.go View File

@@ -603,22 +603,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2475,6 +2459,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_arm64.go View File

@@ -601,22 +601,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2476,6 +2460,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_mips.go View File

@@ -602,22 +602,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2481,6 +2465,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_mips64.go View File

@@ -601,22 +601,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2478,6 +2462,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_mips64le.go View File

@@ -601,22 +601,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2478,6 +2462,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_mipsle.go View File

@@ -602,22 +602,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2481,6 +2465,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_ppc64.go View File

@@ -602,22 +602,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2486,6 +2470,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_ppc64le.go View File

@@ -602,22 +602,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2486,6 +2470,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_riscv64.go View File

@@ -601,22 +601,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2504,6 +2488,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_s390x.go View File

@@ -600,22 +600,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2500,6 +2484,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

+ 36
- 16
unix/ztypes_linux_sparc64.go View File

@@ -604,22 +604,6 @@ const (
RTN_THROW = 0x9
RTN_NAT = 0xa
RTN_XRESOLVE = 0xb
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
SizeofNlMsghdr = 0x10
SizeofNlMsgerr = 0x14
SizeofRtGenmsg = 0x1
@@ -2481,6 +2465,42 @@ const (
BPF_FD_TYPE_URETPROBE = 0x5
)

const (
RTNLGRP_NONE = 0x0
RTNLGRP_LINK = 0x1
RTNLGRP_NOTIFY = 0x2
RTNLGRP_NEIGH = 0x3
RTNLGRP_TC = 0x4
RTNLGRP_IPV4_IFADDR = 0x5
RTNLGRP_IPV4_MROUTE = 0x6
RTNLGRP_IPV4_ROUTE = 0x7
RTNLGRP_IPV4_RULE = 0x8
RTNLGRP_IPV6_IFADDR = 0x9
RTNLGRP_IPV6_MROUTE = 0xa
RTNLGRP_IPV6_ROUTE = 0xb
RTNLGRP_IPV6_IFINFO = 0xc
RTNLGRP_DECnet_IFADDR = 0xd
RTNLGRP_NOP2 = 0xe
RTNLGRP_DECnet_ROUTE = 0xf
RTNLGRP_DECnet_RULE = 0x10
RTNLGRP_NOP4 = 0x11
RTNLGRP_IPV6_PREFIX = 0x12
RTNLGRP_IPV6_RULE = 0x13
RTNLGRP_ND_USEROPT = 0x14
RTNLGRP_PHONET_IFADDR = 0x15
RTNLGRP_PHONET_ROUTE = 0x16
RTNLGRP_DCB = 0x17
RTNLGRP_IPV4_NETCONF = 0x18
RTNLGRP_IPV6_NETCONF = 0x19
RTNLGRP_MDB = 0x1a
RTNLGRP_MPLS_ROUTE = 0x1b
RTNLGRP_NSID = 0x1c
RTNLGRP_MPLS_NETCONF = 0x1d
RTNLGRP_IPV4_MROUTE_R = 0x1e
RTNLGRP_IPV6_MROUTE_R = 0x1f
RTNLGRP_NEXTHOP = 0x20
)

type CapUserHeader struct {
Version uint32
Pid int32

Loading…
Cancel
Save