/freebsd-11-stable/sbin/ifconfig/ |
H A D | iflagg.c | 89 struct lagg_reqopts ro; local 91 bzero(&ro, sizeof(ro)); 92 ro.ro_opts = LAGG_OPT_FLOWIDSHIFT; 93 strlcpy(ro.ro_ifname, name, sizeof(ro.ro_ifname)); 94 ro.ro_flowid_shift = (int)strtol(val, NULL, 10); 95 if (ro.ro_flowid_shift & ~LAGG_OPT_FLOWIDSHIFT_MASK) 98 if (ioctl(s, SIOCSLAGGOPTS, &ro) != 0) 105 struct lagg_reqopts ro; local 118 struct lagg_reqopts ro; local 205 struct lagg_reqopts ro; local [all...] |
/freebsd-11-stable/sys/net/ |
H A D | radix_mpath.c | 248 rtalloc_mpath_fib(struct route *ro, uint32_t hash, u_int fibnum) argument 256 if (ro->ro_rt && ro->ro_rt->rt_ifp && (ro->ro_rt->rt_flags & RTF_UP) 257 && RT_LINK_IS_UP(ro->ro_rt->rt_ifp)) 259 ro->ro_rt = rtalloc1_fib(&ro->ro_dst, 1, 0, fibnum); 262 if (ro->ro_rt == NULL) 264 if (rn_mpath_next((struct radix_node *)ro->ro_rt) == NULL) { 265 RT_UNLOCK(ro [all...] |
H A D | route.h | 224 rt_update_ro_flags(struct route *ro) argument 226 int rt_flags = ro->ro_rt->rt_flags; 228 ro->ro_flags &= ~ (RT_REJECT|RT_BLACKHOLE|RT_HAS_GW); 230 ro->ro_flags |= (rt_flags & RTF_REJECT) ? RT_REJECT : 0; 231 ro->ro_flags |= (rt_flags & RTF_BLACKHOLE) ? RT_BLACKHOLE : 0; 232 ro->ro_flags |= (rt_flags & RTF_GATEWAY) ? RT_HAS_GW : 0; 422 #define RT_VALIDATE(ro, cookiep, fibnum) do { \ 423 rt_gen_t cookie = RT_GEN(fibnum, (ro)->ro_dst.sa_family); \ 425 if ((ro)->ro_rt != NULL) { \ 426 RTFREE((ro) [all...] |
H A D | flowtable.c | 186 flowtable_lookup_ipv4(struct mbuf *m, struct route *ro) argument 263 sin = (struct sockaddr_in *)&ro->ro_dst; 292 flowtable_lookup_ipv6(struct mbuf *m, struct route *ro) argument 402 sin6 = (struct sockaddr_in6 *)&ro->ro_dst; 503 struct route *ro = NULL; local 535 ro = &sro; 548 ro = (struct route *)&sro6; 558 ro->ro_rt = NULL; 560 rtalloc_mpath_fib(ro, hash, fibnum); 562 rtalloc_ign_fib(ro, 665 flowtable_lookup(sa_family_t sa, struct mbuf *m, struct route *ro) argument [all...] |
H A D | if_dead.c | 46 struct route *ro) 45 ifdead_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *sa, struct route *ro) argument
|
H A D | if_loop.c | 92 const struct sockaddr *dst, struct route *ro); 202 struct route *ro) 219 if (ro != NULL && ro->ro_flags & (RT_REJECT|RT_BLACKHOLE)) { 221 return (ro->ro_flags & RT_BLACKHOLE ? 0 : EHOSTUNREACH); 201 looutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument
|
H A D | if_ethersubr.c | 207 const struct sockaddr *dst, struct route *ro, u_char *phdr, 265 if (ro != NULL && (ro->ro_flags & RT_HAS_GW) != 0) 287 const struct sockaddr *dst, struct route *ro) 302 if (ro != NULL) { 304 if (ro->ro_prepend != NULL) { 305 phdr = ro->ro_prepend; 306 hlen = ro->ro_plen; 308 if ((ro->ro_flags & RT_LLE_CACHE) != 0) { 309 lle = ro 206 ether_resolve_addr(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro, u_char *phdr, uint32_t *pflags, struct llentry **plle) argument 286 ether_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument [all...] |
H A D | if_lagg.c | 1002 const struct sockaddr *dst, struct route *ro) 1009 return ((*lp->lp_output)(ifp, m, dst, ro)); 1129 struct lagg_reqopts *ro = (struct lagg_reqopts *)data; local 1185 ro->ro_opts = sc->sc_opts; 1191 ro->ro_opts |= LAGG_OPT_LACP_TXTEST; 1193 ro->ro_opts |= LAGG_OPT_LACP_RXTEST; 1195 ro->ro_opts |= LAGG_OPT_LACP_STRICT; 1197 ro->ro_opts |= LAGG_OPT_LACP_FAST_TIMO; 1199 ro->ro_active = sc->sc_active; 1201 ro 1001 lagg_port_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument [all...] |
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-npi.h | 104 uint64_t ro : 1; /**< Relaxed ordering */ member in struct:__anon8658::__anon8659 108 uint64_t ro : 1; 130 uint64_t ro : 1; /**< Relaxed ordering */ member in struct:__anon8658::__anon8661 138 uint64_t ro : 1;
|
/freebsd-11-stable/sys/netinet/ |
H A D | sctp_os_bsd.h | 204 #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) 210 #define SCTP_GET_IFN_VOID_FROM_ROUTE(ro) (void *)ro->ro_rt->rt_ifp 211 #define SCTP_GET_IF_INDEX_FROM_ROUTE(ro) (ro)->ro_rt->rt_ifp->if_index 212 #define SCTP_ROUTE_HAS_VALID_IFN(ro) ((r [all...] |
H A D | ip_output.c | 200 * If route ro is present and has ro_rt initialized, route lookup would be 201 * skipped and ro->ro_rt would be used. If ro is present but ro->ro_rt is NULL, 202 * then result of route lookup is stored in ro->ro_rt. 208 ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, int flags, argument 224 struct rtentry *rte; /* cache for ro->ro_rt */ 241 if (ro == NULL) { 242 ro = &iproute; 243 bzero(ro, sizeo [all...] |
H A D | sctp_timer.c | 351 if (alt->ro.ro_rt == NULL) { 352 if (alt->ro._s_addr) { 353 sctp_free_ifa(alt->ro._s_addr); 354 alt->ro._s_addr = NULL; 359 (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 D | sctp_output.h | 67 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);
|
H A D | sctp_output.c | 2455 sctp_route_t *ro, 2474 ifn = SCTP_GET_IFN_VOID_FROM_ROUTE(ro); 2475 ifn_index = SCTP_GET_IF_INDEX_FROM_ROUTE(ro); 2590 sctp_route_t *ro, 2613 ifn = SCTP_GET_IFN_VOID_FROM_ROUTE(ro); 2614 ifn_index = SCTP_GET_IF_INDEX_FROM_ROUTE(ro); 2784 sctp_route_t *ro 2793 memcpy(&sin6, &ro->ro_dst, sizeof(struct sockaddr_in6)); 2855 if (sctp_v6src_match_nexthop(&sifa->address.sin6, ro) 2865 if (sctp_v4src_match_nexthop(sifa, ro) 2454 sctp_choose_boundspecific_inp(struct sctp_inpcb *inp, sctp_route_t *ro, uint32_t vrf_id, int non_asoc_addr_ok, uint8_t dest_is_priv, uint8_t dest_is_loop, sa_family_t fam) argument 2588 sctp_choose_boundspecific_stcb(struct sctp_inpcb *inp, struct sctp_tcb *stcb, sctp_route_t *ro, uint32_t vrf_id, uint8_t dest_is_priv, uint8_t dest_is_loop, int non_asoc_addr_ok, sa_family_t fam) argument 2954 sctp_choose_boundall(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, sctp_route_t *ro, uint32_t vrf_id, uint8_t dest_is_priv, uint8_t dest_is_loop, int non_asoc_addr_ok, sa_family_t fam) argument 3308 sctp_source_address_selection(struct sctp_inpcb *inp, struct sctp_tcb *stcb, sctp_route_t *ro, struct sctp_nets *net, int non_asoc_addr_ok, uint32_t vrf_id) argument 4018 sctp_route_t *ro = NULL; local 13850 sctp_v6src_match_nexthop(struct sockaddr_in6 *src6, sctp_route_t *ro) argument 13904 sctp_v4src_match_nexthop(struct sctp_ifa *sifa, sctp_route_t *ro) argument [all...] |
H A D | sctp_asconf.c | 300 (struct sockaddr *)&net->ro._l_addr); 303 (struct sockaddr *)&net->ro._l_addr, SCTP_SO_NOT_LOCKED); 978 if (SCTP_ROUTE_HAS_VALID_IFN(&net->ro) && 980 (SCTP_GET_IF_INDEX_FROM_ROUTE(&net->ro) != ifn->ifn_index))) { 982 RTFREE(net->ro.ro_rt); 983 net->ro.ro_rt = NULL; 987 sctp_free_ifa(net->ro._s_addr); 988 net->ro._s_addr = NULL; 1009 SCTPDBG_ADDR(SCTP_DEBUG_ASCONF1, &stcb->asoc.deleted_primary->ro._l_addr.sa); 1011 SCTPDBG_ADDR(SCTP_DEBUG_ASCONF1, &stcb->asoc.primary_destination->ro [all...] |
/freebsd-11-stable/tests/sys/geom/class/uzip/ |
H A D | 1_test.sh | 14 mount -o ro /dev/${us0}.uzip "${mntpoint}" || exit 1
|
/freebsd-11-stable/sys/compat/cloudabi64/ |
H A D | cloudabi64_sock.c | 49 cloudabi64_recv_out_t ro = {}; local 78 &rfdslen, &ro.ro_flags); 83 ro.ro_datalen = rdatalen; 84 ro.ro_fdslen = rfdslen; 85 return (copyout(&ro, uap->out, sizeof(ro)));
|
/freebsd-11-stable/sys/compat/cloudabi32/ |
H A D | cloudabi32_sock.c | 49 cloudabi32_recv_out_t ro = {}; local 78 &rfdslen, &ro.ro_flags); 83 ro.ro_datalen = rdatalen; 84 ro.ro_fdslen = rfdslen; 85 return (copyout(&ro, uap->out, sizeof(ro)));
|
/freebsd-11-stable/lib/libmp/tests/ |
H A D | legacy_test.c | 100 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-11-stable/sys/netinet6/ |
H A D | in6_src.c | 628 struct ip6_moptions *mopts, struct route_in6 *ro, 740 if (ro) { 741 if (ro->ro_rt && 742 (!(ro->ro_rt->rt_flags & RTF_UP) || 743 ((struct sockaddr *)(&ro->ro_dst))->sa_family != AF_INET6 || 744 !IN6_ARE_ADDR_EQUAL(&satosin6(&ro->ro_dst)->sin6_addr, 746 RTFREE(ro->ro_rt); 747 ro->ro_rt = (struct rtentry *)NULL; 749 if (ro->ro_rt == (struct rtentry *)NULL) { 753 bzero(&ro 627 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 906 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 917 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 D | in6_rmx.c | 266 in6_rtalloc(struct route_in6 *ro, u_int fibnum) argument 269 rtalloc_ign_fib((struct route *)ro, 0ul, fibnum); 273 in6_rtalloc_ign(struct route_in6 *ro, u_long ignflags, u_int fibnum) argument 276 rtalloc_ign_fib((struct route *)ro, ignflags, fibnum);
|
H A D | ip6_output.c | 320 * If route_in6 ro is present and has ro_rt initialized, route lookup would be 321 * skipped and ro->ro_rt would be used. If ro is present but ro->ro_rt is NULL, 322 * then result of route lookup is stored in ro->ro_rt. 334 struct route_in6 *ro, int flags, struct ip6_moptions *im6o, 543 if (ro == NULL) { 544 ro = &ip6route; 545 bzero((caddr_t)ro, sizeof(*ro)); 333 ip6_output(struct mbuf *m0, struct ip6_pktopts *opt, struct route_in6 *ro, int flags, struct ip6_moptions *im6o, struct ifnet **ifpp, struct inpcb *inp) argument [all...] |
/freebsd-11-stable/tools/regression/tmpfs/ |
H A D | t_mount | 52 test_mount -o ro
|
/freebsd-11-stable/contrib/netbsd-tests/usr.bin/ld/ |
H A D | t_script.sh | 140 ld -r -T test.x -Map test.map -o test.ro test.o 141 extract_section_names test.ro >test.secs 142 extract_symbol_names test.ro >test.syms
|
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend-query/ |
H A D | update-part-list.sh | 94 mount -o ro ${_dsk} ${FSMNT} >>${LOGOUT} 2>>${LOGOUT}
|