3 Copyright (C) 2008 Everton da Silva Marques
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; see the file COPYING; if not, write to the
17 Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
20 $QuaggaId: $Format:%an, %ai, %h$ $
26 #include "pim_mroute.h"
28 #define PIM_OIF_FLAG_PROTO_IGMP (1 << 0) /* bitmask 1 */
29 #define PIM_OIF_FLAG_PROTO_PIM (1 << 1) /* bitmask 2 */
30 #define PIM_OIF_FLAG_PROTO_ANY (3) /* bitmask (1 | 2) */
33 qpim_channel_oil_list holds a list of struct channel_oil.
35 Each channel_oil.oil is used to control an (S,G) entry in the Kernel
36 Multicast Forwarding Cache.
43 time_t oif_creation[MAXVIFS];
44 uint32_t oif_flags[MAXVIFS];
47 void pim_channel_oil_free(struct channel_oil *c_oil);
48 struct channel_oil *pim_channel_oil_add(struct in_addr group_addr,
49 struct in_addr source_addr,
51 void pim_channel_oil_del(struct channel_oil *c_oil);
53 #endif /* PIM_OIL_H */