]> git.proxmox.com Git - mirror_frr.git/blob - pimd/pim_igmpv2.h
Merge remote-tracking branch 'origin/master' into bgpafisafi
[mirror_frr.git] / pimd / pim_igmpv2.h
1 /*
2 * PIM for Quagga
3 * Copyright (C) 2016 Cumulus Networks, Inc.
4 * Daniel Walton
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; see the file COPYING; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
19 * MA 02110-1301 USA
20 */
21
22 #ifndef PIM_IGMPV2_H
23 #define PIM_IGMPV2_H
24
25 void igmp_v2_send_query (struct igmp_group *group,
26 int fd,
27 const char *ifname,
28 char *query_buf,
29 struct in_addr dst_addr,
30 struct in_addr group_addr,
31 int query_max_response_time_dsec);
32
33 int igmp_v2_recv_report (struct igmp_sock *igmp,
34 struct in_addr from, const char *from_str,
35 char *igmp_msg, int igmp_msg_len);
36
37 int igmp_v2_recv_leave (struct igmp_sock *igmp,
38 struct in_addr from, const char *from_str,
39 char *igmp_msg, int igmp_msg_len);
40
41 #endif /* PIM_IGMPV2_H */