Lines Matching refs: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 $
78 * A route consists of a destination address and a reference
84 struct route {
87 u_int32_t ro_flags; /* route flags (see below) */
94 struct route;
105 int32_t rmx_expire; /* lifetime for route, e.g. redirect */
111 u_int32_t rmx_pksent; /* packets sent using this route */
126 * preferring the former if available. For each route we infer
128 * the route was entered. Routes that forward packets through
153 struct rtentry *rt_parent; /* cloning parent of this route */
154 u_long generation_id; /* route generation id */
178 #define RTF_UP 0x1 /* route usable */
185 #define RTF_DELCLONE 0x80 /* delete cloned route */
195 #define RTF_WASCLONED 0x20000 /* route generated through cloning */
199 #define RTF_LOCAL 0x200000 /* route represents a local address */
200 #define RTF_BROADCAST 0x400000 /* route represents a bcast address */
201 #define RTF_MULTICAST 0x800000 /* route represents a mcast address */
242 int rtm_parentflags; /* flags of the parent route */
260 #define RTM_REDIRECT 0x6 /* Told to use different route */
355 extern void rtalloc(struct route *);
356 extern void rtalloc_ign(struct route *, u_long);
357 extern void rtalloc_ign_locked(struct route *, u_long);
358 extern void rtalloc_scoped_ign_locked(struct route *, u_long, unsigned int);
368 * the refcount has reached zero and the route is not up.