Home
last modified time | relevance | path

Searched refs:match_token (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/contrib/tnftp/src/
H A Dfetch.c119 match_token(const char **buf, const char *token) in match_token() function
165 if (! match_token(&cp, scheme)) { in auth_url()
886 if (match_token(&cp, "Content-Length:")) { in fetch_url()
893 } else if (match_token(&cp, "Content-Range:")) { in fetch_url()
894 if (! match_token(&cp, "bytes")) in fetch_url()
941 } else if (match_token(&cp, "Last-Modified:")) { in fetch_url()
970 } else if (match_token(&cp, "Location:")) { in fetch_url()
976 if (match_token(&cp, "binary")) { in fetch_url()
981 if (! (token = match_token(&cp, "chunked"))) { in fetch_url()
991 || match_token(&cp, "WWW-Authenticate:")) { in fetch_url()
[all …]
/freebsd-12.1/sbin/ipfw/
H A Dipfw2.c767 val = match_token(flags, p); in fill_flags()
962 i = match_token(ether_types, buf); in strtoport()
1062 if ((code = match_token(f_ipdscp, s)) == -1) in fill_dscp()
1107 val = match_token(icmpcodes, str); in fill_reject_code()
1915 if (match_token(rule_eactions, s) != -1) in print_action_instruction()
2996 if (match_token(rule_actions, name) != -1 && in eaction_check_name()
3854 i = match_token(rule_actions, *av); in compile_rule()
4171 if (match_token(rule_eactions, *av) == -1) in compile_rule()
4491 i = match_token(rule_options, s); in compile_rule()
4976 i = match_token(rule_options, *av); in compile_rule()
[all …]
H A Dipv6.c66 val = match_token(icmp6codes, str); in fill_unreach6_code()
219 tok = match_token(ext6hdrcodes, av); in fill_ext6hdr()
H A Ddummynet.c1041 int tok = match_token(aqm_params, *av); in process_extra_parms()
1121 int tok = match_token(aqm_params, *av); in process_extra_parms()
1401 int tok = match_token(dummynet_params, *av); in ipfw_config_pipe()
1464 tok = match_token(dummynet_params, *av); in ipfw_config_pipe()
H A Dipfw2.h346 int match_token(struct _s_x *table, const char *string);
H A Dnat.c778 tok = match_token(nat_params, *av1); in ipfw_config_nat()
854 tok = match_token(nat_params, *av); in ipfw_config_nat()
H A Dtables.c422 val = match_token(tabletypes, *av); in table_create()
1601 if ((dval = match_token(f_ipdscp, n)) != -1) { in tentry_fill_value()