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
111 for (i=0; i<sizeof(llproto_names)/sizeof(llproto_names[0]); i++) { in ll_proto_n2a()
112 if (llproto_names[i].id == id) in ll_proto_n2a()
113 return llproto_names[i].name; in ll_proto_n2a()
122 for (i=0; i<sizeof(llproto_names)/sizeof(llproto_names[0]); i++) { in ll_proto_a2n()
123 if (strcasecmp(llproto_names[i].name, buf) == 0) { in ll_proto_a2n()
124 *id = htons(llproto_names[i].id); in ll_proto_a2n()