Home
last modified time | relevance | path

Searched refs:oper_states (Results 1 – 2 of 2) sorted by relevance

/external/iproute2/bridge/
Dlink.c63 static const char *oper_states[] = { variable
72 if (state >= ARRAY_SIZE(oper_states)) in print_operstate()
75 fprintf(f, "state %s ", oper_states[state]); in print_operstate()
/external/iproute2/ip/
Dipaddress.c122 static const char *oper_states[] = { variable
129 if (state >= ARRAY_SIZE(oper_states)) { in print_operstate()
139 oper_states[state]); in print_operstate()
144 NULL, oper_states[state]); in print_operstate()
148 "%s ", oper_states[state]); in print_operstate()
157 for (i = 0; i < ARRAY_SIZE(oper_states); i++) in get_operstate()
158 if (strcasecmp(name, oper_states[i]) == 0) in get_operstate()