Lines Matching defs:route

60  *	@(#)route.h	8.3 (Berkeley) 4/19/94
61 * $FreeBSD: src/sys/net/route.h,v 1.36.2.1 2000/08/16 06:14:23 jayanth Exp $
79 * A route consists of a destination address and a reference
85 struct route {
87 * N.B: struct route must begin with ro_rt and ro_flags
89 * to a 'struct route *'.
92 uint32_t ro_flags; /* route flags (see below) */
111 struct route;
122 int32_t rmx_expire; /* lifetime for route, e.g. redirect */
128 u_int32_t rmx_pksent; /* packets sent using this route */
149 * preferring the former if available. For each route we infer
151 * the route was entered. Routes that forward packets through
183 struct rtentry *rt_parent; /* cloning parent of this route */
184 uint32_t generation_id; /* route generation id */
186 * See bsd/net/route.c for synchronization notes.
204 #define RTF_UP 0x1 /* route usable */
211 #define RTF_DELCLONE 0x80 /* delete cloned route */
221 #define RTF_WASCLONED 0x20000 /* route generated through cloning */
225 #define RTF_LOCAL 0x200000 /* route represents a local address */
226 #define RTF_BROADCAST 0x400000 /* route represents a bcast address */
227 #define RTF_MULTICAST 0x800000 /* route represents a mcast address */
230 #define RTF_IFREF 0x4000000 /* route holds a ref to interface */
272 int rtm_parentflags; /* flags of the parent route */
297 struct rt_reach_info rtm_ri; /* route reachability info */
311 #define RTM_REDIRECT 0x6 /* Told to use different route */
392 * Generic call trace used by some subsystems (e.g. route, ifaddr)
502 extern void rtalloc(struct route *);
503 extern void rtalloc_scoped(struct route *, unsigned int);
504 extern void rtalloc_ign(struct route *, uint32_t);
505 extern void rtalloc_scoped_ign(struct route *, uint32_t, unsigned int);
516 * the refcount has reached zero and the route is not up.
554 extern void route_copyin(struct route *src, struct route *dst, size_t length);
555 extern void route_copyout(struct route *dst, const struct route *src, size_t length);