Searched refs:chain_protos (Results 1 – 1 of 1) sorted by relevance
31 static const struct pprot chain_protos[] = { variable75 for (i = 0; i < ARRAY_SIZE(chain_protos); ++i) in proto_to_name()76 if (chain_protos[i].num == proto) in proto_to_name()77 return chain_protos[i].name; in proto_to_name()92 for (i = 0; i < ARRAY_SIZE(chain_protos); ++i) in name_to_proto()93 if (strcmp(s, chain_protos[i].name) == 0) { in name_to_proto()94 proto = chain_protos[i].num; in name_to_proto()98 if (i == ARRAY_SIZE(chain_protos)) in name_to_proto()