]>
Commit | Line | Data |
---|---|---|
b05b72e8 DW |
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 | * | |
896014f4 DL |
16 | * You should have received a copy of the GNU General Public License along |
17 | * with this program; see the file COPYING; if not, write to the Free Software | |
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
b05b72e8 DW |
19 | */ |
20 | ||
21 | #ifndef PIM_IGMPV2_H | |
22 | #define PIM_IGMPV2_H | |
23 | ||
d62a17ae | 24 | void igmp_v2_send_query(struct igmp_group *group, int fd, const char *ifname, |
25 | char *query_buf, struct in_addr dst_addr, | |
26 | struct in_addr group_addr, | |
27 | int query_max_response_time_dsec); | |
b05b72e8 | 28 | |
d62a17ae | 29 | int igmp_v2_recv_report(struct igmp_sock *igmp, struct in_addr from, |
30 | const char *from_str, char *igmp_msg, int igmp_msg_len); | |
b05b72e8 | 31 | |
d62a17ae | 32 | int igmp_v2_recv_leave(struct igmp_sock *igmp, struct in_addr from, |
33 | const char *from_str, char *igmp_msg, int igmp_msg_len); | |
b05b72e8 DW |
34 | |
35 | #endif /* PIM_IGMPV2_H */ |