diff options
Diffstat (limited to 'zebra/zebra_static.h')
| -rw-r--r-- | zebra/zebra_static.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/zebra/zebra_static.h b/zebra/zebra_static.h index 234e3e4036..a12e465e79 100644 --- a/zebra/zebra_static.h +++ b/zebra/zebra_static.h @@ -26,8 +26,8 @@ /* Static route label information */ struct static_nh_label { - u_int8_t num_labels; - u_int8_t reserved[3]; + uint8_t num_labels; + uint8_t reserved[3]; mpls_label_t label[MPLS_MAX_LABELS]; }; @@ -57,7 +57,7 @@ struct static_route { vrf_id_t nh_vrf_id; /* Administrative distance. */ - u_char distance; + uint8_t distance; /* Tag */ route_tag_t tag; @@ -85,18 +85,18 @@ extern void static_uninstall_route(afi_t afi, safi_t safi, struct prefix *p, struct prefix_ipv6 *src_p, struct static_route *si); -extern int static_add_route(afi_t, safi_t safi, u_char type, struct prefix *p, +extern int static_add_route(afi_t, safi_t safi, uint8_t type, struct prefix *p, struct prefix_ipv6 *src_p, union g_addr *gate, const char *ifname, enum static_blackhole_type bh_type, route_tag_t tag, - u_char distance, struct zebra_vrf *zvrf, + uint8_t distance, struct zebra_vrf *zvrf, struct zebra_vrf *nh_zvrf, struct static_nh_label *snh_label); -extern int static_delete_route(afi_t, safi_t safi, u_char type, +extern int static_delete_route(afi_t, safi_t safi, uint8_t type, struct prefix *p, struct prefix_ipv6 *src_p, union g_addr *gate, const char *ifname, - route_tag_t tag, u_char distance, + route_tag_t tag, uint8_t distance, struct zebra_vrf *zvrf, struct static_nh_label *snh_label); |
