Home
last modified time | relevance | path

Searched refs:ipfw_insn (Results 1 – 25 of 25) sorted by relevance

/dragonfly/sys/net/ipfw3_basic/
H A Dip_fw3_basic.h93 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
95 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
97 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
99 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
101 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
103 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
105 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
107 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
109 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
111 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
[all …]
H A Dip_fw3_basic.c108 ipfw_insn *cmd; in lookup_next_rule()
166 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_count()
176 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_skipto()
189 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_forward()
237 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_in()
245 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_out()
253 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_via()
263 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_proto()
271 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_prob()
279 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_from()
[all …]
H A Dip_fw3_state.h91 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
93 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
H A Dip_fw3_state.c154 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_check_state()
238 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_keep_state()
/dragonfly/lib/libipfw3/basic/
H A Dipfw3_basic.c235 static ipfw_insn
236 *add_proto(ipfw_insn *cmd, char *av) in add_proto()
650 show_count(ipfw_insn *cmd, int show_or) in show_count()
690 show_in(ipfw_insn *cmd, int show_or) in show_in()
696 show_out(ipfw_insn *cmd, int show_or) in show_out()
702 show_via(ipfw_insn *cmd, int show_or) in show_via()
742 show_from(ipfw_insn *cmd, int show_or) in show_from()
795 show_to(ipfw_insn *cmd, int show_or) in show_to()
814 show_to_me(ipfw_insn *cmd, int show_or) in show_to_me()
858 show_prob(ipfw_insn *cmd, int show_or) in show_prob()
[all …]
/dragonfly/sys/net/ipfw/
H A Dip_fw2.h174 } ipfw_insn; typedef
188 ipfw_insn o;
197 ipfw_insn o;
205 ipfw_insn o;
214 ipfw_insn o;
222 ipfw_insn o;
231 ipfw_insn o;
245 ipfw_insn o;
253 ipfw_insn o;
268 ipfw_insn o;
[all …]
H A Dip_fw2.c1236 flags_match(ipfw_insn *cmd, uint8_t bits) in flags_match()
1251 ipopts_match(struct ip *ip, ipfw_insn *cmd) in ipopts_match()
1408 ipfw_insn *cmd = ACTION_PTR(f); in ipfw_log()
3003 ipfw_insn *cmd; in lookup_next_rule()
3597 ipfw_insn *cmd; in ipfw_chk()
4408 ipfw_insn *cmd; in ipfw_dummynet_io()
5315 ipfw_insn *cmd; in ipfw_check_ioc_rule()
5388 if (cmdlen != F_INSN_SIZE(ipfw_insn)) in ipfw_check_ioc_rule()
5394 if (cmdlen != F_INSN_SIZE(ipfw_insn)) in ipfw_check_ioc_rule()
5518 if (cmdlen != F_INSN_SIZE(ipfw_insn)) in ipfw_check_ioc_rule()
[all …]
/dragonfly/sys/net/ipfw3/
H A Dip_fw3.h132 } ipfw_insn; typedef
149 ipfw_insn o;
158 ipfw_insn o;
166 ipfw_insn o;
175 ipfw_insn o;
183 ipfw_insn o;
192 ipfw_insn o;
206 ipfw_insn o;
214 ipfw_insn o;
229 ipfw_insn o;
[all …]
H A Dip_fw3.c193 ipfw_insn *cmd; in ip_fw3_unregister_module()
203 cmd = (ipfw_insn *)((uint32_t *)cmd + cmdlen)) { in ip_fw3_unregister_module()
248 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_accept()
259 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_deny()
291 ipfw_insn *cmd; in lookup_next_rule()
482 ipfw_insn *cmd; in ip_fw3_chk()
494 cmd = (ipfw_insn *)((uint32_t *)cmd+ cmdlen)) { in ip_fw3_chk()
591 ipfw_insn *cmd; in ip_fw3_dummynet_io()
608 cmd = (ipfw_insn *)((uint32_t *)fwa->rule->cmd + fwa->rule->act_ofs); in ip_fw3_dummynet_io()
958 size < sizeof(*ioc_rule) - sizeof(ipfw_insn)) { in ip_fw3_ctl_add_rule()
/dragonfly/lib/libipfw3/layer2/
H A Dipfw3_layer2.c134 parse_layer2(ipfw_insn **cmd, int *ac, char **av[]) in parse_layer2()
152 (*cmd)->len |= F_INSN_SIZE(ipfw_insn); in parse_mac_from()
167 parse_mac_to(ipfw_insn **cmd, int *ac, char **av[]) in parse_mac_to()
176 (*cmd)->len |= F_INSN_SIZE(ipfw_insn); in parse_mac_to()
192 parse_mac(ipfw_insn **cmd, int *ac, char **av[]) in parse_mac()
207 show_layer2(ipfw_insn *cmd, int show_or) in show_layer2()
213 show_mac(ipfw_insn *cmd, int show_or) in show_mac()
225 show_mac_from(ipfw_insn *cmd, int show_or) in show_mac_from()
236 show_mac_from_lookup(ipfw_insn *cmd, int show_or) in show_mac_from_lookup()
242 show_mac_to(ipfw_insn *cmd, int show_or) in show_mac_to()
[all …]
/dragonfly/lib/libipfw3/layer4/
H A Dipfw3_layer4.c66 parse_tcpflag(ipfw_insn **cmd, int *ac, char **av[]) in parse_tcpflag()
76 parse_uid(ipfw_insn **cmd, int *ac, char **av[]) in parse_uid()
98 parse_gid(ipfw_insn **cmd, int *ac, char **av[]) in parse_gid()
120 parse_established(ipfw_insn **cmd, int *ac, char **av[]) in parse_established()
129 parse_bpf(ipfw_insn **cmd, int *ac, char **av[]) in parse_bpf()
160 show_tcpflag(ipfw_insn *cmd, int show_or) in show_tcpflag()
169 show_uid(ipfw_insn *cmd, int show_or) in show_uid()
184 show_gid(ipfw_insn *cmd, int show_or) in show_gid()
199 show_established(ipfw_insn *cmd, int show_or) in show_established()
205 show_bpf(ipfw_insn *cmd, int show_or) in show_bpf()
/dragonfly/sys/net/ipfw3_layer2/
H A Dip_fw3_layer2.h43 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
45 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
47 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
49 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
51 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
53 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
H A Dip_fw3_layer2.c67 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_layer2()
75 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_mac()
93 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_mac_from()
111 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_mac_from_lookup()
136 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_mac_to()
154 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_mac_to_lookup()
/dragonfly/sys/net/ipfw3_layer4/
H A Dip_fw3_layer4.c78 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
81 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
84 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
87 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
90 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
145 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_tcpflag()
154 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_uid()
163 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_gid()
174 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_established()
195 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_bpf()
/dragonfly/sbin/ipfw3/
H A Dipfw3.c338 ipfw_insn*
339 next_cmd(ipfw_insn *cmd) in next_cmd()
368 ipfw_insn *prev; in rule_add()
383 cmd = (ipfw_insn *)cmdbuf; in rule_add()
384 action = (ipfw_insn *)actbuf; in rule_add()
385 other = (ipfw_insn *)othbuf; in rule_add()
554 dst = (ipfw_insn *)rule->cmd; in rule_add()
558 src = (ipfw_insn *)cmdbuf; in rule_add()
586 src = (ipfw_insn *)actbuf; in rule_add()
748 ipfw_insn *cmd; in rule_show()
[all …]
H A Dipfw3basic.h38 void parse_accept(ipfw_insn **cmd, int *ac, char **av[]);
39 void parse_deny(ipfw_insn **cmd, int *ac, char **av[]);
40 void show_accept(ipfw_insn *cmd, int show_or);
41 void show_deny(ipfw_insn *cmd, int show_or);
H A Dipfw3.h118 typedef void (*parser_func)(ipfw_insn **,int *, char ***);
119 typedef void (*shower_func)(ipfw_insn *, int);
145 ipfw_insn* next_cmd(ipfw_insn *cmd);
158 void prev_show_chk(ipfw_insn *cmd, uint8_t *prev_module,
160 int show_filter(ipfw_insn *cmd, char *word, int type);
H A Dipfw3basic.c83 parse_accept(ipfw_insn **cmd, int *ac, char **av[]) in parse_accept()
100 parse_deny(ipfw_insn **cmd, int *ac, char **av[]) in parse_deny()
117 show_accept(ipfw_insn *cmd, int show_or) in show_accept()
126 show_deny(ipfw_insn *cmd, int show_or) in show_deny()
/dragonfly/lib/libipfw3/dummynet/
H A Dipfw3_dummynet.c48 parse_pipe(ipfw_insn **cmd, int *ac, char **av[]) in parse_pipe()
59 parse_queue(ipfw_insn **cmd, int *ac, char **av[]) in parse_queue()
70 show_pipe(ipfw_insn *cmd, int show_or) in show_pipe()
76 show_queue(ipfw_insn *cmd, int show_or) in show_queue()
/dragonfly/lib/libipfw3/nat/
H A Dipfw3_nat.c49 parse_nat(ipfw_insn **cmd, int *ac, char **av[]) in parse_nat()
61 show_nat(ipfw_insn *cmd, int show_or) in show_nat()
/dragonfly/sbin/ipfw/
H A Dipfw2.c844 ipfw_insn *cmd; in show_ipfw()
2502 static ipfw_insn *
2503 next_cmd(ipfw_insn *cmd) in next_cmd()
2526 static ipfw_insn *
2543 static ipfw_insn *
2556 static ipfw_insn *
2575 static ipfw_insn *
2594 static ipfw_insn *
2613 static ipfw_insn *
2708 cmd = (ipfw_insn *)cmdbuf; in add()
[all …]
/dragonfly/sys/net/ipfw3_nat/
H A Dip_fw3_nat.h74 ipfw_insn o;
163 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
H A Dip_fw3_nat.c144 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_nat()
/dragonfly/lib/libalias/
H A Dalias_db.c2644 static ipfw_insn *
2645 next_cmd(ipfw_insn *cmd) in next_cmd()
2656 static ipfw_insn *
2657 fill_cmd(ipfw_insn *cmd, enum ipfw_opcodes opcode, int size, in fill_cmd()
2666 static ipfw_insn *
2667 fill_ip(ipfw_insn *cmd1, enum ipfw_opcodes opcode, u_int32_t addr) in fill_ip()
2675 static ipfw_insn *
2676 fill_one_port(ipfw_insn *cmd1, enum ipfw_opcodes opcode, u_int16_t port) in fill_one_port()
2690 ipfw_insn *cmd = (ipfw_insn *)rule->cmd; in fill_rule()
2695 cmd = fill_cmd(cmd, O_PROTO, F_INSN_SIZE(ipfw_insn), 0, proto); in fill_rule()
[all …]
/dragonfly/sys/net/dummynet3/
H A Dip_dummynet3.c77 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
79 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
83 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_pipe()
93 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_queue()