Home
last modified time | relevance | path

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

1234

/netbsd/src/sys/netinet/
Dip_flow.c90 #define IPFLOW_INSERT(hashidx, ipf) \ argument
92 (ipf)->ipf_hashidx = (hashidx); \
93 TAILQ_INSERT_HEAD(&ipflowtable[(hashidx)], (ipf), ipf_hash); \
94 TAILQ_INSERT_HEAD(&ipflowlist, (ipf), ipf_list); \
97 #define IPFLOW_REMOVE(hashidx, ipf) \ argument
99 TAILQ_REMOVE(&ipflowtable[(hashidx)], (ipf), ipf_hash); \
100 TAILQ_REMOVE(&ipflowlist, (ipf), ipf_list); \
134 struct ipflow *ipf; in ipflow_lookup() local
140 TAILQ_FOREACH(ipf, &ipflowtable[hash], ipf_hash) { in ipflow_lookup()
141 if (ip->ip_dst.s_addr == ipf->ipf_dst.s_addr in ipflow_lookup()
[all …]
Dfiles.ipfilter25 file external/bsd/ipf/netinet/fil.c ipfilter
26 file external/bsd/ipf/netinet/ip_auth.c ipfilter
27 file external/bsd/ipf/netinet/ip_dstlist.c ipfilter
28 file external/bsd/ipf/netinet/ip_fil_netbsd.c ipfilter needs-flag
29 file external/bsd/ipf/netinet/ip_frag.c ipfilter
30 file external/bsd/ipf/netinet/ip_htable.c ipfilter
31 file external/bsd/ipf/netinet/ip_log.c ipfilter & ipfilter_log
32 file external/bsd/ipf/netinet/ip_lookup.c ipfilter
33 file external/bsd/ipf/netinet/ip_nat.c ipfilter
34 file external/bsd/ipf/netinet/ip_nat6.c ipfilter
[all …]
/netbsd/src/tests/ipf/regress/
DMakefile3 TESTSDIR= ${TESTSBASE}/ipf
29 f28.ipf \
31 f29.ipf \
135 ni1.ipf \
137 ni10.ipf \
139 ni11.ipf \
141 ni12.ipf \
143 ni13.ipf \
145 ni14.ipf \
147 ni15.ipf \
[all …]
Dip13 table role = ipf type = tree number = 1
5 table role = ipf type = tree number = 100
14 table role = ipf type = hash number = 2
16 table role = ipf type = hash number = 200
25 table role = ipf type = hash number = 240 seed = 101
34 table role = ipf type = hash number = 2000 size = 1001
43 table role = ipf type = hash number = 100 size = 1001 seed = 101
52 group-map in role = ipf number = 300 group = 303
61 group-map out role = ipf number = 400 group = 303
70 group-map in role = ipf number = 500
Dip31 pool ipf/dstlist (name fred; policy round-robin;)
3 pool ipf/dstlist (name jack; policy weighted connection;)
5 pool ipf/dstlist (name jill; policy random;)
Dp3.pool1 group-map in role = ipf number = 1010
3 group-map out role = ipf number = 2010 group = 2020
/netbsd/src/etc/rc.d/
Dipfilter27 if [ ! -f /etc/ipf.conf ] && [ ! -f /etc/ipf6.conf ]; then
39 /sbin/ipf ${rc_flags} -E
43 if [ -f /etc/ipf.conf ]; then
44 /sbin/ipf -Fa
47 /sbin/ipf -6 -Fa
52 if [ -f /etc/ipf.conf ]; then
53 /sbin/ipf -f /etc/ipf.conf
56 /sbin/ipf -6 -f /etc/ipf6.conf
63 /sbin/ipf -D
72 if [ -f /etc/ipf.conf ]; then
[all …]
Dipfs20 if [ -r /var/db/ipf/ipstate.ipf ] && [ -r /var/db/ipf/ipnat.ipf ]
23 rm -f /var/db/ipf/ipstate.ipf /var/db/ipf/ipnat.ipf
29 if ! [ -d /var/db/ipf ]; then
30 mkdir /var/db/ipf
31 chmod 700 /var/db/ipf
32 chown root:wheel /var/db/ipf
/netbsd/src/tests/ipf/
Dt_filter_parse.sh38 ipf)
39 atf_check -o file:exp -e ignore ipf -Rnvf reg
86 test_case i1 itest text ipf
87 test_case i2 itest text ipf
88 test_case i3 itest text ipf
89 test_case i4 itest text ipf
90 test_case i5 itest text ipf
91 test_case i6 itest text ipf
92 test_case i7 itest text ipf
93 test_case i8 itest text ipf
[all …]
Dt_pools.sh49 cp $(atf_get_srcdir)/regress/$1.ipf ipf
56 atf_check -o save:out ipftest -RD -b -P pool -r ipf -i in
59 atf_check -o save:out ipftest -RD -b -r ipf -i in
Dt_bpf.sh38 ipf)
39 atf_check -o file:exp -e ignore ipf -Rnvf reg
61 broken_test_case bpf1 itest text ipf
/netbsd/src/external/bsd/ipf/bin/ipf/
DMakefile5 PROG= ipf
6 SRCS= ipf.c ipfcomp.c ipf_y.c ipf_l.c
7 MAN= ipf.8 ipf.4 ipf.5 ipl.4
8 MLINKS= ipl.4 ipfilter.4 ipf.5 ipf.conf.5 ipf.5 ipf6.conf.5
/netbsd/src/tests/ipf/expected/
Dip11 table role=ipf type=tree number=1
3 table role=ipf type=tree number=100
11 table role=ipf type=hash number=2 size=1
13 table role=ipf type=hash number=200 size=5
21 table role=ipf type=hash number=240 size=5 seed=101
29 table role=ipf type=hash number=2000 size=1001
37 table role=ipf type=hash number=100 size=1001 seed=101
45 group-map in role=ipf number=300 size=5
53 group-map out role=ipf number=400 size=5
61 group-map in role=ipf number=500 size=5
Dip31 pool ipf/dstlist (name fred; policy round-robin;)
3 pool ipf/dstlist (name jack; policy weighting connection;)
5 pool ipf/dstlist (name jill; policy random;)
Dl12 missed 1 ipf log entries: 0 1
20 missed 1 ipf log entries: 0 1
27 missed 1 ipf log entries: 0 1
35 missed 1 ipf log entries: 0 1
38 missed 1 ipf log entries: 0 1
Dl1.b1 missed 1 ipf log entries: 0 1
16 missed 1 ipf log entries: 0 1
25 missed 1 ipf log entries: 0 1
32 missed 1 ipf log entries: 0 1
35 missed 1 ipf log entries: 0 1
/netbsd/src/external/bsd/ipf/dist/tools/
Dipmon.c1043 ipflog_t ipf; in print_ipflog() local
1069 memcpy(&ipf, (const char *)buf + sizeof(*ipl), sizeof(ipf)); in print_ipflog()
1070 pac = (const char *)buf + sizeof(*ipl) + sizeof(ipf); in print_ipflog()
1072 f = ipf.fl_family; in print_ipflog()
1098 char ifname[sizeof(ipf.fl_ifname) + 1]; in print_ipflog()
1100 strncpy(ifname, ipf.fl_ifname, sizeof(ifname)-1); in print_ipflog()
1101 ifname[sizeof(ipf.fl_ifname)] = '\0'; in print_ipflog()
1112 sprintf(t, "%d", ipf.fl_unit); in print_ipflog()
1119 if (ipf.fl_ifname[len] == '\0') in print_ipflog()
1121 if (ipf.fl_ifname[len]) in print_ipflog()
[all …]
Dipfcomp.c456 fripf_t *ipf; local
555 ipf = fr->fr_ipf;
596 if (ipf != NULL && ipf->fri_mip.fi_v != 0)
600 if (ipf != NULL && ipf->fri_mip.fi_flx != 0)
604 if (ipf != NULL && ipf->fri_mip.fi_p != 0)
608 if (ipf != NULL && ipf->fri_mip.fi_ttl != 0)
612 if (ipf != NULL && ipf->fri_mip.fi_tos != 0)
616 if (ipf == NULL)
618 if ((ipf->fri_ip.fi_p == IPPROTO_TCP) &&
623 if (ipf == NULL)
[all …]
Dipmon_y.y441 ipflog_t *ipf; local
450 ipf = (ipflog_t *)(ipl +1);
451 ip = (ip_t *)(ipf + 1);
465 if ((ipf->fl_flags & FR_INQUE) == 0) {
470 if ((ipf->fl_flags & FR_OUTQUE) == 0) {
531 if (strncmp(a->ac_group, ipf->fl_group,
539 if (strcmp(a->ac_iface, ipf->fl_ifname)) {
553 if ((ipf->fl_flags & FF_LOGNOMATCH) != 0) {
558 } else if (FR_ISPASS(ipf->fl_flags)) {
563 } else if (FR_ISBLOCK(ipf->fl_flags)) {
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dipa-sra.cc503 isra_param_flow *ipf = &m_arg_flow[i]; in dump() local
505 if (ipf->length) in dump()
509 for (int j = 0; j < ipf->length; j++) in dump()
515 fprintf (f, "%i", (int) ipf->inputs[j]); in dump()
519 if (ipf->aggregate_pass_through) in dump()
522 ipf->unit_offset, ipf->unit_size); in dump()
523 if (ipf->pointer_pass_through) in dump()
525 "safe_to_import_accesses: %u\n", ipf->safe_to_import_accesses); in dump()
2537 isra_param_flow *ipf = &csum->m_arg_flow[i]; in isra_write_edge_summary() local
2538 streamer_write_hwi (ob, ipf->length); in isra_write_edge_summary()
[all …]
/netbsd/src/distrib/sets/lists/tests/
Dmi59 ./usr/libdata/debug/usr/tests/ipf tests-ipf-tests compattes…
1760 ./usr/tests/ipf tests-ipf-tests …
1761 ./usr/tests/ipf/Atffile tests-ipf-tests …
1762 ./usr/tests/ipf/Kyuafile tests-ipf-tests compattes…
1763 ./usr/tests/ipf/expected tests-ipf-tests compattes…
1764 ./usr/tests/ipf/expected/bpf-f1 tests-ipf-tests …
1765 ./usr/tests/ipf/expected/bpf1 tests-ipf-tests compattes…
1766 ./usr/tests/ipf/expected/f1 tests-ipf-tests compattes…
1767 ./usr/tests/ipf/expected/f10 tests-ipf-tests compattes…
1768 ./usr/tests/ipf/expected/f11 tests-ipf-tests compattes…
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/cc/cxxcom/
Dinline.c401 struct interpass *ip, *ipf, *ipl; in inlinetree() local
446 ipf = DLIST_NEXT(&is->shead, qelem); /* prolog */ in inlinetree()
452 lmin = crslab - IPP(ipf)->ip_lblnum; in inlinetree()
453 crslab += (IPP(ipl)->ip_lblnum - IPP(ipf)->ip_lblnum) + 1; in inlinetree()
454 toff = tvaloff - IPP(ipf)->ip_tmpnum; in inlinetree()
455 tvaloff += (IPP(ipl)->ip_tmpnum - IPP(ipf)->ip_tmpnum) + 1; in inlinetree()
460 ipf = DLIST_NEXT(ipf, qelem); in inlinetree()
462 ipf = DLIST_NEXT(ipf, qelem); in inlinetree()
463 while (ipf->type != IP_DEFLAB); in inlinetree()
471 for (ip = ipf; ip != ipl; ip = DLIST_NEXT(ip, qelem)) { in inlinetree()
/netbsd/src/external/bsd/ipf/dist/
DWhatsNew40.txt7 - Run-time support for modifying ipf table size parameters.
33 - BPF syntax available for matching packets in ipf rules (1).
34 - Can convert IPv4 ipf rules into C code and either:
41 - NAT/ipf rules can refer to each other via a tag, creating an implied
50 - PPS (packets per second) matching available for ipf rules.
51 - Rule collections (cf FreeBSD numbering) supported for ipf rules.
61 - Can append arbitrary logging tags with ipf rules for easy matching.
/netbsd/src/external/bsd/ipf/dist/man/
DMakefile12 $(INSTALL) -m 0644 -c -o root -g bin ipf.4 $(MANDIR)/man4
16 $(INSTALL) -m 0644 -c -o root -g bin ipf.5 $(MANDIR)/man5
19 $(INSTALL) -m 0644 -c -o root -g bin ipf.8 $(MANDIR)/man8
/netbsd/src/sys/external/bsd/ipf/netinet/
Dip_frag.c799 ipfr_t *ipf; in ipf_frag_natknown() local
804 ipf = ipf_frag_lookup(softc, softf, fin, softf->ipfr_nattab, in ipf_frag_natknown()
807 ipf = ipf_frag_lookup(softc, softf, fin, softf->ipfr_nattab); in ipf_frag_natknown()
809 if (ipf != NULL) { in ipf_frag_natknown()
810 nat = ipf->ipfr_data; in ipf_frag_natknown()
814 if ((ipf->ipfr_ttl == softc->ipf_ticks + 1) && (nat != NULL)) { in ipf_frag_natknown()
816 ipf->ipfr_data = NULL; in ipf_frag_natknown()
838 ipfr_t *ipf; in ipf_frag_ipidknown() local
845 ipf = ipf_frag_lookup(softc, softf, fin, softf->ipfr_ipidtab, in ipf_frag_ipidknown()
848 ipf = ipf_frag_lookup(softc, softf, fin, softf->ipfr_ipidtab); in ipf_frag_ipidknown()
[all …]

1234