Searched refs:ifstate (Results 1 – 5 of 5) sorted by relevance
46 struct ifstate { struct54 static struct ifstate *ifstate; variable128 struct ifstate *131 struct ifstate *is; in ifstate_create()164 ifstate = newstate; in ifstate_push()171 struct ifstate *is; in ifstate_pop()173 is = ifstate; in ifstate_pop()174 ifstate = ifstate->prev; in ifstate_pop()274 ifstate->evertrue = ifstate->curtrue; in d_elif()301 ifstate->curtrue = !ifstate->evertrue; in d_else()[all …]
461 struct ifsd_ifstate *ifstate; in scan_ifstate_single() local469 if (ifstate->prevstate != s && in scan_ifstate_single()475 (ifstate->ifstate == IFSD_LINKUNKNOWN && in scan_ifstate_single()477 (ifstate->ifstate == IFSD_LINKDOWN && in scan_ifstate_single()479 (ifstate->ifstate == IFSD_LINKUP && in scan_ifstate_single()483 &ifstate->expressions, entries) { in scan_ifstate_single()489 ifstate->prevstate = s; in scan_ifstate_single()660 struct ifsd_ifstate *ifstate; in check_ifdeparture() local665 scan_ifstate(ifstate->ifname, in check_ifdeparture()728 expression->u.ifstate, entries); in remove_expression()[all …]
98 struct ifsd_ifstate *ifstate; member117 %type <v.ifstate> if_test280 $$->u.ifstate = $1;943 ifstate->ifstate == s) in new_ifstate()945 if (ifstate == NULL) { in new_ifstate()946 if ((ifstate = calloc(1, sizeof(*ifstate))) == NULL) in new_ifstate()949 sizeof(ifstate->ifname)) >= sizeof(ifstate->ifname)) in new_ifstate()952 ifstate->ifstate = s; in new_ifstate()956 ifstate->prevstate = -1; in new_ifstate()957 ifstate->refcount++; in new_ifstate()[all …]
38 int ifstate; member88 struct ifsd_ifstate *ifstate; member
206 static Ifstate ifstate[MAXDEPTH]; /* #if processor state */ variable678 ifstate[depth] = is; in state()772 trans_table[ifstate[depth]][lineval](); in process()775 ifstate_name[ifstate[depth]], depth); in process()