Searched refs:xtables_chain_protos (Results 1 – 6 of 6) sorted by relevance
60 for (i = 0; xtables_chain_protos[i].name != NULL; ++i) in proto_to_name()61 if (xtables_chain_protos[i].num == proto) in proto_to_name()62 return xtables_chain_protos[i].name; in proto_to_name()
1024 for (i = 0; xtables_chain_protos[i].name != NULL; ++i) in print_proto()1025 if (xtables_chain_protos[i].num == proto) { in print_proto()1027 invertstr, xtables_chain_protos[i].name); in print_proto()
980 for (i = 0; xtables_chain_protos[i].name != NULL; ++i) in print_proto()981 if (xtables_chain_protos[i].num == proto) { in print_proto()983 invertstr, xtables_chain_protos[i].name); in print_proto()
1895 const struct xtables_pprot xtables_chain_protos[] = { variable1931 for (i = 0; i < ARRAY_SIZE(xtables_chain_protos); ++i) { in xtables_parse_protocol()1932 if (xtables_chain_protos[i].name == NULL) in xtables_parse_protocol()1934 if (strcmp(s, xtables_chain_protos[i].name) == 0) in xtables_parse_protocol()1935 return xtables_chain_protos[i].num; in xtables_parse_protocol()
519 extern const struct xtables_pprot xtables_chain_protos[];
552 extern const struct xtables_pprot xtables_chain_protos[];