Home
last modified time | relevance | path

Searched refs:uv_flags (Results 1 – 11 of 11) sorted by relevance

/openbsd/usr.sbin/mrouted/
H A Dvif.c109 if (v->uv_flags & VIFF_TUNNEL) in init_vifs()
138 if (v->uv_flags & VIFF_TUNNEL) in init_installvifs()
176 if (v->uv_flags & VIFF_DOWN) { in check_vif_state()
178 v->uv_flags &= ~VIFF_DOWN; in check_vif_state()
189 v->uv_flags |= VIFF_DOWN; in check_vif_state()
303 v->uv_flags |= VIFF_QUERIER; in start_vif2()
363 v->uv_flags &= ~VIFF_QUERIER; in stop_vif()
620 if (!(v->uv_flags & VIFF_QUERIER) || (v->uv_flags & VIFF_IGMPV1)) in accept_leave_message()
806 u_short vflags = v->uv_flags; in accept_neighbor_request2()
1188 v->uv_flags |= VIFF_LEAF; in age_vifs()
[all …]
H A Dcfparse.y122 if (!(v->uv_flags & VIFF_TUNNEL) &&
158 if (v->uv_flags & VIFF_TUNNEL) {
162 } else if (!(v->uv_flags & VIFF_DISABLED)) {
172 v->uv_flags = VIFF_TUNNEL;
188 v->uv_flags |= VIFF_DOWN;
227 | DISABLE { v->uv_flags |= VIFF_DISABLED; }
228 | IGMPV1 { v->uv_flags |= VIFF_IGMPV1; }
H A Dconfig.c89 v->uv_flags = 0; in config_vifs_from_kernel()
115 v->uv_flags |= VIFF_DOWN; in config_vifs_from_kernel()
H A Droute.c88 if (vifi != parent && !(v->uv_flags & (VIFF_DOWN|VIFF_DISABLED))) { in init_children_and_leaves()
597 if (!(((uvifs[vifi].uv_flags & VIFF_LEAF) || in age_routes()
845 if ((vifs_with_neighbors != 1) && (uvifs[vifi].uv_flags & VIFF_LEAF)) { in report()
858 nflags = (uvifs[vifi].uv_flags & VIFF_LEAF) ? 0 : LEAF_FLAGS; in report()
932 (v->uv_flags & VIFF_TUNNEL) ? v->uv_rmt_addr in report_to_all_neighbors()
977 nflags = (uvifs[vifi].uv_flags & VIFF_LEAF) ? 0 : LEAF_FLAGS; in report_chunk()
1060 && !(v->uv_flags & VIFF_LEAF) in report_next_chunk()
1064 (v->uv_flags & VIFF_TUNNEL) ? v->uv_rmt_addr in report_next_chunk()
H A Dvif.h20 u_short uv_flags; /* VIFF_ flags defined below */ member
H A Dkern.c124 vc.vifc_flags = v->uv_flags & VIFF_KERNEL_FLAGS; in k_add_vif()
H A Drsrr.c225 if (v->uv_flags & VIFF_DISABLED) in rsrr_accept_iq()
/openbsd/regress/sys/kern/unveil/
H A Dsyscalls.c28 const char *uv_flags = "rwxc"; variable
33 if (unveil(uv_dir1, uv_flags) == -1) in do_unveil()
35 if (unveil(uv_file1, uv_flags) == -1) in do_unveil()
42 if (unveil(uv_dir1, uv_flags) == -1) in do_unveil2()
117 if (unveil("/tmp/echo", uv_flags) == -1) in test_open()
121 if (unveil("/tmp/golf", uv_flags) == -1) in test_open()
129 if (unveil("/tmp/kilo", uv_flags) == -1) in test_open()
131 if (unveil("/tmp/lima", uv_flags) == -1) in test_open()
139 if (unveil("/tmp/papa", uv_flags) == -1) in test_open()
155 if (unveil("/tmp/xray", uv_flags) == -1) in test_open()
[all …]
/openbsd/sys/kern/
H A Dkern_unveil.c52 u_char uv_flags; member
185 uv->uv_flags = 0; in unveil_destroy()
228 to->uv_flags = from->uv_flags; in unveil_copy()
388 uv->uv_flags = 0; in unveil_add_vnode()
505 uv->uv_flags = flags; in unveil_add()
697 if (uv->uv_flags & UNVEIL_MASK) in unveil_check_final()
738 if (uv->uv_flags & UNVEIL_USERSET) { in unveil_check_final()
740 if (uv->uv_flags & UNVEIL_MASK) in unveil_check_final()
784 if (uv->uv_flags & UNVEIL_USERSET) { in unveil_check_final()
789 if (uv->uv_flags & UNVEIL_MASK) in unveil_check_final()
[all …]
/openbsd/sys/dev/usb/
H A Duipaq.c107 u_int16_t uv_flags; member
172 sc->sc_flags = uipaq_lookup(uaa->vendor, uaa->product)->uv_flags; in uipaq_attach()
H A Duvisor.c158 u_int16_t uv_flags; member
242 sc->sc_flags = uvisor_lookup(uaa->vendor, uaa->product)->uv_flags; in uvisor_attach()