Changeset View
Changeset View
Standalone View
Standalone View
net/route.h
Show First 20 Lines • Show All 405 Lines • ▼ Show 20 Lines | |||||
/* Thes are used by old code not yet converted to use multiple FIBS */ | /* Thes are used by old code not yet converted to use multiple FIBS */ | ||||
int rtinit(struct ifaddr *, int, int); | int rtinit(struct ifaddr *, int, int); | ||||
/* XXX MRT NEW VERSIONS THAT USE FIBs | /* XXX MRT NEW VERSIONS THAT USE FIBs | ||||
* For now the protocol indepedent versions are the same as the AF_INET ones | * For now the protocol indepedent versions are the same as the AF_INET ones | ||||
* but this will change.. | * but this will change.. | ||||
*/ | */ | ||||
int rtioctl_fib(u_long, caddr_t, u_int); | int rtioctl_fib(u_long, caddr_t, u_int); | ||||
int rtrequest_fib(int, struct sockaddr *, | |||||
struct sockaddr *, struct sockaddr *, int, struct rtentry **, u_int); | |||||
int rtrequest1_fib(int, struct rt_addrinfo *, struct rtentry **, u_int); | |||||
int rib_lookup_info(uint32_t, const struct sockaddr *, uint32_t, uint32_t, | 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); | ||||
/* New API */ | /* New API */ | ||||
struct nhop_object *rib_lookup(uint32_t fibnum, const struct sockaddr *dst, | struct nhop_object *rib_lookup(uint32_t fibnum, const struct sockaddr *dst, | ||||
uint32_t flags, uint32_t flowid); | uint32_t flags, uint32_t flowid); | ||||
#endif | #endif | ||||
#endif | #endif |