Home
last modified time | relevance | path

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

/external/iptables/iptables/
Dxshared.c57 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()
Diptables.c944 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()
Dip6tables.c987 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()
/external/iptables/libxtables/
Dxtables.c1872 const struct xtables_pprot xtables_chain_protos[] = { variable
1908 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()
/external/iproute2/include/
Dxtables.h519 extern const struct xtables_pprot xtables_chain_protos[];
/external/iptables/include/
Dxtables.h516 extern const struct xtables_pprot xtables_chain_protos[];