Home
last modified time | relevance | path

Searched refs:vstate (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/usr.sbin/bgpd/
Drde_aspa.c306 struct rde_aspa_state *vstate) in aspa_validation() argument
312 memset(vstate, ASPA_UNKNOWN, sizeof(*vstate)); in aspa_validation()
318 memset(vstate, ASPA_INVALID, sizeof(*vstate)); in aspa_validation()
323 memset(vstate, ASPA_INVALID, sizeof(*vstate)); in aspa_validation()
327 aspa_check_finalize(&state, &vstate->onlyup, &vstate->downup); in aspa_validation()
Drde_filter.c226 if ((state->vstate & ROA_MASK) != f->match.ovs.validity) in rde_filter_match()
231 if (((state->vstate >> 4) & ASPA_MASK) != f->match.avs.validity) in rde_filter_match()
432 uint8_t vstate) in rde_filterstate_set() argument
442 state->vstate = vstate; in rde_filterstate_set()
462 src->nexthop, src->nhflags, src->vstate); in rde_filterstate_copy()
474 state->vstate = aspa_state << 4; in rde_filterstate_set_vstate()
475 state->vstate |= roa_vstate & ROA_MASK; in rde_filterstate_set_vstate()
Drde_rib.c989 p->validation_state = state->vstate; in prefix_update()
1017 state->nhflags, state->vstate, filtered)); in prefix_update()
1021 state->vstate, filtered)); in prefix_update()
1031 struct nexthop *nexthop, uint8_t nhflags, uint8_t vstate, int filtered) in prefix_add() argument
1046 nexthop, nhflags, vstate); in prefix_add()
1065 struct nexthop *nexthop, uint8_t nhflags, uint8_t vstate, int filtered) in prefix_move() argument
1078 asp, comm, nexthop, nhflags, vstate); in prefix_move()
1274 p->validation_state = state->vstate; in prefix_adjout_update()
1319 state->nexthop, state->nhflags, state->vstate); in prefix_adjout_update()
1613 struct nexthop *nexthop, uint8_t nhflags, uint8_t vstate) in prefix_link() argument
[all …]
Drde.h321 uint8_t vstate; member
Drde.c4465 uint8_t vstate; in network_add() local
4525 vstate = rde_roa_validity(&rde_roa, &nc->prefix, nc->prefixlen, in network_add()
4527 rde_filterstate_set_vstate(state, vstate, ASPA_NEVER_KNOWN); in network_add()
/openbsd/src/regress/usr.sbin/bgpd/unittests/
Drde_aspa_test.c391 vstate_for_role(struct rde_aspa_state *vstate, enum role role) in vstate_for_role() argument
394 return (vstate->onlyup); in vstate_for_role()
396 return (vstate->downup); in vstate_for_role()
493 struct rde_aspa_state vstate; in main() local
498 aspa_validation(aspa, a, &vstate); in main()
500 rv = vstate_for_role(&vstate, aspa_testset[i].role); in main()
/openbsd/src/sys/dev/pci/drm/amd/pm/
Damdgpu_dpm.c888 struct amd_vce_state *vstate = NULL; in amdgpu_dpm_get_vce_clock_state() local
894 vstate = pp_funcs->get_vce_clock_state(adev->powerplay.pp_handle, in amdgpu_dpm_get_vce_clock_state()
898 return vstate; in amdgpu_dpm_get_vce_clock_state()
/openbsd/src/gnu/usr.bin/perl/
Dregcomp.c1312 release_RExC_state(pTHX_ void *vstate) { in release_RExC_state() argument
1313 RExC_state_t *pRExC_state = (RExC_state_t *)vstate; in release_RExC_state()