IGMP improvements
[vpp.git] / src / plugins / igmp / igmp_report.h
1 /*
2  *------------------------------------------------------------------
3  * Copyright (c) 2018 Cisco and/or its affiliates.
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at:
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *------------------------------------------------------------------
16  */
17
18 #include <igmp/igmp.h>
19
20 /**
21  * A copy of the report message sent from the worker to the main thread
22  */
23 typedef struct igmp_report_args_t_
24 {
25   u32 sw_if_index;
26   igmp_membership_report_v3_t report[0];
27 } igmp_report_args_t;
28
29 extern void igmp_handle_report (const igmp_report_args_t * args);
30
31 /*
32  * fd.io coding-style-patch-verification: ON
33  *
34  * Local Variables:
35  * eval: (c-set-style "gnu")
36  * End:
37  */