Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/tnftp/src/
Dfetch.c92 static const char *match_token(const char **, const char *);
119 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()
975 } else if (match_token(&cp, "Transfer-Encoding:")) { in fetch_url()
976 if (match_token(&cp, "binary")) { in fetch_url()
[all …]
/freebsd-12-stable/sbin/ipfw/
Dipfw2.c674 match_token(struct _s_x *table, const char *string) in match_token() function
782 val = match_token(flags, p); in fill_flags()
977 i = match_token(ether_types, buf); in strtoport()
1077 if ((code = match_token(f_ipdscp, s)) == -1) in fill_dscp()
1122 val = match_token(icmpcodes, str); in fill_reject_code()
1938 if (match_token(rule_eactions, s) != -1) in print_action_instruction()
3023 if (match_token(rule_actions, name) != -1 && in eaction_check_name()
3024 match_token(rule_action_params, name) != -1) in eaction_check_name()
3709 if (match_token(f_reserved_keywords, av) != -1) in add_ports()
3875 i = match_token(rule_actions, *av); in compile_rule()
[all …]
Dipv6.c66 val = match_token(icmp6codes, str); in fill_unreach6_code()
221 tok = match_token(ext6hdrcodes, av); in fill_ext6hdr()
Ddummynet.c1042 int tok = match_token(aqm_params, *av); in process_extra_parms()
1122 int tok = match_token(aqm_params, *av); in process_extra_parms()
1402 int tok = match_token(dummynet_params, *av); in ipfw_config_pipe()
1465 tok = match_token(dummynet_params, *av); in ipfw_config_pipe()
Dipfw2.h356 int match_token(struct _s_x *table, const char *string);
Dnat.c807 tok = match_token(nat_params, *av1); in ipfw_config_nat()
885 tok = match_token(nat_params, *av); in ipfw_config_nat()
Dtables.c430 val = match_token(tabletypes, *av); in table_create()
1617 if ((dval = match_token(f_ipdscp, n)) != -1) { in tentry_fill_value()