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

12345

/freebsd-10.0-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-10.0-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-10.0-release/sys/net/
H A Dradix_mpath.c259 rtalloc_mpath_fib(struct route *ro, uint32_t hash, u_int fibnum) argument
270 if (ro->ro_rt && ro->ro_rt->rt_ifp && (ro->ro_rt->rt_flags & RTF_UP)
271 && RT_LINK_IS_UP(ro->ro_rt->rt_ifp))
273 ro->ro_rt = rtalloc1_fib(&ro->ro_dst, 1, 0, fibnum);
276 if (ro->ro_rt == NULL)
278 if (rn_mpath_next((struct radix_node *)ro->ro_rt) == NULL) {
279 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...]
/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-npi.h104 uint64_t ro : 1; /**< Relaxed ordering */ member in struct:__anon7005::__anon7006
108 uint64_t ro : 1;
130 uint64_t ro : 1; /**< Relaxed ordering */ member in struct:__anon7005::__anon7008
138 uint64_t ro : 1;
H A Dcvmx-shared-linux-n32.ld90 .rel.data.rel.ro : { *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) }
91 .rela.data.rel.ro : { *(.rela.data.rel.ro* .rela.gnu.linkonce.d.rel.ro.*) }
206 .data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro*
[all...]
H A Dcvmx-shared-linux.ld89 .rel.data.rel.ro : { *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) }
90 .rela.data.rel.ro : { *(.rela.data.rel.ro* .rela.gnu.linkonce.d.rel.ro.*) }
205 .data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro*
[all...]
/freebsd-10.0-release/sys/netinet/
H A Dip_fastfwd.c119 ip_findroute(struct route *ro, struct in_addr dest, struct mbuf *m) argument
127 bzero(ro, sizeof(*ro));
128 dst = (struct sockaddr_in *)&ro->ro_dst;
132 in_rtalloc_ign(ro, 0, M_GETFIB(m));
137 rt = ro->ro_rt;
166 struct route ro; local
184 bzero(&ro, sizeof(ro));
417 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.c221 struct route *ro; local
237 ro = &sp->req->sav->sah->route_cache.sa_route;
238 if (ro->ro_rt && ro->ro_rt->rt_ifp) {
240 ro->ro_rt->rt_rmx.rmx_mtu ?
241 ro->ro_rt->rt_rmx.rmx_mtu :
242 ro->ro_rt->rt_ifp->if_mtu;
H A Dsctp_timer.c362 if (alt->ro.ro_rt == NULL) {
363 if (alt->ro._s_addr) {
364 sctp_free_ifa(alt->ro._s_addr);
365 alt->ro._s_addr = NULL;
371 (alt->ro.ro_rt != NULL) &&
931 if (net->ro._s_addr) {
932 sctp_free_ifa(net->ro._s_addr);
933 net->ro._s_addr = NULL;
938 if (net->ro.ro_rt) {
939 RTFREE(net->ro
[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-10.0-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,
670 if (ro) {
671 if (ro->ro_rt &&
672 (!(ro->ro_rt->rt_flags & RTF_UP) ||
673 ((struct sockaddr *)(&ro->ro_dst))->sa_family != AF_INET6 ||
674 !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
773 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
837 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
848 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.c354 struct route *ro;
370 ro = &sp->req->sav->sah->route_cache.sa_route;
371 if (ro->ro_rt && ro->ro_rt->rt_ifp) {
373 ro->ro_rt->rt_rmx.rmx_mtu ?
374 ro->ro_rt->rt_rmx.rmx_mtu :
375 ro->ro_rt->rt_ifp->if_mtu;
/freebsd-10.0-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-10.0-release/tools/regression/geom_uzip/
H A Dtest-1.sh18 mount -o ro /dev/md${num}.uzip "${mntpoint}" || exit 1
/freebsd-10.0-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-10.0-release/tools/regression/tmpfs/
H A Dt_mount52 test_mount -o ro
/freebsd-10.0-release/usr.sbin/bhyve/
H A Dblock_if.c211 int nocache, sync, ro; local
215 ro = 0;
229 else if (!strcmp(xopts, "ro"))
230 ro = 1;
239 fd = open(nopt, (ro ? O_RDONLY : O_RDWR) | extra);
240 if (fd < 0 && !ro) {
243 ro = 1;

Completed in 291 milliseconds

12345