2 * PIMv6 temporary stubs
3 * Copyright (C) 2022 David Lamparter for NetDEF, Inc.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the Free
7 * Software Foundation; either version 2 of the License, or (at your option)
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * You should have received a copy of the GNU General Public License along
16 * with this program; see the file COPYING; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24 #include "pim_zlookup.h"
26 #include "pim_register.h"
32 void pim_nht_bsr_add(struct pim_instance
*pim
, struct in_addr addr
)
36 void pim_nht_bsr_del(struct pim_instance
*pim
, struct in_addr addr
)
40 int zclient_lookup_nexthop(struct pim_instance
*pim
,
41 struct pim_zlookup_nexthop nexthop_tab
[],
42 const int tab_size
, pim_addr addr
,
48 void zclient_lookup_new(void)
52 void zclient_lookup_free(void)
59 int pim_msg_send(int fd
, pim_addr src
, pim_addr dst
, uint8_t *pim_msg
,
60 int pim_msg_size
, const char *ifname
)
65 int pim_hello_send(struct interface
*ifp
, uint16_t holdtime
)
70 void pim_hello_restart_now(struct interface
*ifp
)
74 void pim_hello_restart_triggered(struct interface
*ifp
)
78 int pim_sock_add(struct interface
*ifp
)
83 void pim_sock_delete(struct interface
*ifp
, const char *delete_message
)
90 void pim_register_join(struct pim_upstream
*up
)
94 void pim_null_register_send(struct pim_upstream
*up
)
98 void pim_reg_del_on_couldreg_fail(struct interface
*ifp
)
102 bool pim_bsm_new_nbr_fwd(struct pim_neighbor
*neigh
, struct interface
*ifp
)
107 void pim_bsm_proc_free(struct pim_instance
*pim
)
111 void pim_bsm_proc_init(struct pim_instance
*pim
)
115 struct bsgrp_node
*pim_bsm_get_bsgrp_node(struct bsm_scope
*scope
,
121 void pim_bsm_write_config(struct vty
*vty
, struct interface
*ifp
)