diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-05-06 12:36:51 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2022-05-06 15:10:57 +0200 | 
| commit | 993e3d8e131ab729f86bfd01f031093dc4827d87 (patch) | |
| tree | ed2851d0ffc8a5d0bf80f0134b60bf13ff44cf2a /pimd/pim_cmd_common.h | |
| parent | 1b00ed5f6510a227e1b1da92f1802ca565823083 (diff) | |
pimd: un-dependency-hell `pim_instance.h`
This is causing build issues on BSD by including (transitively)
`linux/mroute6.h` - try to address by disentangling the headers a bunch.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_cmd_common.h')
| -rw-r--r-- | pimd/pim_cmd_common.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h index 8753d1444e..206a2248f8 100644 --- a/pimd/pim_cmd_common.h +++ b/pimd/pim_cmd_common.h @@ -20,6 +20,12 @@  #ifndef PIM_CMD_COMMON_H  #define PIM_CMD_COMMON_H +struct pim_upstream; +struct pim_instance; + +/* duplicated from pim_instance.h - needed to avoid dependency mess */ +struct pim_instance *pim_get_pim_instance(vrf_id_t vrf_id); +  const char *pim_cli_get_vrf_name(struct vty *vty);  int pim_process_join_prune_cmd(struct vty *vty, const char *jpi_str);  int pim_process_no_join_prune_cmd(struct vty *vty);  | 
