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

12345

/freebsd-current/contrib/lib9p/backend/
H A Dfs.h35 int l9p_backend_fs_init(struct l9p_backend **backendp, int rootfd, bool ro);
/freebsd-current/sbin/ifconfig/
H A Diflagg.c95 struct lagg_reqopts ro = {}; local
97 ro.ro_opts = LAGG_OPT_FLOWIDSHIFT;
98 strlcpy(ro.ro_ifname, ctx->ifname, sizeof(ro.ro_ifname));
99 ro.ro_flowid_shift = (int)strtol(val, NULL, 10);
100 if (ro.ro_flowid_shift & ~LAGG_OPT_FLOWIDSHIFT_MASK)
103 if (ioctl_ctx(ctx, SIOCSLAGGOPTS, &ro) != 0)
110 struct lagg_reqopts ro = {}; local
112 strlcpy(ro.ro_ifname, ctx->ifname, sizeof(ro
125 struct lagg_reqopts ro = {}; local
214 struct lagg_reqopts *ro; local
[all...]
/freebsd-current/contrib/lib9p/example/
H A Dserver.c45 bool ro = false; local
58 ro = true;
77 if (l9p_backend_fs_init(&fs_backend, rootfd, ro) != 0)
/freebsd-current/lib/libifconfig/
H A Dlibifconfig_lagg.c49 struct lagg_reqopts ro; member in struct:_ifconfig_lagg_status
77 ls->l.ro = &ls->ro;
84 strlcpy(ls->ro.ro_ifname, name, sizeof(ls->ro.ro_ifname));
85 ifconfig_ioctlwrap(h, AF_LOCAL, SIOCGLAGGOPTS, &ls->ro);
/freebsd-current/sys/netinet/
H A Dsctp_os_bsd.h202 #define SCTP_ROUTE_IS_REAL_LOOP(ro) ((ro)->ro_nh && (ro)->ro_nh->nh_ifa && (ro)->ro_nh->nh_ifa->ifa_ifp && (ro)->ro_nh->nh_ifa->ifa_ifp->if_type == IFT_LOOP)
208 #define SCTP_GET_IFN_VOID_FROM_ROUTE(ro) (void *)ro->ro_nh->nh_ifp
209 #define SCTP_GET_IF_INDEX_FROM_ROUTE(ro) (ro)->ro_nh->nh_ifp->if_index
210 #define SCTP_ROUTE_HAS_VALID_IFN(ro) ((r
[all...]
H A Dip_output.c205 const struct sockaddr *gw, struct route *ro, bool stamp_tag)
268 error = (*ifp->if_output)(ifp, m, gw, ro);
288 rt_update_ro_flags(struct route *ro, const struct nhop_object *nh) argument
292 ro->ro_flags &= ~ (RT_REJECT|RT_BLACKHOLE|RT_HAS_GW);
294 ro->ro_flags |= (nh_flags & NHF_REJECT) ? RT_REJECT : 0;
295 ro->ro_flags |= (nh_flags & NHF_BLACKHOLE) ? RT_BLACKHOLE : 0;
296 ro->ro_flags |= (nh_flags & NHF_GATEWAY) ? RT_HAS_GW : 0;
304 * If route ro is present and has ro_rt initialized, route lookup would be
305 * skipped and ro->ro_rt would be used. If ro i
204 ip_output_send(struct inpcb *inp, struct ifnet *ifp, struct mbuf *m, const struct sockaddr *gw, struct route *ro, bool stamp_tag) argument
312 ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, int flags, struct ip_moptions *imo, struct inpcb *inp) argument
[all...]
H A Dsctp_timer.c343 if (alt->ro.ro_nh == NULL) {
344 if (alt->ro._s_addr) {
345 sctp_free_ifa(alt->ro._s_addr);
346 alt->ro._s_addr = NULL;
351 (alt->ro.ro_nh != NULL) &&
939 if (net->ro._s_addr != NULL) {
940 sctp_free_ifa(net->ro._s_addr);
941 net->ro._s_addr = NULL;
946 RO_NHFREE(&net->ro);
1283 SCTPDBG_ADDR(SCTP_DEBUG_ASCONF1, &stcb->asoc.deleted_primary->ro
[all...]
H A Dsctp_output.h63 sctp_route_t *ro, struct sctp_nets *net,
66 int sctp_v6src_match_nexthop(struct sockaddr_in6 *src6, sctp_route_t *ro);
68 int sctp_v4src_match_nexthop(struct sctp_ifa *sifa, sctp_route_t *ro);
/freebsd-current/sys/net/
H A Droute.h387 #define RO_INVALIDATE_CACHE(ro) do { \
388 if ((ro)->ro_lle != NULL) { \
389 LLE_FREE((ro)->ro_lle); \
390 (ro)->ro_lle = NULL; \
392 if ((ro)->ro_nh != NULL) { \
393 NH_FREE((ro)->ro_nh); \
394 (ro)->ro_nh = NULL; \
398 #define RO_GET_FAMILY(ro, dst) ((ro) != NULL && \
399 (ro)
[all...]
H A Dif_infiniband.c229 const struct sockaddr *dst, struct route *ro, uint8_t *phdr,
263 int af = RO_GET_FAMILY(ro, dst);
283 if (ro != NULL && (ro->ro_flags & RT_HAS_GW) != 0)
302 const struct sockaddr *dst, struct route *ro)
318 if (ro != NULL) {
320 if (ro->ro_prepend != NULL) {
321 phdr = ro->ro_prepend;
322 hlen = ro->ro_plen;
324 if ((ro
228 infiniband_resolve_addr(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro, uint8_t *phdr, uint32_t *pflags, struct llentry **plle) argument
301 infiniband_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument
[all...]
H A Dif_loop.c93 const struct sockaddr *dst, struct route *ro);
209 struct route *ro)
226 if (ro != NULL && ro->ro_flags & (RT_REJECT|RT_BLACKHOLE)) {
228 return (ro->ro_flags & RT_BLACKHOLE ? 0 : EHOSTUNREACH);
242 af = RO_GET_FAMILY(ro, dst);
208 looutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument
/freebsd-current/contrib/bmake/unit-tests/
H A Dobjdir-writable.mk14 all: no-objdir ro-objdir explicit-objdir
27 ro-objdir:
/freebsd-current/cddl/lib/libdtrace/
H A Dsctp.d141 p->asoc.primary_destination->ro._s_addr == NULL ? "<unknown>" :
142 p->asoc.primary_destination->ro._s_addr->address.sa.sa_family == AF_INET ?
143 inet_ntoa(&p->asoc.primary_destination->ro._s_addr->address.sin.sin_addr.s_addr) :
144 p->asoc.primary_destination->ro._s_addr->address.sa.sa_family == AF_INET6 ?
145 inet_ntoa6(&p->asoc.primary_destination->ro._s_addr->address.sin6.sin6_addr) :
149 p->asoc.primary_destination->ro._l_addr.sa.sa_family == AF_INET ?
150 inet_ntoa(&p->asoc.primary_destination->ro._l_addr.sin.sin_addr.s_addr) :
151 p->asoc.primary_destination->ro._l_addr.sa.sa_family == AF_INET6 ?
152 inet_ntoa6(&p->asoc.primary_destination->ro._l_addr.sin6.sin6_addr) :
/freebsd-current/tests/sys/geom/class/uzip/
H A D1_test.sh25 mount -o ro /dev/${us0}.uzip "${mntpoint}" || exit 1
/freebsd-current/lib/libmp/tests/
H A Dlegacy_test.c98 short ro; local
109 mp_sdiv(c42, 5, t0, &ro);
111 t2 = mp_itom(ro); // Simpler to use common testmcmp()
115 mp_sdiv(c10, 8, t0, &ro);
117 t2 = mp_itom(ro); // Simpler to use common testmcmp()
/freebsd-current/tools/test/stress2/misc/
H A Dmountu.sh31 # Change mount point from rw to ro with a file mapped rw
92 mount -u -o ro $mntpoint 2>/dev/null || mount -fu -o ro $mntpoint
115 mount -u -o ro $mntpoint 2>/dev/null ||
116 mount -fu -o ro $mntpoint 2>/dev/null
141 mount -u -o ro $mntpoint 2>/dev/null || mount -fu -o ro $mntpoint
164 mount -u -o ro $mntpoint 2>/dev/null || mount -fu -o ro $mntpoint
180 UFS/NFS/msdosfs reclaim vnode on rw->ro force
[all...]
H A Dsnap4.sh48 mount -o ro /dev/md$mdstart $mntpoint
H A Dmountro5.sh30 # Toggle a tmpfs file system rw / ro.
53 mount -fu -o ro $mntpoint
H A Dmountro6.sh30 # Test rw->ro remount when there is a text vnode mapping.
49 mount -u -o ro $mntpoint || s=1
H A Dmountro4.sh45 mount -u -o ro $mntpoint
46 touch $f2 2>/dev/null && { echo "ufs: ro failed"; s=1; }
63 mount -u -o ro $mntpoint
64 touch $f2 2>/dev/null && { echo "tmpfs: ro failed"; s=1; }
87 mount -u -o ro $mntpoint
88 touch $f2 2>/dev/null && { echo "msdosfs: ro failed"; s=1; }
H A Dsnap2-1.sh52 mount -o ro /dev/md$mdstart $mntpoint
H A Dsnap5-1.sh55 mount -o ro /dev/md$mdstart $mnt2 || exit 5
H A Dsnap5.sh46 mount -o ro /dev/md$mdstart $mnt2
/freebsd-current/tools/regression/tmpfs/
H A Dt_mount51 test_mount -o ro
/freebsd-current/contrib/netbsd-tests/usr.bin/ld/
H A Dt_script.sh140 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

Completed in 256 milliseconds

12345