OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:oper_states
(Results
1 - 2
of
2
) sorted by null
/external/iproute2/bridge/
link.c
63
static const char *
oper_states
[] = {
variable
72
if (state >= sizeof(
oper_states
)/sizeof(
oper_states
[0]))
75
fprintf(f, "state %s ",
oper_states
[state]);
/external/iproute2/ip/
ipaddress.c
131
static const char *
oper_states
[] = {
variable
138
if (state >= sizeof(
oper_states
)/sizeof(
oper_states
[0]))
142
if (strcmp(
oper_states
[state], "UP") == 0)
143
color_fprintf(f, COLOR_OPERSTATE_UP, "%-14s ",
oper_states
[state]);
144
else if (strcmp(
oper_states
[state], "DOWN") == 0)
145
color_fprintf(f, COLOR_OPERSTATE_DOWN, "%-14s ",
oper_states
[state]);
147
fprintf(f, "%-14s ",
oper_states
[state]);
150
if (strcmp(
oper_states
[state], "UP") == 0)
151
color_fprintf(f, COLOR_OPERSTATE_UP, "%s ",
oper_states
[state])
[
all
...]
Completed in 1260 milliseconds