|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
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 *);
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);
ip46_address_t * vr_addrs
ip46_address_t * peer_addrs
u8 * format_ethernet_address(u8 *s, va_list *args)
vrrp_vr_runtime_t runtime
vl_api_dhcp_client_state_t state
vrrp_vr_tracking_t tracking
enum vrrp_vr_state vrrp_vr_state_t
description fragment has unexpected format
#define vec_foreach(var, vec)
Vector iterator.
enum vrrp_vr_flags vrrp_vr_flags_t
vrrp_vr_tracking_if_t * interfaces
static u8 vrrp_vr_priority(vrrp_vr_t *vr)
vl_api_wireguard_peer_flags_t flags