]> git.proxmox.com Git - mirror_frr.git/blame - pimd/pim6_stubs.c
Merge pull request #11114 from opensourcerouting/vrf-declvar-macros
[mirror_frr.git] / pimd / pim6_stubs.c
CommitLineData
b7f71639
DL
1/*
2 * PIMv6 temporary stubs
3 * Copyright (C) 2022 David Lamparter for NetDEF, Inc.
4 *
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)
8 * any later version.
9 *
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
13 * more details.
14 *
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
18 */
19
20#include <zebra.h>
21
22#include "pimd.h"
23#include "pim_nht.h"
24#include "pim_zlookup.h"
25#include "pim_pim.h"
26#include "pim_register.h"
27#include "pim_cmd.h"
28
29/*
30 * NH lookup / NHT
31 */
b7f71639
DL
32void pim_nht_bsr_add(struct pim_instance *pim, struct in_addr addr)
33{
34}
35
36void pim_nht_bsr_del(struct pim_instance *pim, struct in_addr addr)
37{
38}
39
b7f71639
DL
40/*
41 * PIM register
42 */
43void pim_register_join(struct pim_upstream *up)
44{
45}
46
47void pim_null_register_send(struct pim_upstream *up)
48{
49}
50
51void pim_reg_del_on_couldreg_fail(struct interface *ifp)
52{
53}
54
4fc1f59e
MR
55bool pim_bsm_new_nbr_fwd(struct pim_neighbor *neigh, struct interface *ifp)
56{
57 return false;
58}
59
60void pim_bsm_proc_free(struct pim_instance *pim)
61{
62}
63
64void pim_bsm_proc_init(struct pim_instance *pim)
65{
66}
67
68struct bsgrp_node *pim_bsm_get_bsgrp_node(struct bsm_scope *scope,
69 struct prefix *grp)
70{
71 return NULL;
72}
73
74void pim_bsm_write_config(struct vty *vty, struct interface *ifp)
75{
76}
cc362d24
DL
77
78int pim_bsm_process(struct interface *ifp, pim_sgaddr *sg, uint8_t *buf,
79 uint32_t buf_size, bool no_fwd)
80{
81 return 0;
82}
83
a5fa9822 84void pim_register_send(const uint8_t *buf, int buf_size, pim_addr src,
85 struct pim_rpf *rpg, int null_register,
86 struct pim_upstream *up)
87{
88}
cc362d24 89
a5fa9822 90void pim_register_stop_send(struct interface *ifp, pim_sgaddr *sg, pim_addr src,
91 pim_addr originator)
92{
93}
cc362d24
DL
94
95int pim_register_recv(struct interface *ifp, pim_addr dest_addr,
96 pim_addr src_addr, uint8_t *tlv_buf, int tlv_buf_size)
97{
98 return 0;
99}
100
101int pim_register_stop_recv(struct interface *ifp, uint8_t *buf, int buf_size)
102{
103 return 0;
104}