X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Figmp%2Figmp.h;h=9f9b611a649dbfb1cd989f9e6a00d60b70cf8a0f;hb=97748ca;hp=bf123ddbb79be34fb23f2709e09bea29a62098b6;hpb=947ea6222dad1ef04595c34273e9231395aef443;p=vpp.git diff --git a/src/plugins/igmp/igmp.h b/src/plugins/igmp/igmp.h index bf123ddbb79..9f9b611a649 100644 --- a/src/plugins/igmp/igmp.h +++ b/src/plugins/igmp/igmp.h @@ -28,6 +28,7 @@ #include #include #include +#include /** * RFC 3376 Section 8.1 @@ -52,7 +53,7 @@ #define IGMP_SSM_DEFAULT (0x000000E8) #endif -/** helper macro to get igmp mebership group from pointer plus offset */ +/** helper macro to get igmp membership group from pointer plus offset */ #define group_ptr(p, l) ((igmp_membership_group_v3_t *)((u8*)(p) + (l))) #define group_cptr(p, l) ((const igmp_membership_group_v3_t *)((u8*)(p) + (l))) @@ -101,6 +102,16 @@ typedef struct igmp_main_t_ * pool of sources */ igmp_src_t *srcs; + + /** + * per-vrf DB of proxy devices + */ + u32 *igmp_proxy_device_by_vrf_id; + + /** + * pool of proxy devices + */ + igmp_proxy_device_t *proxy_devices; } igmp_main_t; extern igmp_main_t igmp_main;