Home
last modified time | relevance | path

Searched refs:matchp (Results 1 – 15 of 15) sorted by relevance

/external/iptables/iptables/
Dxtables-translate.c92 struct xtables_rule_match *matchp; in xlate_matches() local
95 for (matchp = cs->matches; matchp; matchp = matchp->next) { in xlate_matches()
98 .match = matchp->match->m, in xlate_matches()
103 if (!matchp->match->xlate) in xlate_matches()
106 ret = matchp->match->xlate(xl, &params); in xlate_matches()
108 if (strcmp(matchp->match->name, "comment") != 0) in xlate_matches()
119 struct xtables_rule_match *matchp; in xlate_find_match() local
122 for (matchp = cs->matches; matchp; matchp = matchp->next) { in xlate_find_match()
123 if (strcmp(matchp->match->name, p_name) == 0) in xlate_find_match()
Dnft-shared.c735 struct xtables_rule_match *matchp; in save_matches_and_target() local
737 for (matchp = m; matchp; matchp = matchp->next) { in save_matches_and_target()
738 if (matchp->match->alias) { in save_matches_and_target()
740 matchp->match->alias(matchp->match->m)); in save_matches_and_target()
742 printf("-m %s", matchp->match->name); in save_matches_and_target()
744 if (matchp->match->save != NULL) { in save_matches_and_target()
746 matchp->match->save(fw, matchp->match->m); in save_matches_and_target()
765 struct xtables_rule_match *matchp; in print_matches_and_target() local
767 for (matchp = cs->matches; matchp; matchp = matchp->next) { in print_matches_and_target()
768 if (matchp->match->print != NULL) { in print_matches_and_target()
[all …]
Dxshared.c119 struct xtables_rule_match *matchp; in command_default() local
131 for (matchp = cs->matches; matchp; matchp = matchp->next) { in command_default()
132 m = matchp->match; in command_default()
134 if (matchp->completed || in command_default()
137 if (cs->c < matchp->match->option_offset || in command_default()
138 cs->c >= matchp->match->option_offset + XT_OPTION_OFFSET_SCALE) in command_default()
Dip6tables.c763 const struct xtables_rule_match *matchp; in make_delete_mask() local
767 for (matchp = matches; matchp; matchp = matchp->next) in make_delete_mask()
768 size += XT_ALIGN(sizeof(struct xt_entry_match)) + matchp->match->size; in make_delete_mask()
777 for (matchp = matches; matchp; matchp = matchp->next) { in make_delete_mask()
780 + matchp->match->userspacesize); in make_delete_mask()
781 mptr += XT_ALIGN(sizeof(struct xt_entry_match)) + matchp->match->size; in make_delete_mask()
1234 struct xtables_rule_match *matchp; in generate_entry() local
1238 for (matchp = matches; matchp; matchp = matchp->next) in generate_entry()
1239 size += matchp->match->m->u.match_size; in generate_entry()
1247 for (matchp = matches; matchp; matchp = matchp->next) { in generate_entry()
[all …]
Diptables.c747 const struct xtables_rule_match *matchp; in make_delete_mask() local
751 for (matchp = matches; matchp; matchp = matchp->next) in make_delete_mask()
752 size += XT_ALIGN(sizeof(struct xt_entry_match)) + matchp->match->size; in make_delete_mask()
761 for (matchp = matches; matchp; matchp = matchp->next) { in make_delete_mask()
764 + matchp->match->userspacesize); in make_delete_mask()
765 mptr += XT_ALIGN(sizeof(struct xt_entry_match)) + matchp->match->size; in make_delete_mask()
1224 struct xtables_rule_match *matchp; in generate_entry() local
1228 for (matchp = matches; matchp; matchp = matchp->next) in generate_entry()
1229 size += matchp->match->m->u.match_size; in generate_entry()
1237 for (matchp = matches; matchp; matchp = matchp->next) { in generate_entry()
[all …]
Dnft-ipv6.c31 struct xtables_rule_match *matchp; in nft_ipv6_add() local
65 for (matchp = cs->matches; matchp; matchp = matchp->next) { in nft_ipv6_add()
67 if (strcmp(matchp->match->name, "comment") == 0) { in nft_ipv6_add()
68 ret = add_comment(r, (char *)matchp->match->m->data); in nft_ipv6_add()
72 ret = add_match(r, matchp->match->m); in nft_ipv6_add()
Dnft-ipv4.c32 struct xtables_rule_match *matchp; in nft_ipv4_add() local
77 for (matchp = cs->matches; matchp; matchp = matchp->next) { in nft_ipv4_add()
79 if (strcmp(matchp->match->name, "comment") == 0) { in nft_ipv4_add()
80 ret = add_comment(r, (char *)matchp->match->m->data); in nft_ipv4_add()
84 ret = add_match(r, matchp->match->m); in nft_ipv4_add()
Dnft-bridge.c440 struct xtables_match *matchp; in nft_bridge_print_firewall() local
518 matchp = m->u.match; in nft_bridge_print_firewall()
519 if (matchp->print != NULL) { in nft_bridge_print_firewall()
520 matchp->print(&cs.fw, matchp->m, in nft_bridge_print_firewall()
Dxtables.c691 struct xtables_rule_match *matchp; in do_parse() local
1103 for (matchp = cs->matches; matchp; matchp = matchp->next) in do_parse()
1104 xtables_option_mfcall(matchp->match); in do_parse()
/external/curl/lib/
Dhostcheck.c125 char *matchp; in Curl_cert_hostcheck() local
132 matchp = strdup(match_pattern); in Curl_cert_hostcheck()
133 if(matchp) { in Curl_cert_hostcheck()
136 if(hostmatch(hostp, matchp) == CURL_HOST_MATCH) in Curl_cert_hostcheck()
140 free(matchp); in Curl_cert_hostcheck()
/external/iptables/libxtables/
Dxtables.c1105 struct xtables_rule_match *matchp, *tmp; in xtables_rule_matches_free() local
1107 for (matchp = *matches; matchp;) { in xtables_rule_matches_free()
1108 tmp = matchp->next; in xtables_rule_matches_free()
1109 if (matchp->match->m) { in xtables_rule_matches_free()
1110 free(matchp->match->m); in xtables_rule_matches_free()
1111 matchp->match->m = NULL; in xtables_rule_matches_free()
1113 if (matchp->match == matchp->match->next) { in xtables_rule_matches_free()
1114 free(matchp->match); in xtables_rule_matches_free()
1115 matchp->match = NULL; in xtables_rule_matches_free()
1117 free(matchp); in xtables_rule_matches_free()
[all …]
/external/regex-re2/re2/
Dre2.cc552 StringPiece* matchp = &match; in Match() local
554 matchp = NULL; in Match()
615 matchp, &dfa_failed, NULL)) { in Match()
635 if (matchp == NULL) // Matched. Don't care where in Match()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
Dregengine.inc779 const char *matchp; /* last p at which a match ended */
786 matchp = NULL;
827 matchp = p;
841 return(matchp);
/external/llvm/lib/Support/
Dregengine.inc779 const char *matchp; /* last p at which a match ended */
786 matchp = NULL;
827 matchp = p;
841 return(matchp);
/external/swiftshader/third_party/LLVM/lib/Support/
Dregengine.inc779 const char *matchp; /* last p at which a match ended */
786 matchp = NULL;
827 matchp = p;
841 return(matchp);