diff options
-rw-r--r-- | include/nl-priv-dynamic-route/nl-priv-dynamic-route.h | 15 | ||||
-rw-r--r-- | lib/route/nl-route.h | 15 |
2 files changed, 15 insertions, 15 deletions
diff --git a/include/nl-priv-dynamic-route/nl-priv-dynamic-route.h b/include/nl-priv-dynamic-route/nl-priv-dynamic-route.h index c8168a3..b6192a7 100644 --- a/include/nl-priv-dynamic-route/nl-priv-dynamic-route.h +++ b/include/nl-priv-dynamic-route/nl-priv-dynamic-route.h @@ -93,4 +93,19 @@ extern struct rtnl_tc_ops *rtnl_tc_lookup_ops(enum rtnl_tc_type, const char *); struct rtnl_tc_ops *rtnl_tc_get_ops(struct rtnl_tc *); +struct rtnl_nexthop { + uint8_t rtnh_flags; + uint8_t rtnh_flag_mask; + uint8_t rtnh_weight; + /* 1 byte spare */ + uint32_t rtnh_ifindex; + struct nl_addr *rtnh_gateway; + uint32_t ce_mask; /* HACK to support attr macros */ + struct nl_list_head rtnh_list; + uint32_t rtnh_realms; + struct nl_addr *rtnh_newdst; + struct nl_addr *rtnh_via; + struct rtnl_nh_encap *rtnh_encap; +}; + #endif /* __NL_PRIVATE_TYPES_NL_ROUTE_H__ */ diff --git a/lib/route/nl-route.h b/lib/route/nl-route.h index 28d0166..30ce442 100644 --- a/lib/route/nl-route.h +++ b/lib/route/nl-route.h @@ -80,21 +80,6 @@ struct rtnl_nh_encap { void *priv; /* private data for encap type */ }; -struct rtnl_nexthop { - uint8_t rtnh_flags; - uint8_t rtnh_flag_mask; - uint8_t rtnh_weight; - /* 1 byte spare */ - uint32_t rtnh_ifindex; - struct nl_addr *rtnh_gateway; - uint32_t ce_mask; /* HACK to support attr macros */ - struct nl_list_head rtnh_list; - uint32_t rtnh_realms; - struct nl_addr *rtnh_newdst; - struct nl_addr *rtnh_via; - struct rtnl_nh_encap *rtnh_encap; -}; - struct rtnl_ratespec { uint64_t rs_rate64; uint16_t rs_overhead; |