10 #ifndef __included_vrrp_packet_h__ 11 #define __included_vrrp_packet_h__ 18 u8 vrrp_version_and_type;
26 u16 rsvd_and_max_adv_int;
34 }) ip4_and_vrrp_header_t;
39 }) ip6_and_vrrp_header_t;
47 return clib_net_to_host_u16 (pkt->rsvd_and_max_adv_int) & ((
u16) 0x0fff);
static u16 vrrp_adv_int_from_packet(vrrp_header_t *pkt)
typedef CLIB_PACKED(struct { u8 vrrp_version_and_type;u8 vr_id;u8 priority;u8 n_addrs;u16 rsvd_and_max_adv_int;u16 checksum;}) vrrp_header_t