FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
mcast.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 #ifndef __included_vnet_mcast_h__
16 #define __included_vnet_mcast_h__
17 
18 #include <vnet/vnet.h>
19 #include <vlib/buffer.h>
20 #include <vlib/buffer_funcs.h>
21 
22 typedef struct {
23  /* Arrange for both prep and recycle nodes to have identical
24  next indices for a given output interface */
26 
27  /* Show command, etc. */
30 
31 typedef struct {
32  /* vector of group members */
35 
36 typedef struct {
37  /* pool of multicast (interface) groups */
39 
40  /* multicast "free" list, aka recycle list */
42 
43  /* convenience */
46 } mcast_main_t;
47 
49 
50 #endif /* __included_vnet_mcast_h__ */
mcast_group_t * groups
Definition: mcast.h:38
u32 mcast_recycle_list_index
Definition: mcast.h:41
mcast_group_member_t * members
Definition: mcast.h:33
vlib buffer access methods.
mcast_main_t mcast_main
Definition: mcast.h:48
u32 prep_and_recycle_node_next_index
Definition: mcast.h:25
unsigned int u32
Definition: types.h:88
vnet_main_t * vnet_main
Definition: mcast.h:45
vlib_main_t * vlib_main
Definition: mcast.h:44
vlib buffer structure definition and a few select access methods.