Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net/route.h
Show First 20 Lines • Show All 381 Lines • ▼ Show 20 Lines | |||||
u_int rt_tables_get_gen(int table, int fam); | u_int rt_tables_get_gen(int table, int fam); | ||||
int rtsock_addrmsg(int, struct ifaddr *, int); | int rtsock_addrmsg(int, struct ifaddr *, int); | ||||
int rtsock_routemsg(int, struct rtentry *, struct ifnet *ifp, int, int); | int rtsock_routemsg(int, struct rtentry *, struct ifnet *ifp, int, int); | ||||
int rtsock_routemsg_info(int, struct rt_addrinfo *, int); | int rtsock_routemsg_info(int, struct rt_addrinfo *, int); | ||||
struct sockaddr *rtsock_fix_netmask(const struct sockaddr *dst, | struct sockaddr *rtsock_fix_netmask(const struct sockaddr *dst, | ||||
const struct sockaddr *smask, struct sockaddr_storage *dmask); | const struct sockaddr *smask, struct sockaddr_storage *dmask); | ||||
/* | |||||
* Note the following locking behavior: | |||||
* | |||||
* rtfree() and RTFREE_LOCKED() require a locked rtentry | |||||
* | |||||
* RTFREE() uses an unlocked entry. | |||||
*/ | |||||
void rtfree(struct rtentry *); | |||||
void rtfree_func(struct rtentry *); | |||||
void rt_updatemtu(struct ifnet *); | void rt_updatemtu(struct ifnet *); | ||||
void rt_flushifroutes_af(struct ifnet *, int); | void rt_flushifroutes_af(struct ifnet *, int); | ||||
void rt_flushifroutes(struct ifnet *ifp); | void rt_flushifroutes(struct ifnet *ifp); | ||||
/* XXX MRT COMPAT VERSIONS THAT SET UNIVERSE to 0 */ | /* XXX MRT COMPAT VERSIONS THAT SET UNIVERSE to 0 */ | ||||
/* 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); | ||||
Show All 16 Lines |