Searched refs:ifstate (Results 1 - 5 of 5) sorted by relevance
/openbsd-current/libexec/tradcpp/ |
H A D | directive.c | 46 struct ifstate { struct 47 struct ifstate *prev; 54 static struct ifstate *ifstate; variable in typeref:struct:ifstate 128 struct ifstate * 129 ifstate_create(struct ifstate *prev, struct place *p, bool startstate) 131 struct ifstate *is; 148 ifstate_destroy(struct ifstate *is) 157 struct ifstate *newstate; 159 newstate = ifstate_create(ifstate, [all...] |
/openbsd-current/usr.sbin/ifstated/ |
H A D | ifstated.c | 461 struct ifsd_ifstate *ifstate; local 467 TAILQ_FOREACH(ifstate, &state->interface_states, entries) { 468 if (strcmp(ifstate->ifname, ifname) == 0) { 469 if (ifstate->prevstate != s && 470 (ifstate->prevstate != -1 || !opt_inhibit)) { 475 (ifstate->ifstate == IFSD_LINKUNKNOWN && 477 (ifstate->ifstate == IFSD_LINKDOWN && 479 (ifstate 660 struct ifsd_ifstate *ifstate; local [all...] |
H A D | ifstated.h | 38 int ifstate; member in struct:ifsd_ifstate 88 struct ifsd_ifstate *ifstate; member in union:ifsd_expression::__anon10619
|
H A D | parse.y | 98 struct ifsd_ifstate *ifstate; 117 %type <v.ifstate> if_test 280 $$->u.ifstate = $1; 933 struct ifsd_ifstate *ifstate = NULL; 941 TAILQ_FOREACH(ifstate, &state->interface_states, entries) 942 if (strcmp(ifstate->ifname, ifname) == 0 && 943 ifstate->ifstate == s) 945 if (ifstate == NULL) { 946 if ((ifstate [all...] |
/openbsd-current/usr.bin/unifdef/ |
H A D | unifdef.c | 206 static Ifstate ifstate[MAXDEPTH]; /* #if processor state */ variable 678 ifstate[depth] = is; 772 trans_table[ifstate[depth]][lineval](); 775 ifstate_name[ifstate[depth]], depth);
|
Completed in 112 milliseconds