diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-18 19:56:10 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 13:51:35 -0400 |
| commit | 4e0bc0f0a8cc235c45db9a2939ff985cf9c75e44 (patch) | |
| tree | 51b78d232c078b11a15e7d93ef96d78ca5338ad5 /pimd/pim_static.h | |
| parent | 2e4e8571f0f63509b02d22edc39d998ddba7c8c0 (diff) | |
pimd: Refactore qpim_static_route_list into pim->static_routes
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_static.h')
| -rw-r--r-- | pimd/pim_static.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pimd/pim_static.h b/pimd/pim_static.h index 1114f4b67b..acb74a721f 100644 --- a/pimd/pim_static.h +++ b/pimd/pim_static.h @@ -36,10 +36,13 @@ struct static_route { void pim_static_route_free(struct static_route *s_route); -int pim_static_add(struct interface *iif, struct interface *oif, - struct in_addr group, struct in_addr source); -int pim_static_del(struct interface *iif, struct interface *oif, - struct in_addr group, struct in_addr source); -int pim_static_write_mroute(struct vty *vty, struct interface *ifp); +int pim_static_add(struct pim_instance *pim, struct interface *iif, + struct interface *oif, struct in_addr group, + struct in_addr source); +int pim_static_del(struct pim_instance *pim, struct interface *iif, + struct interface *oif, struct in_addr group, + struct in_addr source); +int pim_static_write_mroute(struct vty *vty, struct pim_instance *pim, + struct interface *ifp); #endif /* PIM_STATIC_H_ */ |
