Home
last modified time | relevance | path

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

/dragonfly/sys/net/ipfw3_basic/
HDip_fw3_basic.c165 check_count(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_count() argument
175 check_skipto(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_skipto() argument
188 check_forward(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_forward() argument
208 *cmd_val = IP_FW_DENY; in check_forward()
232 *cmd_val = IP_FW_PASS; in check_forward()
236 check_in(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_in() argument
240 *cmd_val = ((*args)->oif == NULL); in check_in()
244 check_out(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_out() argument
248 *cmd_val = ((*args)->oif != NULL); in check_out()
252 check_via(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_via() argument
[all …]
HDip_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,
96 void check_forward(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,
110 void check_from_lookup(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
[all …]
HDip_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,
HDip_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/
HDip_fw3_layer2.c66 check_layer2(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_layer2() argument
69 *cmd_val = ((*args)->eh != NULL); in check_layer2()
74 check_mac(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_mac() argument
82 *cmd_val = in check_mac()
87 *cmd_val = IP_FW_NOT_MATCH; in check_mac()
92 check_mac_from(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_mac_from() argument
100 *cmd_val = in check_mac_from()
105 *cmd_val = IP_FW_NOT_MATCH; in check_mac_from()
110 check_mac_from_lookup(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_mac_from_lookup() argument
123 *cmd_val = IP_FW_NOT_MATCH; in check_mac_from_lookup()
[all …]
HDip_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/
HDip_fw3_layer4.c77 check_tcpflag(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
80 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,
86 check_established(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,
144 check_tcpflag(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_tcpflag() argument
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
156 *cmd_val = ip_fw3_match_guid(&(*args)->f_id, (*args)->oif, cmd->opcode, in check_uid()
162 check_gid(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args, in check_gid() argument
[all …]
/dragonfly/sys/net/ipfw3/
HDip_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()
HDip_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/
HDip_fw3_nat.h162 void check_nat(int *cmd_ctl, int *cmd_val, struct ip_fw_args **args,
HDip_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/
HDip_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()