| /freebsd-12.1/sbin/pfctl/ |
| H A D | pfctl_parser.h | 75 struct pfctl { struct 253 int pfctl_optimize_ruleset(struct pfctl *, struct pf_ruleset *); 256 int pfctl_add_altq(struct pfctl *, struct pf_altq *); 261 int pfctl_set_timeout(struct pfctl *, const char *, int, int); 262 int pfctl_set_optimization(struct pfctl *, const char *); 263 int pfctl_set_limit(struct pfctl *, const char *, unsigned int); 264 int pfctl_set_logif(struct pfctl *, char *); 265 int pfctl_set_hostid(struct pfctl *, u_int32_t); 266 int pfctl_set_debug(struct pfctl *, char *); 267 int pfctl_set_interface_flags(struct pfctl *, char *, int, int); [all …]
|
| H A D | Makefile | 10 PROG= pfctl 11 MAN= pfctl.8 13 SRCS = pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
|
| H A D | pfctl.c | 74 int pfctl_adjust_skip_ifaces(struct pfctl *); 86 void pfctl_init_options(struct pfctl *); 87 int pfctl_load_options(struct pfctl *); 91 int pfctl_load_logif(struct pfctl *, char *); 92 int pfctl_load_hostid(struct pfctl *, u_int32_t); 108 int pfctl_load_ruleset(struct pfctl *, char *, 348 pfctl_adjust_skip_ifaces(struct pfctl *pf) in pfctl_adjust_skip_ifaces() 1508 struct pfctl pf; in pfctl_rules() 1660 pfctl_init_options(struct pfctl *pf) in pfctl_init_options() 1693 pfctl_load_options(struct pfctl *pf) in pfctl_load_options() [all …]
|
| H A D | pfctl_optimize.c | 214 int block_feedback(struct pfctl *, struct superblock *); 215 int combine_rules(struct pfctl *, struct superblock *); 217 int construct_superblocks(struct pfctl *, struct pf_opt_queue *, 222 int optimize_superblock(struct pfctl *, struct superblock *); 223 int pf_opt_create_table(struct pfctl *, struct pf_opt_tbl *); 227 int reorder_rules(struct pfctl *, struct superblock *, int); 242 void superblock_free(struct pfctl *, struct superblock *); 264 pfctl_optimize_ruleset(struct pfctl *pf, struct pf_ruleset *rs) in pfctl_optimize_ruleset() 491 combine_rules(struct pfctl *pf, struct superblock *block) in combine_rules() 815 block_feedback(struct pfctl *pf, struct superblock *block) in block_feedback() [all …]
|
| H A D | pfctl_altq.c | 67 static int eval_pfqueue_cbq(struct pfctl *, struct pf_altq *, 69 static int cbq_compute_idletime(struct pfctl *, struct pf_altq *); 76 static int eval_pfqueue_priq(struct pfctl *, struct pf_altq *, 81 static int eval_pfqueue_hfsc(struct pfctl *, struct pf_altq *, 87 static int eval_pfqueue_fairq(struct pfctl *, struct pf_altq *, 311 eval_pfaltq(struct pfctl *pf, struct pf_altq *pa, struct node_queue_bw *bw, 397 eval_pfqueue(struct pfctl *pf, struct pf_altq *pa, struct node_queue_bw *bw, 499 eval_pfqueue_cbq(struct pfctl *pf, struct pf_altq *pa, struct pfctl_altq *if_ppa) 542 cbq_compute_idletime(struct pfctl *pf, struct pf_altq *pa) 686 eval_pfqueue_priq(struct pfctl *pf, struct pf_altq *pa, struct pfctl_altq *if_ppa) [all …]
|
| /freebsd-12.1/contrib/blacklist/libexec/ |
| H A D | blacklistd-helper | 78 /sbin/pfctl -a "$2/$6" -sr 2>/dev/null | \ 81 /sbin/pfctl -a "$2/$6" -f - 83 /sbin/pfctl -qa "$2/$6" -t "port$6" -T add "$addr/$mask" && \ 84 /sbin/pfctl -q -k $addr && echo OK 104 /sbin/pfctl -qa "$2/$6" -t "port$6" -T delete "$addr/$mask" && \ 122 anchors=$(/sbin/pfctl -a $2 -s Anchors) 124 /sbin/pfctl -a $anchor -t "port${anchor##*/}" -T flush 125 /sbin/pfctl -a $anchor -F rules
|
| /freebsd-12.1/tests/sys/netpfil/pf/ |
| H A D | anchor.sh | 18 jexec alcatraz pfctl -e 28 atf_check -s exit:0 -o ignore jexec alcatraz pfctl -sr -a '*' 29 atf_check -s exit:0 -o ignore jexec alcatraz pfctl -t test -T show
|
| H A D | set_skip.sh | 20 jexec alcatraz pfctl -e 47 jexec alcatraz pfctl -e 55 jexec alcatraz pfctl -s rules
|
| H A D | pass_block.sh | 27 jexec alcatraz pfctl -e 66 jexec alcatraz pfctl -e 113 jexec alcatraz pfctl -e 149 jexec alcatraz pfctl -e
|
| H A D | pfsync.sh | 40 jexec one pfctl -e 44 jexec two pfctl -e 56 if ! jexec two pfctl -s states | grep icmp | grep 198.51.100.1 | \
|
| H A D | utils.subr | 36 jexec ${jname} pfctl -F all 42 done | jexec ${jname} pfctl -f -
|
| H A D | nat.sh | 33 jexec nat pfctl -e 49 timeout 2 jexec nat pfctl -sa
|
| H A D | route_to.sh | 25 jexec alcatraz pfctl -e 61 jexec alcatraz pfctl -e
|
| H A D | fragmentation.sh | 26 jexec alcatraz pfctl -e 81 jexec alcatraz pfctl -e
|
| H A D | forward.sh | 42 jexec alcatraz pfctl -e 107 jexec alcatraz pfctl -e
|
| H A D | rdr.sh | 27 jexec alcatraz pfctl -e
|
| H A D | synproxy.sh | 34 jexec alcatraz pfctl -e
|
| H A D | set_tos.sh | 36 jexec alcatraz pfctl -e
|
| /freebsd-12.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-l2c.c | 224 union cvmx_l2c_pfctl pfctl; in cvmx_l2c_config_perf() local 230 pfctl.s.cnt0sel = event; in cvmx_l2c_config_perf() 231 pfctl.s.cnt0ena = 1; in cvmx_l2c_config_perf() 232 pfctl.s.cnt0rdclr = clear_on_read; in cvmx_l2c_config_perf() 235 pfctl.s.cnt1sel = event; in cvmx_l2c_config_perf() 236 pfctl.s.cnt1ena = 1; in cvmx_l2c_config_perf() 237 pfctl.s.cnt1rdclr = clear_on_read; in cvmx_l2c_config_perf() 240 pfctl.s.cnt2sel = event; in cvmx_l2c_config_perf() 241 pfctl.s.cnt2ena = 1; in cvmx_l2c_config_perf() 246 pfctl.s.cnt3sel = event; in cvmx_l2c_config_perf() [all …]
|
| /freebsd-12.1/usr.sbin/periodic/etc/security/ |
| H A D | 520.pfdenied | 47 for _a in "" $(pfctl -a "blacklistd" -sA 2>/dev/null) 49 pfctl -a ${_a} -sr -v -z 2>/dev/null | \
|
| /freebsd-12.1/sbin/pfctl/tests/files/ |
| H A D | Makefile | 3 TESTSDIR= ${TESTSBASE}/sbin/pfctl/files
|
| H A D | pf0077.in | 2 # <henning@quigon:1>$ echo "pass inet from (le0)/8" | pfctl -nvf -
|
| H A D | pf0088.in | 1 # pfctl -o duplicate rules
|
| H A D | pf0087.in | 1 # pfctl -o rule reordering
|
| /freebsd-12.1/sbin/ |
| H A D | Makefile | 85 SUBDIR.${MK_PF}+= pfctl
|