Home
last modified time | relevance | path

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

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