21 s =
format (s,
"preempt %s accept %s unicast %s",
32 int is_ipv6 = va_arg (*args,
int);
33 ip46_address_t *addrs = va_arg (*args, ip46_address_t *);
40 (is_ipv6) ? (
u8 *) & addr->ip6 : (
u8 *) & addr->ip4);
53 #define _(v,f,n) case VRRP_VR_STATE_##f: s = format (s, n); break; 71 s =
format (s,
"[%d] sw_if_index %u VR ID %u IPv%d",
85 s =
format (s,
"sw_if_index %u priority %u ",
98 s =
format (s,
" state %U flags: %U\n",
101 s =
format (s,
" priority: configured %u adjusted %u\n",
103 s =
format (s,
" timers: adv interval %u " 104 "master adv %u skew %u master down %u\n",
126 vrrp_header_t *pkt = va_arg (*args, vrrp_header_t *);
127 u32 version = pkt->vrrp_version_and_type >> 4;
129 s =
format (s,
"ver %u, type %u, VRID %u, prio %u, " 130 "n_addrs %u, interval %u%ss, csum 0x%x",
131 version, pkt->vrrp_version_and_type & 0xf,
132 pkt->vr_id, pkt->priority, pkt->n_addrs,
133 clib_net_to_host_u16 (pkt->rsvd_and_max_adv_int),
134 (version == 3) ?
"c" :
"", pkt->checksum);
vrrp_vr_tracking_t tracking
vl_api_wireguard_peer_flags_t flags
u8 * format_ethernet_address(u8 *s, va_list *args)
description fragment has unexpected format
vrrp_vr_runtime_t runtime
static u8 vrrp_vr_priority(vrrp_vr_t *vr)
vrrp_vr_tracking_if_t * interfaces
enum vrrp_vr_flags vrrp_vr_flags_t
enum vrrp_vr_state vrrp_vr_state_t
vl_api_dhcp_client_state_t state
#define vec_foreach(var, vec)
Vector iterator.
ip46_address_t * vr_addrs
ip46_address_t * peer_addrs