diff options
Diffstat (limited to 'pimd/pim_static.h')
-rw-r--r-- | pimd/pim_static.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/pimd/pim_static.h b/pimd/pim_static.h index c288aa7ff..4e4b15e7b 100644 --- a/pimd/pim_static.h +++ b/pimd/pim_static.h @@ -26,19 +26,21 @@ #include "if.h" struct static_route { - /* Each static route is unique by these pair of addresses */ - struct in_addr group; - struct in_addr source; + /* Each static route is unique by these pair of addresses */ + struct in_addr group; + struct in_addr source; - struct channel_oil c_oil; - ifindex_t iif; - unsigned char oif_ttls[MAXVIFS]; + struct channel_oil c_oil; + ifindex_t iif; + unsigned char oif_ttls[MAXVIFS]; }; 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 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); #endif /* PIM_STATIC_H_ */ |