Searched refs:xtables_chain_protos (Results 1 – 6 of 6) sorted by relevance
57 for (i = 0; xtables_chain_protos[i].name != NULL; ++i) in proto_to_name()58 if (xtables_chain_protos[i].num == proto) in proto_to_name()59 return xtables_chain_protos[i].name; in proto_to_name()
944 for (i = 0; xtables_chain_protos[i].name != NULL; ++i) in print_proto()945 if (xtables_chain_protos[i].num == proto) { in print_proto()947 invertstr, xtables_chain_protos[i].name); in print_proto()
987 for (i = 0; xtables_chain_protos[i].name != NULL; ++i) in print_proto()988 if (xtables_chain_protos[i].num == proto) { in print_proto()990 invertstr, xtables_chain_protos[i].name); in print_proto()
1872 const struct xtables_pprot xtables_chain_protos[] = { variable1908 for (i = 0; i < ARRAY_SIZE(xtables_chain_protos); ++i) { in xtables_parse_protocol()1909 if (xtables_chain_protos[i].name == NULL) in xtables_parse_protocol()1911 if (strcmp(s, xtables_chain_protos[i].name) == 0) in xtables_parse_protocol()1912 return xtables_chain_protos[i].num; in xtables_parse_protocol()
519 extern const struct xtables_pprot xtables_chain_protos[];
516 extern const struct xtables_pprot xtables_chain_protos[];