You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

267 lines
6.6 KiB

/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call into the kernel available to libc. It contains only constants,
*** structures, and macros generated from the original header, and thus,
*** contains no copyrightable information.
***
*** To edit the content of this header, modify the corresponding
*** source file (e.g. under external/kernel-headers/original/) then
*** run bionic/libc/kernel/tools/update_all.py
***
*** Any manual change here will be lost the next time this script will
*** be run. You've been warned!
***
****************************************************************************
****************************************************************************/
#ifndef _LINUX_TIPC_NETLINK_H_
#define _LINUX_TIPC_NETLINK_H_
#define TIPC_GENL_V2_NAME "TIPCv2"
#define TIPC_GENL_V2_VERSION 0x1
enum {
TIPC_NL_UNSPEC,
TIPC_NL_LEGACY,
TIPC_NL_BEARER_DISABLE,
TIPC_NL_BEARER_ENABLE,
TIPC_NL_BEARER_GET,
TIPC_NL_BEARER_SET,
TIPC_NL_SOCK_GET,
TIPC_NL_PUBL_GET,
TIPC_NL_LINK_GET,
TIPC_NL_LINK_SET,
TIPC_NL_LINK_RESET_STATS,
TIPC_NL_MEDIA_GET,
TIPC_NL_MEDIA_SET,
TIPC_NL_NODE_GET,
TIPC_NL_NET_GET,
TIPC_NL_NET_SET,
TIPC_NL_NAME_TABLE_GET,
TIPC_NL_MON_SET,
TIPC_NL_MON_GET,
TIPC_NL_MON_PEER_GET,
TIPC_NL_PEER_REMOVE,
TIPC_NL_BEARER_ADD,
TIPC_NL_UDP_GET_REMOTEIP,
TIPC_NL_KEY_SET,
TIPC_NL_KEY_FLUSH,
TIPC_NL_ADDR_LEGACY_GET,
__TIPC_NL_CMD_MAX,
TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1
};
enum {
TIPC_NLA_UNSPEC,
TIPC_NLA_BEARER,
TIPC_NLA_SOCK,
TIPC_NLA_PUBL,
TIPC_NLA_LINK,
TIPC_NLA_MEDIA,
TIPC_NLA_NODE,
TIPC_NLA_NET,
TIPC_NLA_NAME_TABLE,
TIPC_NLA_MON,
TIPC_NLA_MON_PEER,
__TIPC_NLA_MAX,
TIPC_NLA_MAX = __TIPC_NLA_MAX - 1
};
enum {
TIPC_NLA_BEARER_UNSPEC,
TIPC_NLA_BEARER_NAME,
TIPC_NLA_BEARER_PROP,
TIPC_NLA_BEARER_DOMAIN,
TIPC_NLA_BEARER_UDP_OPTS,
__TIPC_NLA_BEARER_MAX,
TIPC_NLA_BEARER_MAX = __TIPC_NLA_BEARER_MAX - 1
};
enum {
TIPC_NLA_UDP_UNSPEC,
TIPC_NLA_UDP_LOCAL,
TIPC_NLA_UDP_REMOTE,
TIPC_NLA_UDP_MULTI_REMOTEIP,
__TIPC_NLA_UDP_MAX,
TIPC_NLA_UDP_MAX = __TIPC_NLA_UDP_MAX - 1
};
enum {
TIPC_NLA_SOCK_UNSPEC,
TIPC_NLA_SOCK_ADDR,
TIPC_NLA_SOCK_REF,
TIPC_NLA_SOCK_CON,
TIPC_NLA_SOCK_HAS_PUBL,
TIPC_NLA_SOCK_STAT,
TIPC_NLA_SOCK_TYPE,
TIPC_NLA_SOCK_INO,
TIPC_NLA_SOCK_UID,
TIPC_NLA_SOCK_TIPC_STATE,
TIPC_NLA_SOCK_COOKIE,
TIPC_NLA_SOCK_PAD,
TIPC_NLA_SOCK_GROUP,
__TIPC_NLA_SOCK_MAX,
TIPC_NLA_SOCK_MAX = __TIPC_NLA_SOCK_MAX - 1
};
enum {
TIPC_NLA_LINK_UNSPEC,
TIPC_NLA_LINK_NAME,
TIPC_NLA_LINK_DEST,
TIPC_NLA_LINK_MTU,
TIPC_NLA_LINK_BROADCAST,
TIPC_NLA_LINK_UP,
TIPC_NLA_LINK_ACTIVE,
TIPC_NLA_LINK_PROP,
TIPC_NLA_LINK_STATS,
TIPC_NLA_LINK_RX,
TIPC_NLA_LINK_TX,
__TIPC_NLA_LINK_MAX,
TIPC_NLA_LINK_MAX = __TIPC_NLA_LINK_MAX - 1
};
enum {
TIPC_NLA_MEDIA_UNSPEC,
TIPC_NLA_MEDIA_NAME,
TIPC_NLA_MEDIA_PROP,
__TIPC_NLA_MEDIA_MAX,
TIPC_NLA_MEDIA_MAX = __TIPC_NLA_MEDIA_MAX - 1
};
enum {
TIPC_NLA_NODE_UNSPEC,
TIPC_NLA_NODE_ADDR,
TIPC_NLA_NODE_UP,
TIPC_NLA_NODE_ID,
TIPC_NLA_NODE_KEY,
TIPC_NLA_NODE_KEY_MASTER,
TIPC_NLA_NODE_REKEYING,
__TIPC_NLA_NODE_MAX,
TIPC_NLA_NODE_MAX = __TIPC_NLA_NODE_MAX - 1
};
enum {
TIPC_NLA_NET_UNSPEC,
TIPC_NLA_NET_ID,
TIPC_NLA_NET_ADDR,
TIPC_NLA_NET_NODEID,
TIPC_NLA_NET_NODEID_W1,
TIPC_NLA_NET_ADDR_LEGACY,
__TIPC_NLA_NET_MAX,
TIPC_NLA_NET_MAX = __TIPC_NLA_NET_MAX - 1
};
enum {
TIPC_NLA_NAME_TABLE_UNSPEC,
TIPC_NLA_NAME_TABLE_PUBL,
__TIPC_NLA_NAME_TABLE_MAX,
TIPC_NLA_NAME_TABLE_MAX = __TIPC_NLA_NAME_TABLE_MAX - 1
};
enum {
TIPC_NLA_MON_UNSPEC,
TIPC_NLA_MON_ACTIVATION_THRESHOLD,
TIPC_NLA_MON_REF,
TIPC_NLA_MON_ACTIVE,
TIPC_NLA_MON_BEARER_NAME,
TIPC_NLA_MON_PEERCNT,
TIPC_NLA_MON_LISTGEN,
__TIPC_NLA_MON_MAX,
TIPC_NLA_MON_MAX = __TIPC_NLA_MON_MAX - 1
};
enum {
TIPC_NLA_PUBL_UNSPEC,
TIPC_NLA_PUBL_TYPE,
TIPC_NLA_PUBL_LOWER,
TIPC_NLA_PUBL_UPPER,
TIPC_NLA_PUBL_SCOPE,
TIPC_NLA_PUBL_NODE,
TIPC_NLA_PUBL_REF,
TIPC_NLA_PUBL_KEY,
__TIPC_NLA_PUBL_MAX,
TIPC_NLA_PUBL_MAX = __TIPC_NLA_PUBL_MAX - 1
};
enum {
TIPC_NLA_MON_PEER_UNSPEC,
TIPC_NLA_MON_PEER_ADDR,
TIPC_NLA_MON_PEER_DOMGEN,
TIPC_NLA_MON_PEER_APPLIED,
TIPC_NLA_MON_PEER_UPMAP,
TIPC_NLA_MON_PEER_MEMBERS,
TIPC_NLA_MON_PEER_UP,
TIPC_NLA_MON_PEER_HEAD,
TIPC_NLA_MON_PEER_LOCAL,
TIPC_NLA_MON_PEER_PAD,
__TIPC_NLA_MON_PEER_MAX,
TIPC_NLA_MON_PEER_MAX = __TIPC_NLA_MON_PEER_MAX - 1
};
enum {
TIPC_NLA_SOCK_GROUP_ID,
TIPC_NLA_SOCK_GROUP_OPEN,
TIPC_NLA_SOCK_GROUP_NODE_SCOPE,
TIPC_NLA_SOCK_GROUP_CLUSTER_SCOPE,
TIPC_NLA_SOCK_GROUP_INSTANCE,
TIPC_NLA_SOCK_GROUP_BC_SEND_NEXT,
__TIPC_NLA_SOCK_GROUP_MAX,
TIPC_NLA_SOCK_GROUP_MAX = __TIPC_NLA_SOCK_GROUP_MAX - 1
};
enum {
TIPC_NLA_CON_UNSPEC,
TIPC_NLA_CON_FLAG,
TIPC_NLA_CON_NODE,
TIPC_NLA_CON_SOCK,
TIPC_NLA_CON_TYPE,
TIPC_NLA_CON_INST,
__TIPC_NLA_CON_MAX,
TIPC_NLA_CON_MAX = __TIPC_NLA_CON_MAX - 1
};
enum {
TIPC_NLA_SOCK_STAT_RCVQ,
TIPC_NLA_SOCK_STAT_SENDQ,
TIPC_NLA_SOCK_STAT_LINK_CONG,
TIPC_NLA_SOCK_STAT_CONN_CONG,
TIPC_NLA_SOCK_STAT_DROP,
__TIPC_NLA_SOCK_STAT_MAX,
TIPC_NLA_SOCK_STAT_MAX = __TIPC_NLA_SOCK_STAT_MAX - 1
};
enum {
TIPC_NLA_PROP_UNSPEC,
TIPC_NLA_PROP_PRIO,
TIPC_NLA_PROP_TOL,
TIPC_NLA_PROP_WIN,
TIPC_NLA_PROP_MTU,
TIPC_NLA_PROP_BROADCAST,
TIPC_NLA_PROP_BROADCAST_RATIO,
__TIPC_NLA_PROP_MAX,
TIPC_NLA_PROP_MAX = __TIPC_NLA_PROP_MAX - 1
};
enum {
TIPC_NLA_STATS_UNSPEC,
TIPC_NLA_STATS_RX_INFO,
TIPC_NLA_STATS_RX_FRAGMENTS,
TIPC_NLA_STATS_RX_FRAGMENTED,
TIPC_NLA_STATS_RX_BUNDLES,
TIPC_NLA_STATS_RX_BUNDLED,
TIPC_NLA_STATS_TX_INFO,
TIPC_NLA_STATS_TX_FRAGMENTS,
TIPC_NLA_STATS_TX_FRAGMENTED,
TIPC_NLA_STATS_TX_BUNDLES,
TIPC_NLA_STATS_TX_BUNDLED,
TIPC_NLA_STATS_MSG_PROF_TOT,
TIPC_NLA_STATS_MSG_LEN_CNT,
TIPC_NLA_STATS_MSG_LEN_TOT,
TIPC_NLA_STATS_MSG_LEN_P0,
TIPC_NLA_STATS_MSG_LEN_P1,
TIPC_NLA_STATS_MSG_LEN_P2,
TIPC_NLA_STATS_MSG_LEN_P3,
TIPC_NLA_STATS_MSG_LEN_P4,
TIPC_NLA_STATS_MSG_LEN_P5,
TIPC_NLA_STATS_MSG_LEN_P6,
TIPC_NLA_STATS_RX_STATES,
TIPC_NLA_STATS_RX_PROBES,
TIPC_NLA_STATS_RX_NACKS,
TIPC_NLA_STATS_RX_DEFERRED,
TIPC_NLA_STATS_TX_STATES,
TIPC_NLA_STATS_TX_PROBES,
TIPC_NLA_STATS_TX_NACKS,
TIPC_NLA_STATS_TX_ACKS,
TIPC_NLA_STATS_RETRANSMITTED,
TIPC_NLA_STATS_DUPLICATES,
TIPC_NLA_STATS_LINK_CONGS,
TIPC_NLA_STATS_MAX_QUEUE,
TIPC_NLA_STATS_AVG_QUEUE,
__TIPC_NLA_STATS_MAX,
TIPC_NLA_STATS_MAX = __TIPC_NLA_STATS_MAX - 1
};
#endif