Module rtnetlink::constants[][src]

Constants

AF_ALG
AF_APPLETALK
AF_ASH
AF_ATMPVC
AF_ATMSVC
AF_AX25
AF_BLUETOOTH
AF_BRIDGE
AF_CAIF
AF_CAN
AF_DECNET
AF_ECONET
AF_IEEE802154
AF_INET
AF_INET6
AF_IPX
AF_IRDA
AF_ISDN
AF_IUCV
AF_KEY
AF_LLC
AF_NETBEUI
AF_NETLINK
AF_NETROM
AF_PACKET
AF_PHONET
AF_PPPOX
AF_RDS
AF_ROSE
AF_RXRPC
AF_SECURITY
AF_SNA
AF_TIPC
AF_UNIX
AF_UNSPEC
AF_WANPIPE
AF_X25
ARPHRD_6LOWPAN
ARPHRD_ADAPT
ARPHRD_APPLETLK
ARPHRD_ARCNET
ARPHRD_ASH
ARPHRD_ATM
ARPHRD_AX25
ARPHRD_BIF
ARPHRD_CAIF
ARPHRD_CAN
ARPHRD_CHAOS
ARPHRD_CSLIP
ARPHRD_CSLIP6
ARPHRD_DDCMP
ARPHRD_DLCI
ARPHRD_ECONET
ARPHRD_EETHER
ARPHRD_ETHER
ARPHRD_EUI64
ARPHRD_FCAL
ARPHRD_FCFABRIC
ARPHRD_FCPL
ARPHRD_FCPP
ARPHRD_FDDI
ARPHRD_FRAD
ARPHRD_HDLC
ARPHRD_HIPPI
ARPHRD_HWX25
ARPHRD_IEEE802
ARPHRD_IEEE1394
ARPHRD_IEEE80211
ARPHRD_IEEE802154
ARPHRD_IEEE80211_PRISM
ARPHRD_IEEE80211_RADIOTAP
ARPHRD_IEEE802154_MONITOR
ARPHRD_IEEE802_TR
ARPHRD_INFINIBAND
ARPHRD_IP6GRE
ARPHRD_IPDDP
ARPHRD_IPGRE
ARPHRD_IRDA
ARPHRD_LAPB
ARPHRD_LOCALTLK
ARPHRD_LOOPBACK
ARPHRD_METRICOM
ARPHRD_NETLINK
ARPHRD_NETROM
ARPHRD_NONE
ARPHRD_PHONET
ARPHRD_PHONET_PIPE
ARPHRD_PIMREG
ARPHRD_PPP
ARPHRD_PRONET
ARPHRD_RAWHDLC
ARPHRD_RAWIP
ARPHRD_ROSE
ARPHRD_RSRVD
ARPHRD_SIT
ARPHRD_SKIP
ARPHRD_SLIP
ARPHRD_SLIP6
ARPHRD_TUNNEL
ARPHRD_TUNNEL6
ARPHRD_VOID
ARPHRD_VSOCKMON
ARPHRD_X25
IFA_ADDRESS
IFA_ANYCAST
IFA_BROADCAST
IFA_CACHEINFO
IFA_FLAGS
IFA_LABEL
IFA_LOCAL
IFA_MULTICAST
IFA_UNSPEC
IFF_ALLMULTI

Link supports multicast routing

IFF_AUTOMEDIA

Driver supports setting media type (only used by ARM ethernet)

IFF_BROADCAST

Link supports broadcasting

IFF_DEBUG

Tell driver to do debugging (currently unused)

IFF_DORMANT

Driver signals IFF_DORMANT

IFF_DYNAMIC

Dialup device with changing addresses (unused, BSD compatibility)

IFF_ECHO

Echo sent packets (testing feature, CAN only)

IFF_LOOPBACK

Link loopback network

IFF_LOWER_UP

Link layer is operational

IFF_MASTER

Master of a load balancer (bonding)

IFF_MULTICAST

Link supports multicasting

IFF_NOARP

ARP is not supported

IFF_NOTRAILERS

Avoid use of trailers (unused, BSD compatibility)

IFF_POINTOPOINT

u32erface is point-to-point link

IFF_PORTSEL

Link selects port automatically (only used by ARM ethernet)

IFF_PROMISC

Receive all packets.

IFF_RUNNING

Link is up and carrier is OK (RFC2863 OPER_UP)

IFF_SLAVE

Slave of a load balancer

IFF_UP

Link is up (administratively).

IFLA_ADDRESS
IFLA_AF_SPEC
IFLA_BROADCAST
IFLA_BR_AGEING_TIME
IFLA_BR_BRIDGE_ID
IFLA_BR_FDB_FLUSH
IFLA_BR_FORWARD_DELAY
IFLA_BR_GC_TIMER
IFLA_BR_GROUP_ADDR
IFLA_BR_GROUP_FWD_MASK
IFLA_BR_HELLO_TIME
IFLA_BR_HELLO_TIMER
IFLA_BR_MAX_AGE
IFLA_BR_MCAST_HASH_ELASTICITY
IFLA_BR_MCAST_HASH_MAX
IFLA_BR_MCAST_IGMP_VERSION
IFLA_BR_MCAST_LAST_MEMBER_CNT
IFLA_BR_MCAST_LAST_MEMBER_INTVL
IFLA_BR_MCAST_MEMBERSHIP_INTVL
IFLA_BR_MCAST_MLD_VERSION
IFLA_BR_MCAST_QUERIER
IFLA_BR_MCAST_QUERIER_INTVL
IFLA_BR_MCAST_QUERY_INTVL
IFLA_BR_MCAST_QUERY_RESPONSE_INTVL
IFLA_BR_MCAST_QUERY_USE_IFADDR
IFLA_BR_MCAST_ROUTER
IFLA_BR_MCAST_SNOOPING
IFLA_BR_MCAST_STARTUP_QUERY_CNT
IFLA_BR_MCAST_STARTUP_QUERY_INTVL
IFLA_BR_MCAST_STATS_ENABLED
IFLA_BR_NF_CALL_ARPTABLES
IFLA_BR_NF_CALL_IP6TABLES
IFLA_BR_NF_CALL_IPTABLES
IFLA_BR_PAD
IFLA_BR_PRIORITY
IFLA_BR_ROOT_ID
IFLA_BR_ROOT_PATH_COST
IFLA_BR_ROOT_PORT
IFLA_BR_STP_STATE
IFLA_BR_TCN_TIMER
IFLA_BR_TOPOLOGY_CHANGE
IFLA_BR_TOPOLOGY_CHANGE_DETECTED
IFLA_BR_TOPOLOGY_CHANGE_TIMER
IFLA_BR_UNSPEC
IFLA_BR_VLAN_DEFAULT_PVID
IFLA_BR_VLAN_FILTERING
IFLA_BR_VLAN_PROTOCOL
IFLA_BR_VLAN_STATS_ENABLED
IFLA_CARRIER
IFLA_CARRIER_CHANGES
IFLA_CARRIER_DOWN_COUNT
IFLA_CARRIER_UP_COUNT
IFLA_COST
IFLA_EVENT
IFLA_EXT_MASK
IFLA_GROUP
IFLA_GSO_MAX_SEGS
IFLA_GSO_MAX_SIZE
IFLA_IFALIAS
IFLA_IFNAME
IFLA_IF_NETNSID
IFLA_INET6_ADDR_GEN_MODE
IFLA_INET6_CACHEINFO
IFLA_INET6_CONF
IFLA_INET6_FLAGS
IFLA_INET6_ICMP6STATS
IFLA_INET6_STATS
IFLA_INET6_TOKEN
IFLA_INET6_UNSPEC
IFLA_INET_CONF
IFLA_INET_UNSPEC
IFLA_INFO_DATA
IFLA_INFO_KIND
IFLA_INFO_SLAVE_DATA
IFLA_INFO_SLAVE_KIND
IFLA_INFO_UNSPEC
IFLA_INFO_XSTATS
IFLA_LINK
IFLA_LINKINFO
IFLA_LINKMODE
IFLA_LINK_NETNSID
IFLA_MAP
IFLA_MASTER
IFLA_MTU
IFLA_NET_NS_FD
IFLA_NET_NS_PID
IFLA_NEW_IFINDEX
IFLA_NEW_NETNSID
IFLA_NUM_RX_QUEUES
IFLA_NUM_TX_QUEUES
IFLA_NUM_VF
IFLA_OPERSTATE
IFLA_PAD
IFLA_PHYS_PORT_ID
IFLA_PHYS_PORT_NAME
IFLA_PHYS_SWITCH_ID
IFLA_PORT_SELF
IFLA_PRIORITY
IFLA_PROMISCUITY
IFLA_PROTINFO
IFLA_PROTO_DOWN
IFLA_QDISC
IFLA_STATS
IFLA_STATS64
IFLA_TXQLEN
IFLA_UNSPEC
IFLA_VFINFO_LIST
IFLA_VF_PORTS
IFLA_VLAN_EGRESS_QOS
IFLA_VLAN_FLAGS
IFLA_VLAN_ID
IFLA_VLAN_INGRESS_QOS
IFLA_VLAN_PROTOCOL
IFLA_VLAN_UNSPEC
IFLA_WEIGHT
IFLA_WIRELESS
IFLA_XDP
IF_OPER_DORMANT
IF_OPER_DOWN
IF_OPER_LOWERLAYERDOWN
IF_OPER_NOTPRESENT
IF_OPER_TESTING
IF_OPER_UNKNOWN
IF_OPER_UP
NETLINK_AUDIT

Auditing.

NETLINK_CONNECTOR

Kernel connector. See Documentation/connector/* in the Linux kernel source tree for further information.

NETLINK_CRYPTO

Netlink interface to request information about ciphers registered with the kernel crypto API as well as allow configuration of the kernel crypto API.

NETLINK_DNRTMSG

DECnet routing messages.

NETLINK_ECRYPTFS
NETLINK_FIB_LOOKUP

Access to FIB lookup from user space.

NETLINK_FIREWALL

Transport IPv4 packets from netfilter to user space. Used by ip_queue kernel module. After a long period of being declared obsolete (in favor of the more advanced nfnetlink_queue feature), it was removed in Linux 3.5.

NETLINK_GENERIC

Generic netlink family for simplified netlink usage.

NETLINK_IP6_FW

Transport IPv6 packets from netfilter to user space. Used by ip6_queue kernel module.

NETLINK_ISCSI

Open-iSCSI.

NETLINK_KOBJECT_UEVENT

Kernel messages to user space.

NETLINK_NETFILTER

Netfilter subsystem.

NETLINK_NFLOG

Netfilter/iptables ULOG.

NETLINK_RDMA

Infiniband RDMA.

NETLINK_ROUTE

Receives routing and link updates and may be used to modify the routing tables (both IPv4 and IPv6), IP addresses, link parameters, neighbor setups, queueing disciplines, traffic classes and packet classifiers (see rtnetlink(7)).

NETLINK_SCSITRANSPORT

SCSI transpots

NETLINK_SELINUX

SELinux event notifications.

NETLINK_SOCK_DIAG

Query information about sockets of various protocol families from the kernel (see sock_diag(7)).

NETLINK_UNUSED
NETLINK_USERSOCK

Reserved for user-mode socket protocols.

NETLINK_XFRM

IPsec.

NLA_F_NESTED

Identify the bits that represent the "nested" flag of a netlink attribute.

NLA_F_NET_BYTEORDER

Identify the bits that represent the "byte order" flag of a netlink attribute.

NLA_TYPE_MASK

Identify the bits that represent the type of a netlink attribute.

NLMSG_DONE

The message terminates a multipart message.

NLMSG_ERROR

The message signals an error and the payload contains a nlmsgerr structure. This can be looked at as a NACK and typically it is from FEC to CPC.

NLMSG_NOOP

The message is ignored.

NLMSG_OVERRUN

Data lost

NLM_F_ACK

Request for an acknowledgment on success. Typical direction of request is from user space (CPC) to kernel space (FEC).

NLM_F_ACK_TLVS

extended ACK TVLs were included

NLM_F_APPEND

Add to the end of the object list.

NLM_F_ATOMIC

Return an atomic snapshot of the table. Requires CAP_NET_ADMIN capability or a effective UID of 0.

NLM_F_CAPPED

request was capped

NLM_F_CREATE

Create object if it doesn't already exist.

NLM_F_DUMP
NLM_F_DUMP_FILTERED

Dump was filtered as requested

NLM_F_DUMP_INTR

Dump was inconsistent due to sequence change

NLM_F_ECHO

Echo this request. Typical direction of request is from user space (CPC) to kernel space (FEC).

NLM_F_EXCL

Don't replace if the object already exists.

NLM_F_MATCH

Return all entries matching criteria passed in message content.

NLM_F_NONREC

Do not delete recursively

NLM_F_REPLACE

Replace existing matching object.

NLM_F_REQUEST

Must be set on all request messages (typically from user space to kernel space)

NLM_F_ROOT

Return the complete table instead of a single entry.

NLM_MULTIPART

Indicates the message is part of a multipart message terminated by NLMSG_DONE

RTAX_ADVMSS
RTAX_CC_ALGO
RTAX_CWND
RTAX_FASTOPEN_NO_COOKIE
RTAX_FEATURES
RTAX_HOPLIMIT
RTAX_INITCWND
RTAX_INITRWND
RTAX_LOCK
RTAX_MTU
RTAX_QUICKACK
RTAX_REORDERING
RTAX_RTO_MIN
RTAX_RTT
RTAX_RTTVAR
RTAX_SSTHRESH
RTAX_UNSPEC
RTAX_WINDOW
RTA_CACHEINFO
RTA_DST
RTA_ENCAP
RTA_ENCAP_TYPE
RTA_EXPIRES
RTA_FLOW
RTA_GATEWAY
RTA_IIF
RTA_MARK
RTA_METRICS
RTA_MFC_STATS
RTA_MP_ALGO
RTA_MULTIPATH
RTA_NEWDST
RTA_OIF
RTA_PAD
RTA_PREF
RTA_PREFSRC
RTA_PRIORITY
RTA_PROTOINFO
RTA_SESSION
RTA_SRC
RTA_TABLE
RTA_TTL_PROPAGATE
RTA_UID
RTA_UNSPEC
RTA_VIA
RTM_DELACTION
RTM_DELADDR
RTM_DELADDRLABEL
RTM_DELLINK
RTM_DELMDB
RTM_DELNEIGH
RTM_DELNETCONF
RTM_DELNSID
RTM_DELQDISC
RTM_DELROUTE
RTM_DELRULE
RTM_DELTCLASS
RTM_DELTFILTER
RTM_F_CLONED
RTM_F_EQUALIZE
RTM_F_FIB_MATCH
RTM_F_LOOKUP_TABLE
RTM_F_NOTIFY
RTM_F_PREFIX
RTM_GETACTION
RTM_GETADDR
RTM_GETADDRLABEL
RTM_GETANYCAST
RTM_GETDCB
RTM_GETLINK
RTM_GETMDB
RTM_GETMULTICAST
RTM_GETNEIGH
RTM_GETNEIGHTBL
RTM_GETNETCONF
RTM_GETNSID
RTM_GETQDISC
RTM_GETROUTE
RTM_GETRULE
RTM_GETSTATS
RTM_GETTCLASS
RTM_GETTFILTER
RTM_NEWACTION
RTM_NEWADDR
RTM_NEWADDRLABEL
RTM_NEWCACHEREPORT
RTM_NEWLINK
RTM_NEWMDB
RTM_NEWNDUSEROPT
RTM_NEWNEIGH
RTM_NEWNEIGHTBL
RTM_NEWNETCONF
RTM_NEWNSID
RTM_NEWPREFIX
RTM_NEWQDISC
RTM_NEWROUTE
RTM_NEWRULE
RTM_NEWSTATS
RTM_NEWTCLASS
RTM_NEWTFILTER
RTM_SETDCB
RTM_SETLINK
RTM_SETNEIGHTBL
RTN_ANYCAST

A local broadcast route (sent as a unicast)

RTN_BLACKHOLE

A packet dropping route

RTN_BROADCAST

A local broadcast route (sent as a broadcast)

RTN_LOCAL

A local interface route

RTN_MULTICAST

A multicast route

RTN_NAT

A network address translation rule

RTN_PROHIBIT

A packet rejection route

RTN_THROW

Continue routing lookup in another table

RTN_UNICAST

A gateway or direct route

RTN_UNREACHABLE

An unreachable destination

RTN_UNSPEC

Unknown route

RTN_XRESOLVE

Refer to an external resolver (not implemented)

RTPROT_BABEL
RTPROT_BIRD
RTPROT_BOOT

Route was learnt during boot

RTPROT_DHCP
RTPROT_DNROUTED
RTPROT_GATED
RTPROT_KERNEL

Route was learnt by the kernel

RTPROT_MROUTED
RTPROT_MRT
RTPROT_NTK
RTPROT_RA
RTPROT_REDIRECT

Route was learnt by an ICMP redirect

RTPROT_STATIC

Route was set statically

RTPROT_UNSPEC

Unknown

RTPROT_XORP
RTPROT_ZEBRA
RT_SCOPE_HOST

Route on the local host

RT_SCOPE_LINK

Route on this link

RT_SCOPE_NOWHERE

Destination doesn't exist

RT_SCOPE_SITE

Interior route in the local autonomous system

RT_SCOPE_UNIVERSE

Global route

RT_TABLE_COMPAT
RT_TABLE_DEFAULT
RT_TABLE_LOCAL
RT_TABLE_MAIN
RT_TABLE_UNSPEC