diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-08-29 00:10:36 -0500 |
|---|---|---|
| committer | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-09-09 13:27:49 -0500 |
| commit | d97bea338de84b8ed33a0f1372ca6b8b56fb7d1d (patch) | |
| tree | 859b88978571b8b15991d432f39c8b66b3775827 /pimd/pim_pim.h | |
| parent | 865bae9657249ab2b956debca49157b0c7d1cc92 (diff) | |
pimd: refactor pim_sock_read to be used with unicast bsr msgs
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Diffstat (limited to 'pimd/pim_pim.h')
| -rw-r--r-- | pimd/pim_pim.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_pim.h b/pimd/pim_pim.h index 13ccbb81b3..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) @@ -48,4 +49,6 @@ 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 */ |
