X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fvrrp%2Fvrrp_packet.h;h=d5725b6a1a5fb412528e94be55e87a4d5f1a23d2;hb=a7d7383a44335358a40d7c2b322999958a717a60;hp=1cbf62d7c726ae5bfb28ebfb9e2f2b1f6d67a296;hpb=d9d77076b01347dfc1dd98cee80a298729ce9b85;p=vpp.git diff --git a/src/plugins/vrrp/vrrp_packet.h b/src/plugins/vrrp/vrrp_packet.h index 1cbf62d7c72..d5725b6a1a5 100644 --- a/src/plugins/vrrp/vrrp_packet.h +++ b/src/plugins/vrrp/vrrp_packet.h @@ -47,6 +47,15 @@ vrrp_adv_int_from_packet (vrrp_header_t * pkt) return clib_net_to_host_u16 (pkt->rsvd_and_max_adv_int) & ((u16) 0x0fff); } +/* Fields from VRRP advertisement packets needed by main thread */ +typedef struct vrrp_input_process_args +{ + u32 vr_index; + ip46_address_t src_addr; + u8 priority; + u8 max_adv_int; +} vrrp_input_process_args_t; + #endif /* __included_vrrp_packet_h__ */ /*