Searched refs:ip_fw (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-10-stable/sys/netpfil/ipfw/
H A Dip_fw_private.h156 void ipfw_log(struct ip_fw *f, u_int hlen, struct ip_fw_args *args,
179 void ipfw_expire_dyn_rules(struct ip_fw_chain *, struct ip_fw *, int);
185 int ipfw_install_state(struct ip_fw *rule, ipfw_insn_limit *cmd,
189 void ipfw_remove_dyn_children(struct ip_fw *rule);
216 struct ip_fw **map; /* array of rule ptrs to ease lookup */
230 struct ip_fw *reap; /* list of rules to reap */
231 struct ip_fw *default_rule;
300 int ipfw_add_rule(struct ip_fw_chain *chain, struct ip_fw *input_rule);
303 void ipfw_reap_rules(struct ip_fw *head);
H A Dip_fw_sockopt.c62 #include <netinet/ip_fw.h>
84 struct ip_fw *r;
105 static struct ip_fw **
110 struct ip_fw **map;
114 map = malloc(i * sizeof(struct ip_fw *), M_IPFW,
134 static struct ip_fw **
135 swap_map(struct ip_fw_chain *chain, struct ip_fw **new_map, int new_len)
137 struct ip_fw **old_map;
156 ipfw_add_rule(struct ip_fw_chain *chain, struct ip_fw *input_rule)
158 struct ip_fw *rul
[all...]
H A Ddn_sched_fifo.c43 #include <netinet/ip_fw.h> /* flow_id */
H A Dip_fw_dynamic.c59 #include <netinet/ip_fw.h>
185 static void check_dyn_rules(struct ip_fw_chain *, struct ip_fw *,
567 add_dyn_rule(struct ipfw_flow_id *id, int i, u_int8_t dyn_type, struct ip_fw *rule)
614 lookup_dyn_parent(struct ipfw_flow_id *pkt, int *pindex, struct ip_fw *rule)
657 ipfw_install_state(struct ip_fw *rule, ipfw_insn_limit *cmd,
769 q = add_dyn_rule(&args->f_id, i, O_LIMIT, (struct ip_fw *)parent);
1027 check_dyn_rules(struct ip_fw_chain *chain, struct ip_fw *rule,
1304 ipfw_expire_dyn_rules(struct ip_fw_chain *chain, struct ip_fw *rule, int set)
H A Ddn_sched_rr.c43 #include <netinet/ip_fw.h> /* flow_id */
H A Ddn_sched_prio.c42 #include <netinet/ip_fw.h> /* flow_id */
H A Dip_fw_log.c60 #include <netinet/ip_fw.h>
240 ipfw_log(struct ip_fw *f, u_int hlen, struct ip_fw_args *args,
H A Dip_fw2.c74 #include <netinet/ip_fw.h>
792 jump_fast(struct ip_fw_chain *chain, struct ip_fw *f, int num,
1292 struct ip_fw *f;
2527 struct ip_fw *rule = chain->map[f_pos];
2643 struct ip_fw *rule = NULL;
2663 chain->static_len = sizeof(struct ip_fw);
2664 chain->map = malloc(sizeof(struct ip_fw *), M_IPFW, M_WAITOK | M_ZERO);
2718 struct ip_fw *reap, *rule;
H A Ddn_aqm_codel.c58 #include <netinet/ip_fw.h>
H A Ddn_sched_wf2q.c44 #include <netinet/ip_fw.h> /* flow_id */
H A Dip_fw_pfil.c58 #include <netinet/ip_fw.h>
H A Dip_fw_nat.c39 #define IPFW_INTERNAL /* Access to protected data structures in ip_fw.h. */
48 #include <netinet/ip_fw.h>
H A Ddn_aqm_pie.c59 #include <netinet/ip_fw.h>
H A Ddn_sched_fq_codel.c44 #include <netinet/ip_fw.h> /* flow_id */
H A Dip_fw_table.c57 #include <net/if.h> /* ip_fw.h requires IFNAMSIZ */
64 #include <netinet/ip_fw.h>
H A Dip_dn_glue.c52 #include <netinet/ip_fw.h>
H A Ddn_sched_fq_pie.c57 #include <netinet/ip_fw.h> /* flow_id */
/freebsd-10-stable/sys/netinet/
H A Dip_fw.h32 * The default rule number. By the design of ip_fw, the default rule
34 * allowed for a rule. The ip_fw code relies on both meanings of this
498 struct ip_fw { struct
499 struct ip_fw *x_next; /* linked list of rules */
500 struct ip_fw *next_rule; /* ptr to next [skipto] rule */
522 #define RULESIZE(rule) (sizeof(struct ip_fw) + \
523 ((struct ip_fw *)(rule))->cmd_len * 4 - 4)
558 struct ip_fw *rule; /* pointer to rule */
/freebsd-10-stable/sbin/ipfw/
H A Daltq.c43 #include <netinet/ip_fw.h>
H A Dipfw2.c54 #include <netinet/ip_fw.h>
1124 show_ipfw(struct ip_fw *rule, int pcwidth, int bcwidth)
1864 nalloc = nbytes = sizeof(struct ip_fw);
1875 bcopy(&((struct ip_fw *)data)->next_rule,
1991 struct ip_fw *r;
1994 #define NEXT(r) ((struct ip_fw *)((char *)r + RULESIZE(r)))
2875 struct ip_fw *rule;
2897 rule = (struct ip_fw *)rulebuf;
2902 rblen -= offsetof(struct ip_fw, cmd) / sizeof(rulebuf[0]);
H A Dipv6.c42 #include <netinet/ip_fw.h>
H A Dnat.c39 #define IPFW_INTERNAL /* Access to protected structures in ip_fw.h. */
45 #include <netinet/ip_fw.h>
/freebsd-10-stable/sys/netgraph/
H A Dng_ipfw.c50 #include <netinet/ip_fw.h>
H A Dng_bridge.c79 #include <netinet/ip_fw.h>
/freebsd-10-stable/sys/netinet/libalias/
H A Dalias_db.c2639 #include <netinet/ip_fw.h>
2693 struct ip_fw *rule = (struct ip_fw *)buf;
2763 struct ip_fw rule; /* On-the-fly built rule */
2843 struct ip_fw rule;
2860 struct ip_fw rule; /* On-the-fly built rule */

Completed in 219 milliseconds

12