Changeset View
Changeset View
Standalone View
Standalone View
sys/net/route.h
Show First 20 Lines • Show All 430 Lines • ▼ Show 20 Lines | int rib_lookup_info(uint32_t, const struct sockaddr *, uint32_t, uint32_t, | ||||
struct rt_addrinfo *); | struct rt_addrinfo *); | ||||
void rib_free_info(struct rt_addrinfo *info); | void rib_free_info(struct rt_addrinfo *info); | ||||
int rib_add_redirect(u_int fibnum, struct sockaddr *dst, | int rib_add_redirect(u_int fibnum, struct sockaddr *dst, | ||||
struct sockaddr *gateway, struct sockaddr *author, struct ifnet *ifp, | struct sockaddr *gateway, struct sockaddr *author, struct ifnet *ifp, | ||||
int flags, int expire_sec); | int flags, int expire_sec); | ||||
/* New API */ | /* New API */ | ||||
void rib_walk(int af, u_int fibnum, rt_walktree_f_t *wa_f, void *arg); | void rib_walk(int af, u_int fibnum, rt_walktree_f_t *wa_f, void *arg); | ||||
struct nhop_object *rib_lookup(uint32_t fibnum, const struct sockaddr *dst, | |||||
uint32_t flags, uint32_t flowid); | |||||
#endif | #endif | ||||
#endif | #endif |