зеркало из https://github.com/golang/sys.git
unix: add RTMGRP_* consts from rtnetlink.h
Change-Id: I50fe62020e539df0ada577b71e87fb67b7e43973 Reviewed-on: https://go-review.googlesource.com/c/sys/+/219797 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Родитель
12a6c2dcc1
Коммит
2d4d9931dc
|
@ -486,7 +486,7 @@ ccflags="$@"
|
|||
$2 ~ /^TCSET/ ||
|
||||
$2 ~ /^TC(FLSH|SBRKP?|XONC)$/ ||
|
||||
$2 !~ "RTF_BITS" &&
|
||||
$2 ~ /^(IFF|IFT|NET_RT|RTM|RTF|RTV|RTA|RTAX)_/ ||
|
||||
$2 ~ /^(IFF|IFT|NET_RT|RTM(GRP)?|RTF|RTV|RTA|RTAX)_/ ||
|
||||
$2 ~ /^BIOC/ ||
|
||||
$2 ~ /^RUSAGE_(SELF|CHILDREN|THREAD)/ ||
|
||||
$2 ~ /^RLIMIT_(AS|CORE|CPU|DATA|FSIZE|LOCKS|MEMLOCK|MSGQUEUE|NICE|NOFILE|NPROC|RSS|RTPRIO|RTTIME|SIGPENDING|STACK)|RLIM_INFINITY/ ||
|
||||
|
|
|
@ -1938,6 +1938,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1939,6 +1939,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1945,6 +1945,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1931,6 +1931,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1938,6 +1938,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1938,6 +1938,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1938,6 +1938,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1938,6 +1938,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1997,6 +1997,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1997,6 +1997,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1926,6 +1926,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1999,6 +1999,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
|
@ -1992,6 +1992,21 @@ const (
|
|||
RTF_UP = 0x1
|
||||
RTF_WINDOW = 0x80
|
||||
RTF_XRESOLVE = 0x800
|
||||
RTMGRP_DECnet_IFADDR = 0x1000
|
||||
RTMGRP_DECnet_ROUTE = 0x4000
|
||||
RTMGRP_IPV4_IFADDR = 0x10
|
||||
RTMGRP_IPV4_MROUTE = 0x20
|
||||
RTMGRP_IPV4_ROUTE = 0x40
|
||||
RTMGRP_IPV4_RULE = 0x80
|
||||
RTMGRP_IPV6_IFADDR = 0x100
|
||||
RTMGRP_IPV6_IFINFO = 0x800
|
||||
RTMGRP_IPV6_MROUTE = 0x200
|
||||
RTMGRP_IPV6_PREFIX = 0x20000
|
||||
RTMGRP_IPV6_ROUTE = 0x400
|
||||
RTMGRP_LINK = 0x1
|
||||
RTMGRP_NEIGH = 0x4
|
||||
RTMGRP_NOTIFY = 0x2
|
||||
RTMGRP_TC = 0x8
|
||||
RTM_BASE = 0x10
|
||||
RTM_DELACTION = 0x31
|
||||
RTM_DELADDR = 0x15
|
||||
|
|
Загрузка…
Ссылка в новой задаче