Searched refs:nhflags (Results 1 - 5 of 5) sorted by relevance

/openbsd-current/regress/usr.sbin/bgpd/unittests/
H A Drde_decide_test.c106 .p = { .entry.list.re = &dummy_re, .aspath = &asp[0], .peer = &peer1, .nhflags = NEXTHOP_VALID, .lastchange = T1, } },
109 .p = { .entry.list.re = &dummy_re, .aspath = &asp[1], .peer = &peer1, .nhflags = NEXTHOP_VALID, .lastchange = T1, } },
112 .p = { .entry.list.re = &dummy_re, .aspath = &asp[2], .peer = &peer1, .nhflags = NEXTHOP_VALID, .lastchange = T1, } },
115 .p = { .entry.list.re = &dummy_re, .aspath = &asp[0], .peer = &peer1, .nhflags = 0, .lastchange = T1, } },
118 .p = { .entry.list.re = &dummy_re, .aspath = &asp[3], .peer = &peer1, .nhflags = NEXTHOP_VALID, .lastchange = T1, } },
121 .p = { .entry.list.re = &dummy_re, .aspath = &asp[4], .peer = &peer1, .nhflags = NEXTHOP_VALID, .lastchange = T1, } },
124 .p = { .entry.list.re = &dummy_re, .aspath = &asp[5], .peer = &peer1, .nhflags = NEXTHOP_VALID, .lastchange = T1, } },
126 .p = { .entry.list.re = &dummy_re, .aspath = &asp[6], .peer = &peer1, .nhflags = NEXTHOP_VALID, .lastchange = T1, } },
129 .p = { .entry.list.re = &dummy_re, .aspath = &asp[7], .peer = &peer1, .nhflags = NEXTHOP_VALID, .lastchange = T1, } },
132 .p = { .entry.list.re = &dummy_re, .aspath = &asp[0], .peer = &peer1_i, .nhflags
[all...]
/openbsd-current/usr.sbin/bgpd/
H A Drde.h285 uint8_t nhflags; member in struct:prefix
306 /* possible states for nhflags */
318 uint8_t nhflags; member in struct:filterstate
636 return (p->nhflags & NEXTHOP_MASK);
642 return ((p->nhflags & NEXTHOP_VALID) != 0);
H A Drde_filter.c145 &state->nexthop, &state->nhflags);
431 struct rde_community *communities, struct nexthop *nh, uint8_t nhflags,
441 state->nhflags = nhflags;
462 src->nexthop, src->nhflags, src->vstate);
430 rde_filterstate_set(struct filterstate *state, struct rde_aspath *asp, struct rde_community *communities, struct nexthop *nh, uint8_t nhflags, uint8_t vstate) argument
H A Drde_update.c478 if (state->nhflags & NEXTHOP_SELF) {
529 if (state->nhflags & NEXTHOP_NOMODIFY &&
563 state->nhflags = 0;
855 np->nhflags != p->nhflags ||
H A Drde_decide.c619 p->nhflags |= NEXTHOP_VALID;
621 p->nhflags &= ~NEXTHOP_VALID;

Completed in 131 milliseconds