nvmecontrol devlist: Annotate connected Fabrics hosts
[freebsd/src.git] / sys / netinet / ip_carp_nl.h
blobde4c0367c1d34ae922703bc35afd6308b4043c90
1 #ifndef _IP_CARP_NL_H
2 #define _IP_CARP_NL_H
4 #include <net/if.h>
6 #include <netinet/ip_carp.h>
7 #include <netlink/netlink_generic.h>
9 /*
10 * Netlink interface to carp(4).
13 #define CARP_NL_FAMILY_NAME "carp"
15 /* commands */
16 enum {
17 CARP_NL_CMD_UNSPEC = 0,
18 CARP_NL_CMD_GET = 1,
19 CARP_NL_CMD_SET = 2,
20 __CARP_NL_CMD_MAX,
22 #define CARP_NL_CMD_MAX (__CARP_NL_CMD_MAX - 1)
24 enum carp_nl_type_t {
25 CARP_NL_UNSPEC,
26 CARP_NL_VHID = 1, /* u32 */
27 CARP_NL_STATE = 2, /* u32 */
28 CARP_NL_ADVBASE = 3, /* s32 */
29 CARP_NL_ADVSKEW = 4, /* s32 */
30 CARP_NL_KEY = 5, /* byte array */
31 CARP_NL_IFINDEX = 6, /* u32 */
32 CARP_NL_ADDR = 7, /* in_addr_t */
33 CARP_NL_ADDR6 = 8, /* in6_addr_t */
34 CARP_NL_IFNAME = 9, /* string */
35 CARP_NL_VERSION = 10, /* u8 */
36 CARP_NL_VRRP_PRIORITY = 11, /* u8 */
37 CARP_NL_VRRP_ADV_INTER = 12, /* u16, 12-bit field in centiseconds*/
40 #endif