Changeset View
Changeset View
Standalone View
Standalone View
sys/net/route/route_var.h
Show First 20 Lines • Show All 159 Lines • ▼ Show 20 Lines | union { | ||||
* cacheline boundary. | * cacheline boundary. | ||||
*/ | */ | ||||
struct sockaddr_in rt_dst4; | struct sockaddr_in rt_dst4; | ||||
struct sockaddr_in6 rt_dst6; | struct sockaddr_in6 rt_dst6; | ||||
struct sockaddr rt_dst; | struct sockaddr rt_dst; | ||||
char rt_dstb[28]; | char rt_dstb[28]; | ||||
}; | }; | ||||
int rt_flags; /* up/down?, host/net */ | int rte_flags; /* up/down?, host/net */ | ||||
u_long rt_weight; /* absolute weight */ | u_long rt_weight; /* absolute weight */ | ||||
u_long rt_expire; /* lifetime for route, e.g. redirect */ | u_long rt_expire; /* lifetime for route, e.g. redirect */ | ||||
#define rt_endzero rt_mtx | #define rt_endzero rt_mtx | ||||
struct mtx rt_mtx; /* mutex for routing entry */ | struct mtx rt_mtx; /* mutex for routing entry */ | ||||
struct rtentry *rt_chain; /* pointer to next rtentry to delete */ | struct rtentry *rt_chain; /* pointer to next rtentry to delete */ | ||||
struct epoch_context rt_epoch_ctx; /* net epoch tracker */ | struct epoch_context rt_epoch_ctx; /* net epoch tracker */ | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |