Changeset View
Changeset View
Standalone View
Standalone View
sys/net/route/route_ctl.h
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | |||||
struct route_nhop_data; | struct route_nhop_data; | ||||
const struct rtentry *rib_lookup_prefix(uint32_t fibnum, int family, | const struct rtentry *rib_lookup_prefix(uint32_t fibnum, int family, | ||||
const struct sockaddr *dst, const struct sockaddr *netmask, | const struct sockaddr *dst, const struct sockaddr *netmask, | ||||
struct route_nhop_data *rnd); | struct route_nhop_data *rnd); | ||||
const struct rtentry *rib_lookup_lpm(uint32_t fibnum, int family, | const struct rtentry *rib_lookup_lpm(uint32_t fibnum, int family, | ||||
const struct sockaddr *dst, struct route_nhop_data *rnd); | const struct sockaddr *dst, struct route_nhop_data *rnd); | ||||
/* Nhops */ | |||||
void nhop_ref_any(struct nhop_object *nh); | |||||
void nhop_free_any(struct nhop_object *nh); | |||||
/* Multipath */ | /* Multipath */ | ||||
struct nhgrp_object; | struct nhgrp_object; | ||||
struct weightened_nhop; | struct weightened_nhop; | ||||
struct weightened_nhop *nhgrp_get_nhops(struct nhgrp_object *nhg, | struct weightened_nhop *nhgrp_get_nhops(struct nhgrp_object *nhg, | ||||
uint32_t *pnum_nhops); | uint32_t *pnum_nhops); | ||||
enum rib_subscription_type { | enum rib_subscription_type { | ||||
Show All 17 Lines |