Home
last modified time | relevance | path

Searched refs:cmd_val (Results 1 – 12 of 12) sorted by relevance

/dragonfly/sys/net/ipfw3_basic/
H A Dip_fw3_basic.c208 *cmd_val = IP_FW_DENY; in check_forward()
232 *cmd_val = IP_FW_PASS; in check_forward()
291 *cmd_val = (hlen > 0 && in check_from()
342 *cmd_val = (tif != NULL); in check_from_me()
364 *cmd_val = (hlen > 0 && in check_from_mask()
384 *cmd_val = (hlen > 0 && in check_to()
435 *cmd_val = (tif != NULL); in check_to_me()
457 *cmd_val = (hlen > 0 && in check_to_mask()
502 *cmd_val = IP_FW_MATCH; in check_tagged()
546 *cmd_val = IP_FW_MATCH; in check_src_n_port()
[all …]
H A Dip_fw3_basic.h92 void check_count(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
94 void check_skipto(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
98 void check_in(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
100 void check_out(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
102 void check_via(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
104 void check_proto(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
106 void check_prob(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
108 void check_from(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
116 void check_to(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
120 void check_to_me(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
[all …]
H A Dip_fw3_state.h90 void check_check_state(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
92 void check_keep_state(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
H A Dip_fw3_state.c153 check_check_state(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_check_state() argument
212 *cmd_val = IP_FW_PASS; in check_check_state()
227 *cmd_val = IP_FW_PASS; in check_check_state()
232 *cmd_val = IP_FW_NOT_MATCH; in check_check_state()
237 check_keep_state(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_keep_state() argument
333 *cmd_val = IP_FW_MATCH; in check_keep_state()
/dragonfly/sys/net/ipfw3_layer2/
H A Dip_fw3_layer2.c69 *cmd_val = ((*args)->eh != NULL); in check_layer2()
82 *cmd_val = in check_mac()
87 *cmd_val = IP_FW_NOT_MATCH; in check_mac()
100 *cmd_val = in check_mac_from()
105 *cmd_val = IP_FW_NOT_MATCH; in check_mac_from()
123 *cmd_val = IP_FW_NOT_MATCH; in check_mac_from_lookup()
130 *cmd_val = IP_FW_MATCH; in check_mac_from_lookup()
143 *cmd_val = in check_mac_to()
148 *cmd_val = IP_FW_NOT_MATCH; in check_mac_to()
166 *cmd_val = IP_FW_NOT_MATCH; in check_mac_to_lookup()
[all …]
H A Dip_fw3_layer2.h42 void check_layer2(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
44 void check_mac(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
46 void check_mac_from(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
48 void check_mac_from_lookup(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
50 void check_mac_to(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
52 void check_mac_to_lookup(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
/dragonfly/sys/net/ipfw3_layer4/
H A Dip_fw3_layer4.c80 check_uid(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
83 check_gid(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
89 check_bpf(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
148 *cmd_val = 0; in check_tcpflag()
153 check_uid(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_uid() argument
162 check_gid(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_gid() argument
186 *cmd_val = IP_FW_MATCH; in check_established()
190 *cmd_val = IP_FW_NOT_MATCH; in check_established()
194 check_bpf(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_bpf() argument
203 *cmd_val = IP_FW_MATCH; in check_bpf()
[all …]
/dragonfly/sys/net/ipfw3/
H A Dip_fw3.c247 check_accept(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_accept() argument
250 *cmd_val = IP_FW_PASS; in check_accept()
258 check_deny(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_deny() argument
261 *cmd_val = IP_FW_DENY; in check_deny()
327 int cmd_val = IP_FW_PASS; in ip_fw3_chk() local
507 (&cmd_ctl, &cmd_val, &args, &f, cmd, ip_len); in ip_fw3_chk()
527 cmd_val= !cmd_val; in ip_fw3_chk()
530 if (!cmd_val) { /* not matched */ in ip_fw3_chk()
555 if (!cmd_val) { /* not matched */ in ip_fw3_chk()
578 return cmd_val; in ip_fw3_chk()
H A Dip_fw3.h527 typedef void (*filter_func)(int *cmd_ctl,int *cmd_val,struct ip_fw_args **args,
530 void check_accept(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
532 void check_deny(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
/dragonfly/sys/net/ipfw3_nat/
H A Dip_fw3_nat.h162 void check_nat(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
H A Dip_fw3_nat.c143 check_nat(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_nat() argument
148 *cmd_val = IP_FW_NOT_MATCH; in check_nat()
163 *cmd_val = IP_FW_DENY; in check_nat()
169 *cmd_val = ip_fw3_nat(*args, nat, (*args)->m); in check_nat()
/dragonfly/sys/net/dummynet3/
H A Dip_dummynet3.c76 void check_pipe(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
78 void check_queue(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
82 check_pipe(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_pipe() argument
87 *cmd_val = IP_FW_DUMMYNET; in check_pipe()
92 check_queue(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_queue() argument
97 *cmd_val = IP_FW_DUMMYNET; in check_queue()