X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=pimd%2Fpim_util.h;h=c66dd7b660c40b0015bb7562f4e312477cad8ac7;hb=01b4cb3ed6181d7200f66e0187b1e5c5db6c0e5a;hp=47880052062c61c03e6d3ddee34b16de1b2209de;hpb=a70901263f5ca1dbdddbcf08a47df23ccbf434b9;p=mirror_frr.git diff --git a/pimd/pim_util.h b/pimd/pim_util.h index 478800520..c66dd7b66 100644 --- a/pimd/pim_util.h +++ b/pimd/pim_util.h @@ -25,12 +25,15 @@ #include #include "checksum.h" +#include "pimd.h" +#include "pim_iface.h" uint8_t igmp_msg_encode16to8(uint16_t value); uint16_t igmp_msg_decode8to16(uint8_t code); void pim_pkt_dump(const char *label, const uint8_t *buf, int size); -int pim_is_group_224_0_0_0_24 (struct in_addr group_addr); -int pim_is_group_224_4 (struct in_addr group_addr); +int pim_is_group_224_0_0_0_24(struct in_addr group_addr); +int pim_is_group_224_4(struct in_addr group_addr); +bool pim_is_group_filtered(struct pim_interface *pim_ifp, struct in_addr *grp); #endif /* PIM_UTIL_H */