X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=src%2Fplugins%2Figmp%2Figmp.api;h=db47905ae6f6807ce302d7f30f1052239bd39537;hp=2a2e68030f6810633d0d87147b03eb878501e925;hb=97748ca;hpb=02a95ce8d53caeba07a3c027b12339f44f3093b8 diff --git a/src/plugins/igmp/igmp.api b/src/plugins/igmp/igmp.api index 2a2e68030f6..db47905ae6f 100644 --- a/src/plugins/igmp/igmp.api +++ b/src/plugins/igmp/igmp.api @@ -98,6 +98,48 @@ autoreply define igmp_enable_disable u32 sw_if_index; }; +/** + * @brief + * Add/del proxy device on specified VRF. + * Interface must be IGMP enabled in HOST mode. + * + * @param client_index - opaque cookie to identify the sender + * @param context - sender context, to match reply w/ request + * @param add - add (1) del (0) + * @param vrf_id - VRF id + * @param sw_if_index - upstream interface sw index + */ +autoreply define igmp_proxy_device_add_del +{ + u32 client_index; + u32 context; + + u8 add; + u32 vrf_id; + u32 sw_if_index; +}; + +/** + * @brief + * Add/del downstream interface to/from proxy device. + * Interface must be IGMP enabled in ROUTER mode. + * + * @param client_index - opaque cookie to identify the sender + * @param context - sender context, to match reply w/ request + * @param add - add (1) del (0) + * @param vrf_id - VRF id + * @param sw_if_index - downstream interface sw index + */ +autoreply define igmp_proxy_device_add_del_interface +{ + u32 client_index; + u32 context; + + u8 add; + u32 vrf_id; + u32 sw_if_index; +}; + /** * @brief dump (S,G)s from interface * @param client_index - opaque cookie to identify the sender