Searched refs:route (Results 1 - 25 of 114) sorted by relevance

12345

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Din_arp.c77 #include <net/route.h>
229 * XXX: If this is a manually added route to interface
238 * Case 1: This route should come from a route to iface.
263 break; /* This happens on a route change */
265 * Case 2: This route may come from cloning, or a manual route
315 * the route to force traffic out to the hardware.
365 * arp_lookup_route will lookup the route for a given address.
375 route_t *route,
371 arp_lookup_route( const struct in_addr *addr, int create, int proxy, route_t *route, unsigned int ifscope) argument
449 route_t route = hint; local
517 route_t route = NULL; local
645 route_t route = NULL; local
[all...]
H A Dip_flow.h77 struct route ipf_ro; /* associated route entry */
H A Dip_var.h175 u_int32_t ips_noroute; /* packets discarded due to no route */
202 struct route;
233 extern int ip_output(struct mbuf *, struct mbuf *, struct route *, int,
235 extern int ip_output_list(struct mbuf *, int, struct mbuf *, struct route *,
238 ip_rtaddr(struct in_addr, struct route *);
H A Din_var.h74 #include <net/route.h>
301 struct route;
312 void ipflow_create(const struct route *, struct mbuf *);
H A Dkpi_ipfilter.c38 #include <net/route.h>
264 struct route ro;
299 /* Fill out a route structure and get a route */
300 bzero(&ro, sizeof(struct route));
318 /* Release the route */
370 /* Fill out a route structure and get a route */
385 rtalloc((struct route*)&ro);
394 /* Release the route */
[all...]
H A Dif_atm.c80 #include <net/route.h>
98 * "rt" = route entry
129 * route added by a command (e.g. ifconfig, route, arp...).
131 * first check to see if this is not a host route, in which
144 printf("atm_rtrequest: cloning route detected?\n");
232 * [1] "rt" = the link level route to use (or null if need to look one up)
242 * but this is enough for PVCs entered via the "route" command.
275 * atm_pseudohdr data structure for this route. we currently
295 * info in it (it is prob. the interface route, whic
[all...]
H A Dip_dummynet.h163 struct route ro; /* route, for ip_output. MUST COPY */
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dif_gif.h68 /* xxx sigh, why route have struct route instead of pointer? */
81 struct route gifscr_ro; /* xxx */
H A Dnet_osdep.c70 #include <net/route.h>
H A Droute.h60 * @(#)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 { struct
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 wa
[all...]
H A Dether_at_pr_module.c74 #include <net/route.h>
142 __unused void *route,
137 ether_at_pre_output( ifnet_t ifp, __unused protocol_family_t protocol_family, mbuf_t *m0, const struct sockaddr *dst_netaddr, __unused void *route, char *type, char *edst) argument
H A DMakefile28 route.h
H A Dether_inet6_pr_module.c75 #include <net/route.h>
141 void *route,
155 &sdl, sizeof(sdl), route, *m0);
136 ether_inet6_pre_output( ifnet_t ifp, __unused protocol_family_t protocol_family, mbuf_t *m0, const struct sockaddr *dst_netaddr, void *route, char *type, char *edst) argument
H A Dif_loop.c85 #include <net/route.h>
244 * This is a common pre-output route used by INET and INET6. This could
254 void *route,
259 register struct rtentry *rt = route;
249 lo_pre_output( __unused ifnet_t ifp, protocol_family_t protocol_family, mbuf_t *m, __unused const struct sockaddr *dst, void *route, char *frame_type, __unused char *dst_addr) argument
H A Ddlil.h140 void *route,
H A Dif_disc.c78 #include <net/route.h>
H A Dether_inet_pr_module.c80 #include <net/route.h>
223 void* route,
245 &ll_dest, sizeof(ll_dest), (route_t)route, *m0);
218 ether_inet_pre_output( ifnet_t ifp, __unused protocol_family_t protocol_family, mbuf_t *m0, const struct sockaddr *dst_netaddr, void* route, char *type, char *edst) argument
H A Dif_dummy.c86 #include <net/route.h>
H A Dif_ethersubr.c74 #include <net/route.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/man/man4/
H A DMakefile34 route.4 \
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Ddest6.c45 #include <net/route.h>
H A Din6_src.c82 #include <net/route.h>
216 * by caller, use an address associated with the route
241 * If route is known or can be allocated now,
258 /* No route yet, so try to acquire one */
269 &((struct route *)ro)->ro_dst, 0, 0UL);
271 rtalloc_ign_locked((struct route *)ro, 0UL);
315 *errorp = EHOSTUNREACH; /* no route */
H A Dip6_forward.c47 #include <net/route.h>
317 rtalloc_ign((struct route *)ip6forward_rt,
346 rtalloc_ign((struct route *)ip6forward_rt, RTF_PRCLONING);
453 * Also, don't send redirect if forwarding using a route
509 * XXX: it is common to route invalid packets to loopback.
/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/
H A Dkeydb.h67 struct route sa_route; /* route cache */
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dddp_rtmptable.c1058 RT_entry *route; local
1069 if (!(route = rt_blookup(ifID->ifThisNode.s_net))) {
1072 zmap=route->ZoneBitMap;
1118 RT_entry *route; local
1133 if (!(route = rt_blookup(ifID->ifThisNode.s_net)))
1135 if (route->ZoneBitMap[zmi] & zmb) {
1137 route->NetPort));
1139 ifID_table[route->NetPort]->ifName, IFNAMESIZ);

Completed in 98 milliseconds

12345