Searched refs:ro (Results 1 - 25 of 100) sorted by relevance

1234

/freebsd-9.3-release/sys/netatalk/
H A Dddp_output.c118 ddp_route(struct mbuf *m, struct route *ro) argument
129 if (satosat(&ro->ro_dst)->sat_addr.s_net == ATADDR_ANYNET
130 && satosat(&ro->ro_dst)->sat_addr.s_node == ATADDR_ANYNODE) {
139 if ((ro->ro_rt == NULL) || (ro->ro_rt->rt_ifa == NULL) ||
140 ((ifp = ro->ro_rt->rt_ifa->ifa_ifp) == NULL))
141 rtalloc(ro);
142 if ((ro->ro_rt != NULL) && (ro->ro_rt->rt_ifa) &&
143 (ifp = ro
[all...]
H A Dddp_pcb.c194 struct route *ro; local
217 ro = &ddp->ddp_route;
223 if (ro->ro_rt) {
230 if ((ifp = ro->ro_rt->rt_ifp) != NULL) {
238 if (aa == NULL || (satosat(&ro->ro_dst)->sat_addr.s_net !=
240 satosat(&ro->ro_dst)->sat_addr.s_node !=
242 RTFREE(ro->ro_rt);
243 ro->ro_rt = NULL;
251 if (ro->ro_rt == NULL || ro
[all...]
H A Dat_extern.h63 int ddp_route(struct mbuf *m, struct route *ro);
/freebsd-9.3-release/sys/netipx/
H A Dipx_outputfl.c78 ipx_outputfl(struct mbuf *m0, struct route *ro, int flags) argument
89 if (ro == NULL) {
90 ro = &ipxroute;
91 bzero((caddr_t)ro, sizeof(*ro));
93 dst = (struct sockaddr_ipx *)&ro->ro_dst;
94 if (ro->ro_rt == NULL) {
118 rtalloc_ign(ro, 0);
119 } else if ((ro->ro_rt->rt_flags & RTF_UP) == 0) {
123 RTFREE(ro
[all...]
H A Dipx_pcb.c163 struct route *ro; local
185 ro = &ipxp->ipxp_route;
186 dst = &satoipx_addr(ro->ro_dst);
192 if (ro->ro_rt != NULL && !(ro->ro_rt->rt_flags & RTF_HOST)) {
197 if (ro->ro_rt != NULL)
198 RTFREE(ro->ro_rt);
199 ro->ro_rt = NULL;
204 (ro->ro_rt == NULL || ro
[all...]
H A Dipx_input.c105 static int ipx_do_route(struct ipx_addr *src, struct route *ro);
106 static void ipx_undo_route(struct route *ro);
442 ipx_do_route(struct ipx_addr *src, struct route *ro) argument
446 bzero((caddr_t)ro, sizeof(*ro));
447 dst = (struct sockaddr_ipx *)&ro->ro_dst;
453 rtalloc_ign(ro, 0);
454 if (ro->ro_rt == NULL || ro->ro_rt->rt_ifp == NULL) {
457 ro
462 ipx_undo_route(struct route *ro) argument
[all...]
/freebsd-9.3-release/sys/net/
H A Dradix_mpath.c201 rtalloc_mpath_fib(struct route *ro, uint32_t hash, u_int fibnum) argument
212 if (ro->ro_rt && ro->ro_rt->rt_ifp && (ro->ro_rt->rt_flags & RTF_UP)
213 && RT_LINK_IS_UP(ro->ro_rt->rt_ifp))
215 ro->ro_rt = rtalloc1_fib(&ro->ro_dst, 1, 0, fibnum);
218 if (ro->ro_rt == NULL)
220 if (rn_mpath_next((struct radix_node *)ro->ro_rt) == NULL) {
221 RT_UNLOCK(ro
[all...]
H A Dflowtable.h72 struct sockaddr_storage *dsa, struct route *ro, uint32_t fibnum, int flags);
77 void flow_to_route(struct flentry *fl, struct route *ro);
79 void flow_to_route_in6(struct flentry *fl, struct route_in6 *ro);
H A Dflowtable.c377 rtalloc_ign_wrapper(struct route *ro, uint32_t hash, u_int fibnum) argument
380 rtalloc_ign_fib(ro, 0, fibnum);
610 flow_to_route(struct flentry *fle, struct route *ro) argument
615 sin = (struct sockaddr_in *)&ro->ro_dst;
620 ro->ro_rt = __DEVOLATILE(struct rtentry *, fle->f_rt);
621 ro->ro_lle = __DEVOLATILE(struct llentry *, fle->f_lle);
622 ro->ro_flags |= RT_NORTREF;
817 flow_to_route_in6(struct flentry *fle, struct route_in6 *ro) argument
822 sin6 = (struct sockaddr_in6 *)&ro->ro_dst;
828 ro
969 flowtable_insert(struct flowtable *ft, uint32_t hash, uint32_t *key, uint32_t fibnum, struct route *ro, uint16_t flags) argument
1043 kern_flowtable_insert(struct flowtable *ft, struct sockaddr_storage *ssa, struct sockaddr_storage *dsa, struct route *ro, uint32_t fibnum, int flags) argument
1123 struct route sro, *ro; local
[all...]
H A Dif_gre.c116 struct route *ro);
245 struct route *ro)
875 struct route *ro; local
877 ro = &sc->route;
879 memset(ro, 0, sizeof(struct route));
880 ((struct sockaddr_in *)&ro->ro_dst)->sin_addr = sc->g_dst;
881 ro->ro_dst.sa_family = AF_INET;
882 ro->ro_dst.sa_len = sizeof(ro->ro_dst);
891 ((struct sockaddr_in *)&ro
244 gre_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, struct route *ro) argument
[all...]
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-npi.h104 uint64_t ro : 1; /**< Relaxed ordering */ member in struct:__anon6539::__anon6540
108 uint64_t ro : 1;
130 uint64_t ro : 1; /**< Relaxed ordering */ member in struct:__anon6539::__anon6542
138 uint64_t ro : 1;
/freebsd-9.3-release/sys/netinet/
H A Dip_fastfwd.c116 ip_findroute(struct route *ro, struct in_addr dest, struct mbuf *m) argument
124 bzero(ro, sizeof(*ro));
125 dst = (struct sockaddr_in *)&ro->ro_dst;
129 in_rtalloc_ign(ro, 0, M_GETFIB(m));
134 rt = ro->ro_rt;
163 struct route ro; local
181 bzero(&ro, sizeof(ro));
420 if ((dst = ip_findroute(&ro, des
[all...]
H A Dsctp_os_bsd.h221 #define SCTP_ROUTE_IS_REAL_LOOP(ro) ((ro)->ro_rt && (ro)->ro_rt->rt_ifa && (ro)->ro_rt->rt_ifa->ifa_ifp && (ro)->ro_rt->rt_ifa->ifa_ifp->if_type == IFT_LOOP)
227 #define SCTP_GET_IFN_VOID_FROM_ROUTE(ro) (void *)ro->ro_rt->rt_ifp
228 #define SCTP_GET_IF_INDEX_FROM_ROUTE(ro) (ro)->ro_rt->rt_ifp->if_index
229 #define SCTP_ROUTE_HAS_VALID_IFN(ro) ((r
[all...]
H A Dip_ipsec.c226 struct route *ro; local
242 ro = &sp->req->sav->sah->route_cache.sa_route;
243 if (ro->ro_rt && ro->ro_rt->rt_ifp) {
245 ro->ro_rt->rt_rmx.rmx_mtu ?
246 ro->ro_rt->rt_rmx.rmx_mtu :
247 ro->ro_rt->rt_ifp->if_mtu;
H A Dsctp_timer.c350 if (alt->ro.ro_rt == NULL) {
351 if (alt->ro._s_addr) {
352 sctp_free_ifa(alt->ro._s_addr);
353 alt->ro._s_addr = NULL;
359 (alt->ro.ro_rt != NULL) &&
919 if (net->ro._s_addr) {
920 sctp_free_ifa(net->ro._s_addr);
921 net->ro._s_addr = NULL;
926 if (net->ro.ro_rt) {
927 RTFREE(net->ro
[all...]
H A Dip_output.c108 * If route ro is present and has ro_rt initialized, route lookup would be
109 * skipped and ro->ro_rt would be used. If ro is present but ro->ro_rt is NULL,
110 * then result of route lookup is stored in ro->ro_rt.
116 ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, int flags, argument
130 struct rtentry *rte; /* cache for ro->ro_rt */
147 if (ro == NULL) {
148 ro = &iproute;
149 bzero(ro, sizeo
[all...]
H A Dsctp_output.h67 sctp_route_t * ro, struct sctp_nets *net,
71 sctp_v6src_match_nexthop(struct sockaddr_in6 *src6, sctp_route_t * ro);
73 sctp_v4src_match_nexthop(struct sctp_ifa *sifa, sctp_route_t * ro);
/freebsd-9.3-release/sys/netinet6/
H A Din6_src.c134 struct ip6_moptions *, struct route_in6 *ro, struct ifnet **,
177 struct inpcb *inp, struct route_in6 *ro, struct ucred *cred,
226 if ((error = in6_selectif(dstsock, opts, mopts, ro, &ifp, oifp,
292 if ((error = in6_selectif(dstsock, opts, mopts, ro, &ifp, oifp,
530 struct ip6_moptions *mopts, struct route_in6 *ro,
669 if (ro) {
670 if (ro->ro_rt &&
671 (!(ro->ro_rt->rt_flags & RTF_UP) ||
672 ((struct sockaddr *)(&ro->ro_dst))->sa_family != AF_INET6 ||
673 !IN6_ARE_ADDR_EQUAL(&satosin6(&ro
176 in6_selectsrc(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct inpcb *inp, struct route_in6 *ro, struct ucred *cred, struct ifnet **ifpp, struct in6_addr *srcp) argument
529 selectroute(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct route_in6 *ro, struct ifnet **retifp, struct rtentry **retrt, int norouteok, u_int fibnum) argument
772 in6_selectif(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct route_in6 *ro, struct ifnet **retifp, struct ifnet *oifp, u_int fibnum) argument
836 in6_selectroute(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct route_in6 *ro, struct ifnet **retifp, struct rtentry **retrt) argument
847 in6_selectroute_fib(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct route_in6 *ro, struct ifnet **retifp, struct rtentry **retrt, u_int fibnum) argument
[all...]
H A Dip6_ipsec.c360 struct route *ro;
376 ro = &sp->req->sav->sah->route_cache.sa_route;
377 if (ro->ro_rt && ro->ro_rt->rt_ifp) {
379 ro->ro_rt->rt_rmx.rmx_mtu ?
380 ro->ro_rt->rt_rmx.rmx_mtu :
381 ro->ro_rt->rt_ifp->if_mtu;
H A Dnd6_nbr.c239 struct route_in6 ro; local
249 bzero(&ro, sizeof(ro));
250 ro.ro_dst = tsin6;
251 rtalloc_mpath_fib((struct route *)&ro, RTF_ANNOUNCE,
253 rt = ro.ro_rt;
406 struct route_in6 ro; local
434 bzero(&ro, sizeof(ro));
523 NULL, &ro, NUL
976 struct route_in6 ro; local
[all...]
/freebsd-9.3-release/sys/conf/
H A Dldscript.amd6427 .rel.data.rel.ro : { *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) }
28 .rela.data.rel.ro : { *(.rela.data.rel.ro* .rela.gnu.linkonce.d.rel.ro.*) }
138 .data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro*
[all...]
H A Dldscript.i38626 .rel.data.rel.ro : { *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) }
27 .rela.data.rel.ro : { *(.rela.data.rel.ro* .rela.gnu.linkonce.d.rel.ro.*) }
131 .data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro*
[all...]
/freebsd-9.3-release/tools/regression/geom_uzip/
H A Dtest-1.sh18 mount -o ro /dev/md${num}.uzip "${mntpoint}" || exit 1
/freebsd-9.3-release/tools/regression/lib/libmp/
H A Dtest-libmp.c100 short ro; local
111 mp_sdiv(c42, 5, t0, &ro);
113 t2 = mp_itom(ro); // Simpler to use common testmcmp()
117 mp_sdiv(c10, 8, t0, &ro);
119 t2 = mp_itom(ro); // Simpler to use common testmcmp()
/freebsd-9.3-release/tools/regression/tmpfs/
H A Dt_mount52 test_mount -o ro

Completed in 216 milliseconds

1234