Changeset View
Changeset View
Standalone View
Standalone View
sys/net/route/nhop.h
Show First 20 Lines • Show All 193 Lines • ▼ Show 20 Lines | |||||
void nhop_set_blackhole(struct nhop_object *nh, int blackhole_rt_flag); | void nhop_set_blackhole(struct nhop_object *nh, int blackhole_rt_flag); | ||||
void nhop_set_pinned(struct nhop_object *nh, bool is_pinned); | void nhop_set_pinned(struct nhop_object *nh, bool is_pinned); | ||||
void nhop_set_redirect(struct nhop_object *nh, bool is_redirect); | void nhop_set_redirect(struct nhop_object *nh, bool is_redirect); | ||||
void nhop_set_type(struct nhop_object *nh, enum nhop_type nh_type); | void nhop_set_type(struct nhop_object *nh, enum nhop_type nh_type); | ||||
void nhop_set_src(struct nhop_object *nh, struct ifaddr *ifa); | void nhop_set_src(struct nhop_object *nh, struct ifaddr *ifa); | ||||
void nhop_set_transmit_ifp(struct nhop_object *nh, struct ifnet *ifp); | void nhop_set_transmit_ifp(struct nhop_object *nh, struct ifnet *ifp); | ||||
uint32_t nhop_get_idx(const struct nhop_object *nh); | uint32_t nhop_get_idx(const struct nhop_object *nh); | ||||
uint32_t nhop_get_uidx(const struct nhop_object *nh); | |||||
void nhop_set_uidx(struct nhop_object *nh, uint32_t uidx); | |||||
enum nhop_type nhop_get_type(const struct nhop_object *nh); | enum nhop_type nhop_get_type(const struct nhop_object *nh); | ||||
int nhop_get_rtflags(const struct nhop_object *nh); | int nhop_get_rtflags(const struct nhop_object *nh); | ||||
struct vnet *nhop_get_vnet(const struct nhop_object *nh); | struct vnet *nhop_get_vnet(const struct nhop_object *nh); | ||||
struct nhop_object *nhop_select_func(struct nhop_object *nh, uint32_t flowid); | struct nhop_object *nhop_select_func(struct nhop_object *nh, uint32_t flowid); | ||||
int nhop_get_upper_family(const struct nhop_object *nh); | int nhop_get_upper_family(const struct nhop_object *nh); | ||||
int nhop_get_neigh_family(const struct nhop_object *nh); | int nhop_get_neigh_family(const struct nhop_object *nh); | ||||
uint32_t nhop_get_fibnum(const struct nhop_object *nh); | uint32_t nhop_get_fibnum(const struct nhop_object *nh); | ||||
void nhop_set_fibnum(struct nhop_object *nh, uint32_t fibnum); | void nhop_set_fibnum(struct nhop_object *nh, uint32_t fibnum); | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |