diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2024-09-13 19:45:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-13 19:45:57 -0400 |
| commit | f3fc33e17b3e07d3710bbbfa03145558cc83ba74 (patch) | |
| tree | b746d07dce5c5238be49075fca46dce93e962462 /pimd/pim_pim.h | |
| parent | 38bd668b31fe9368eb523b97e0a8049f077150cd (diff) | |
| parent | 571108e0e1f90791db7ff914c72ca803188b7638 (diff) | |
Merge pull request #16438 from Jafaral/pim-10.1-cand-rp
PIM candidate BSR/RP support
Diffstat (limited to 'pimd/pim_pim.h')
| -rw-r--r-- | pimd/pim_pim.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pimd/pim_pim.h b/pimd/pim_pim.h index 35e693013a..39b27bceda 100644 --- a/pimd/pim_pim.h +++ b/pimd/pim_pim.h @@ -10,6 +10,7 @@ #include <zebra.h> #include "if.h" +#include "pim_instance.h" #define PIM_PIM_BUFSIZE_READ (20000) #define PIM_PIM_BUFSIZE_WRITE (20000) @@ -42,10 +43,12 @@ void pim_hello_restart_now(struct interface *ifp); void pim_hello_restart_triggered(struct interface *ifp); int pim_pim_packet(struct interface *ifp, uint8_t *buf, size_t len, - pim_sgaddr sg); + pim_sgaddr sg, bool is_mcast); int pim_msg_send(int fd, pim_addr src, pim_addr dst, uint8_t *pim_msg, int pim_msg_size, struct interface *ifp); int pim_hello_send(struct interface *ifp, uint16_t holdtime); + +int pim_sock_read_helper(int fd, struct pim_instance *pim, bool is_mcast); #endif /* PIM_PIM_H */ |
