Home
last modified time | relevance | path

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

/external/iproute2/lib/
Dll_proto.c36 } llproto_names[] = { variable
97 for (i=0; i<sizeof(llproto_names)/sizeof(llproto_names[0]); i++) { in ll_proto_n2a()
98 if (llproto_names[i].id == id) in ll_proto_n2a()
99 return llproto_names[i].name; in ll_proto_n2a()
108 for (i=0; i < sizeof(llproto_names)/sizeof(llproto_names[0]); i++) { in ll_proto_a2n()
109 if (strcasecmp(llproto_names[i].name, buf) == 0) { in ll_proto_a2n()
110 *id = htons(llproto_names[i].id); in ll_proto_a2n()