FD.io VPP  v19.01.1-17-ge106252
Vector Packet Processing
igmp_proxy.h
Go to the documentation of this file.
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 #ifndef _IGMP_PROXY_H_
19 #define _IGMP_PROXY_H_
20 
21 #include <igmp/igmp_types.h>
22 #include <igmp/igmp_config.h>
23 
24 typedef struct
25 {
26  /* VRF index */
28 
29  /* upstrema interface */
31 
32  /* downstream interfaces */
35 
36 /**
37  * @brief IGMP proxy device add/del
38  * @param vrf_id - VRF id
39  * @param sw_if_index - upstream interface
40  * @param add - add/del
41  *
42  * Add/del IGMP proxy device. Interface must be IGMP enabled in HOST mode.
43  */
45 
46 /**
47  * @brief IGMP proxy device add/del interface
48  * @param vrf_id - VRF id
49  * @param sw_if_index - downstream interface
50  * @param add - add/del
51  *
52  * Add/del IGMP enabled interface in ROUTER mode to proxy device.
53  */
55 
56 void igmp_proxy_device_merge_config (igmp_config_t *config, u8 block);
57 
59 
61 
62 #endif /* IGMP_PROXY_H */
vl_api_address_t src
Definition: vxlan_gbp.api:32
unsigned char u8
Definition: types.h:56
u32 sw_if_index
Definition: vxlan_gbp.api:37
unsigned int u32
Definition: types.h:88
void igmp_proxy_device_merge_config(igmp_config_t *config, u8 block)
Definition: igmp_proxy.c:358
int igmp_proxy_device_add_del(u32 vfr_id, u32 sw_if_index, u8 add)
IGMP proxy device add/del.
Definition: igmp_proxy.c:80
void igmp_proxy_device_mfib_path_add_del(igmp_group_t *group, u8 add)
Definition: igmp_proxy.c:27
int igmp_proxy_device_add_del_interface(u32 vrf_id, u32 sw_if_index, u8 add)
IGMP proxy device add/del interface.
Definition: igmp_proxy.c:141
IGMP interface configuration.
Definition: igmp_config.h:47
IGMP group A multicast group address for which reception has been requested.
Definition: igmp_group.h:56
void igmp_proxy_device_block_src(igmp_config_t *config, igmp_group_t *group, igmp_src_t *src)
Definition: igmp_proxy.c:195
IGMP source The representation of a specified source address with in multicast group.
Definition: igmp_src.h:41