6 #include <netinet/ip_carp.h>
7 #include <netlink/netlink_generic.h>
10 * Netlink interface to carp(4).
13 #define CARP_NL_FAMILY_NAME "carp"
17 CARP_NL_CMD_UNSPEC
= 0,
22 #define CARP_NL_CMD_MAX (__CARP_NL_CMD_MAX - 1)
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*/