Home
last modified time | relevance | path

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

/external/iptables/iptables/
Dxshared.c60 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()
Dip6tables.c1024 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()
Diptables.c980 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()
/external/iptables/libxtables/
Dxtables.c1895 const struct xtables_pprot xtables_chain_protos[] = { variable
1931 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()
/external/iproute2/include/
Dxtables.h519 extern const struct xtables_pprot xtables_chain_protos[];
/external/iptables/include/
Dxtables.h552 extern const struct xtables_pprot xtables_chain_protos[];