syzkaller/sys/linux/socket_netlink_route_arm.const
Hangbin Liu 73417389ce sys/linux/socket_netlink_route: add routing rules
Also fix RTA_MULTIPATH data type. We only need struct rtnexthop,
no need to use array type.

v1 -> v2:
Use uid and sock_port instead of int32/16. Use flags for FRA_PROTOCOL
and FRA_IP_PROTO.

Add type fib_rule_hdr because even though the structure is same with rtmsg.
The table, action and flags values are not same.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
2018-04-25 09:33:09 +02:00

256 lines
4.8 KiB
Plaintext

# AUTOGENERATED FILE
AF_BRIDGE = 7
AF_INET = 2
AF_INET6 = 10
AF_MPLS = 28
AF_NETLINK = 16
AF_UNSPEC = 0
FIB_RULE_FIND_SADDR = 65536
FIB_RULE_IIF_DETACHED = 8
FIB_RULE_INVERT = 2
FIB_RULE_OIF_DETACHED = 16
FIB_RULE_PERMANENT = 1
FIB_RULE_UNRESOLVED = 4
FRA_DPORT_RANGE = 24
FRA_FLOW = 11
FRA_FWMARK = 10
FRA_FWMASK = 16
FRA_GOTO = 4
FRA_IIFNAME = 3
FRA_IP_PROTO = 22
FRA_L3MDEV = 19
FRA_OIFNAME = 17
FRA_PRIORITY = 6
FRA_PROTOCOL = 21
FRA_SPORT_RANGE = 23
FRA_SUPPRESS_IFGROUP = 13
FRA_SUPPRESS_PREFIXLEN = 14
FRA_TABLE = 15
FRA_UID_RANGE = 20
FR_ACT_BLACKHOLE = 6
FR_ACT_GOTO = 2
FR_ACT_NOP = 3
FR_ACT_PROHIBIT = 8
FR_ACT_RES3 = 4
FR_ACT_RES4 = 5
FR_ACT_TO_TBL = 1
FR_ACT_UNREACHABLE = 7
FR_ACT_UNSPEC = 0
IFA_ADDRESS = 1
IFA_BROADCAST = 4
IFA_CACHEINFO = 6
IFA_FLAGS = 8
IFA_F_DADFAILED = 8
IFA_F_DEPRECATED = 32
IFA_F_HOMEADDRESS = 16
IFA_F_MANAGETEMPADDR = 256
IFA_F_MCAUTOJOIN = 1024
IFA_F_NODAD = 2
IFA_F_NOPREFIXROUTE = 512
IFA_F_OPTIMISTIC = 4
IFA_F_PERMANENT = 128
IFA_F_SECONDARY = 1
IFA_F_TENTATIVE = 64
IFA_LABEL = 3
IFA_LOCAL = 2
IFF_ALLMULTI = 512
IFF_AUTOMEDIA = 16384
IFF_BROADCAST = 2
IFF_DEBUG = 4
IFF_DORMANT = 131072
IFF_DYNAMIC = 32768
IFF_ECHO = 262144
IFF_LOOPBACK = 8
IFF_LOWER_UP = 65536
IFF_MASTER = 1024
IFF_MULTICAST = 4096
IFF_NOARP = 128
IFF_NOTRAILERS = 32
IFF_POINTOPOINT = 16
IFF_PORTSEL = 8192
IFF_PROMISC = 256
IFF_RUNNING = 64
IFF_SLAVE = 2048
IFF_UP = 1
IFLA_ADDRESS = 1
IFLA_AF_SPEC = 26
IFLA_BROADCAST = 2
IFLA_CARRIER = 33
IFLA_CARRIER_CHANGES = 35
IFLA_EVENT = 44
IFLA_EXT_MASK = 29
IFLA_GROUP = 27
IFLA_IFALIAS = 20
IFLA_IFNAME = 3
IFLA_IF_NETNSID = 46
IFLA_INFO_DATA = 2
IFLA_INFO_KIND = 1
IFLA_INFO_SLAVE_DATA = 5
IFLA_INFO_SLAVE_KIND = 4
IFLA_LINK = 5
IFLA_LINKINFO = 18
IFLA_LINKMODE = 17
IFLA_LINK_NETNSID = 37
IFLA_MAP = 14
IFLA_MASTER = 10
IFLA_NET_NS_FD = 28
IFLA_NET_NS_PID = 19
IFLA_NUM_RX_QUEUES = 32
IFLA_NUM_TX_QUEUES = 31
IFLA_OPERSTATE = 16
IFLA_PHYS_PORT_ID = 34
IFLA_PHYS_SWITCH_ID = 36
IFLA_PORT_SELF = 25
IFLA_PROMISCUITY = 30
IFLA_PROTO_DOWN = 39
IFLA_STATS_AF_SPEC = 5
IFLA_STATS_LINK_64 = 1
IFLA_STATS_LINK_OFFLOAD_XSTATS = 4
IFLA_STATS_LINK_XSTATS = 2
IFLA_STATS_LINK_XSTATS_SLAVE = 3
IFLA_STATS_UNSPEC = 0
IFLA_TXQLEN = 13
IFLA_VFINFO_LIST = 22
IFLA_VF_INFO = 1
IFLA_VF_PORT = 1
IFLA_VF_PORTS = 24
IFLA_WEIGHT = 15
IFLA_XDP = 43
LWTUNNEL_ENCAP_BPF = 6
LWTUNNEL_ENCAP_ILA = 3
LWTUNNEL_ENCAP_IP = 2
LWTUNNEL_ENCAP_IP6 = 4
LWTUNNEL_ENCAP_MPLS = 1
LWTUNNEL_ENCAP_NONE = 0
LWTUNNEL_ENCAP_SEG6 = 5
LWTUNNEL_ENCAP_SEG6_LOCAL = 7
MAX_ADDR_LEN = 32
MAX_PHYS_ITEM_ID_LEN = 32
NDA_CACHEINFO = 3
NDA_DST = 1
NDA_IFINDEX = 8
NDA_LINK_NETNSID = 10
NDA_LLADDR = 2
NDA_MASTER = 9
NDA_PORT = 6
NDA_PROBES = 4
NDA_SRC_VNI = 11
NDA_VLAN = 5
NDA_VNI = 7
NDTA_GC_INTERVAL = 8
NDTA_NAME = 1
NDTA_PARMS = 6
NDTA_THRESH1 = 2
NDTA_THRESH2 = 3
NDTA_THRESH3 = 4
NDTPA_ANYCAST_DELAY = 12
NDTPA_APP_PROBES = 9
NDTPA_BASE_REACHABLE_TIME = 4
NDTPA_DELAY_PROBE_TIME = 7
NDTPA_GC_STALETIME = 6
NDTPA_IFINDEX = 1
NDTPA_LOCKTIME = 15
NDTPA_MCAST_PROBES = 11
NDTPA_MCAST_REPROBES = 17
NDTPA_PROXY_DELAY = 13
NDTPA_PROXY_QLEN = 14
NDTPA_QUEUE_LEN = 8
NDTPA_RETRANS_TIME = 5
NDTPA_UCAST_PROBES = 10
NETCONFA_FORWARDING = 2
NETCONFA_IFINDEX = 1
NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6
NETCONFA_PROXY_NEIGH = 5
NETCONFA_RP_FILTER = 3
NETLINK_ROUTE = 0
NTF_EXT_LEARNED = 16
NTF_MASTER = 4
NTF_OFFLOADED = 32
NTF_PROXY = 8
NTF_ROUTER = 128
NTF_SELF = 2
NTF_USE = 1
NUD_DELAY = 8
NUD_FAILED = 32
NUD_INCOMPLETE = 1
NUD_NOARP = 64
NUD_NONE = 0
NUD_PERMANENT = 128
NUD_PROBE = 16
NUD_REACHABLE = 2
NUD_STALE = 4
RTA_DST = 1
RTA_ENCAP = 22
RTA_ENCAP_TYPE = 21
RTA_FLOW = 11
RTA_GATEWAY = 5
RTA_MARK = 16
RTA_METRICS = 8
RTA_MULTIPATH = 9
RTA_OIF = 4
RTA_PREF = 20
RTA_PREFSRC = 7
RTA_PRIORITY = 6
RTA_SRC = 2
RTA_TTL_PROPAGATE = 26
RTA_UID = 25
RTM_DELADDR = 21
RTM_DELLINK = 17
RTM_DELNEIGH = 29
RTM_DELROUTE = 25
RTM_DELRULE = 33
RTM_F_CLONED = 512
RTM_F_EQUALIZE = 1024
RTM_F_FIB_MATCH = 8192
RTM_F_LOOKUP_TABLE = 4096
RTM_F_NOTIFY = 256
RTM_F_PREFIX = 2048
RTM_GETADDR = 22
RTM_GETANYCAST = 62
RTM_GETLINK = 18
RTM_GETMULTICAST = 58
RTM_GETNEIGH = 30
RTM_GETNEIGHTBL = 66
RTM_GETNETCONF = 82
RTM_GETROUTE = 26
RTM_GETRULE = 34
RTM_GETSTATS = 94
RTM_NEWADDR = 20
RTM_NEWLINK = 16
RTM_NEWNEIGH = 28
RTM_NEWROUTE = 24
RTM_NEWRULE = 32
RTM_SETLINK = 19
RTM_SETNEIGHTBL = 67
RTNL_FAMILY_IPMR = 128
RTN_ANYCAST = 4
RTN_BLACKHOLE = 6
RTN_BROADCAST = 3
RTN_LOCAL = 2
RTN_MULTICAST = 5
RTN_NAT = 10
RTN_PROHIBIT = 8
RTN_THROW = 9
RTN_UNICAST = 1
RTN_UNREACHABLE = 7
RTN_UNSPEC = 0
RTN_XRESOLVE = 11
RTPROT_BOOT = 3
RTPROT_KERNEL = 2
RTPROT_REDIRECT = 1
RTPROT_STATIC = 4
RTPROT_UNSPEC = 0
RT_SCOPE_HOST = 254
RT_SCOPE_LINK = 253
RT_SCOPE_NOWHERE = 255
RT_SCOPE_SITE = 200
RT_SCOPE_UNIVERSE = 0
RT_TABLE_COMPAT = 252
RT_TABLE_DEFAULT = 253
RT_TABLE_LOCAL = 255
RT_TABLE_MAIN = 254
RT_TABLE_UNSPEC = 0
SOCK_RAW = 3
__NR_sendmsg = 296
__NR_socket = 281