X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Figmp%2Figmp_src.h;h=e366494cf429a006139a42952f8d69a269bfacdf;hb=f145c15631ba62e798395499f83a2f8a91ae83c7;hp=032066ec726d1a5a4ba59395df06003e1a8ba5f1;hpb=947ea6222dad1ef04595c34273e9231395aef443;p=vpp.git diff --git a/src/plugins/igmp/igmp_src.h b/src/plugins/igmp/igmp_src.h index 032066ec726..e366494cf42 100644 --- a/src/plugins/igmp/igmp_src.h +++ b/src/plugins/igmp/igmp_src.h @@ -46,7 +46,7 @@ typedef struct igmp_src_t_ igmp_key_t *key; /** - * The liveness timer. Reset with each recieved report. on expiry + * The liveness timer. Reset with each received report. on expiry * the source is removed from the group. */ u32 exp_timer; @@ -65,6 +65,12 @@ typedef struct igmp_src_t_ * Timers */ u32 timers[IGMP_SRC_N_TIMERS]; + + /** + * Tells us which configurations + * have this source. + */ + u8 *referance_by_config_index; } igmp_src_t; extern void igmp_src_free (igmp_src_t * src); @@ -76,6 +82,7 @@ extern u32 igmp_src_index (igmp_src_t * src); extern void igmp_src_refresh (igmp_src_t * src); extern void igmp_src_blocked (igmp_src_t * src); +extern u8 *format_igmp_src (u8 * s, va_list * args); #endif