Lines Matching refs:route
31 * @(#)route.h 8.4 (Berkeley) 1/9/95
48 * Struct route consiste of a destination address,
49 * a route entry pointer, link-layer prepend data pointer along
52 struct route {
84 u_long rmx_expire; /* lifetime for route, e.g. redirect */
90 u_long rmx_pksent; /* packets sent using this route */
91 u_long rmx_weight; /* route weight */
92 u_long rmx_nhidx; /* route nexhop index */
107 /* default route weight */
112 * Keep a generation count of routing table, incremented on route addition,
122 VNET_DECLARE(uint32_t, _rt_numfibs); /* number of existing route tables */
166 * preferring the former if available. For each route we infer
168 * the route was entered. Routes that forward packets through
172 #define RTF_UP 0x1 /* route usable */
193 #define RTF_PINNED 0x100000 /* route is immutable */
194 #define RTF_LOCAL 0x200000 /* route represents a local address */
195 #define RTF_BROADCAST 0x400000 /* route represents a bcast address */
196 #define RTF_MULTICAST 0x800000 /* route represents a mcast address */
198 #define RTF_STICKY 0x10000000 /* always route dst->src */
219 #define NHF_DEFAULT 0x0080 /* Default route */
227 #define NHR_NODEFAULT 0x02 /* uRPF: do not consider default route */
229 /* Control plane route request flags */
244 uint64_t rts_add_failure; /* # of route addition failures */
245 uint64_t rts_add_retry; /* # of route addition retries */
246 uint64_t rts_del_failure; /* # of route deletion failure */
247 uint64_t rts_del_retry; /* # of route deletion retries */
289 #define RTM_REDIRECT 0x6 /* (1) Told to use different route */
351 struct ifnet *rti_ifp; /* route interface */
356 struct rt_metrics *rti_rmx; /* Pointer to route metrics */
398 * Validate a cached route based on a supplied cookie. If there is an