Home | History | Annotate | Download | only in net
History log of /src/sys/dist/pf/net/pfvar.h
RevisionDateAuthorComments
 1.23  05-Mar-2020  riastradh Need opt_inet.h for #ifdef INET, INET6.
 1.22  05-Jun-2014  rmind branches: 1.22.28; 1.22.32;
- Implement pktqueue interface for lockless IP input queue.
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to push softnet_lock out of ipintr().

Discussed on tech-net.
 1.21  20-Oct-2013  christos branches: 1.21.2;
fix compiler warnings
 1.20  11-Jan-2012  drochner branches: 1.20.6; 1.20.10;
protect "union sockaddr_union" from being defined twice by a CPP symbol
(copied from FreeBSD), allows coexistence of (FAST_)IPSEC and pf
 1.19  07-May-2010  degroote branches: 1.19.8; 1.19.12;
Add support for pfs(8)

pfs(8) is a tool similar to ipfs(8) but for pf(4). It allows the admin to
dump internal configuration of pf, and restore at a latter point, after a
maintenance reboot for example, in a transparent way for user.

This work has been done mostly during my GSoC 2009

No objections on tech-net@
 1.18  12-Apr-2010  ahoka - Make the pf and pflog driver able to detach.
- Add code for module support.

Original patch from Jared McNeill
 1.17  28-Jul-2009  minskim branches: 1.17.2; 1.17.4;
Remove LKM code from pf.
 1.16  18-Jun-2008  yamt merge yamt-pf42 branch.
(import newer pf from OpenBSD 4.2)

ok'ed by peter@. requested by core@
 1.15  07-Aug-2007  yamt branches: 1.15.22; 1.15.24; 1.15.26; 1.15.28; 1.15.30;
reduce diff.
 1.14  04-Mar-2007  christos branches: 1.14.2; 1.14.10; 1.14.14;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.13  04-Dec-2006  dyoung branches: 1.13.2;
Lightly constify. Helps compile-time checking that we are not
scribbling over shared or read-only memory---e.g., in mbufs.
 1.12  07-Jun-2006  kardel branches: 1.12.6; 1.12.8;
merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
 1.11  17-Jan-2006  peter branches: 1.11.2; 1.11.4; 1.11.6; 1.11.10; 1.11.12;
Include netinet/in.h, for compatibility with OpenBSD (we #ifdef'ed out a
header which includes netinet/in.h on OpenBSD).

Pointed out by Thomas E. Spanjaard.
No objection from yamt@.
 1.10  11-Dec-2005  christos branches: 1.10.2;
merge ktrace-lwp.
 1.9  01-Jul-2005  peter branches: 1.9.2;
Resolve conflicts (pf from OpenBSD 3.7, kernel part).
 1.8  04-Dec-2004  peter Don't put the hook definitions into #ifdef _KERNEL.

(needed to compile pf programs because of the previous change)
 1.7  04-Dec-2004  yamt plug pfik_ifaddrhooks leaks by embedding it to pfi_kif.
 1.6  14-Nov-2004  yamt resolve conflicts. (pf from OpenBSD 3.6, kernel part)
 1.5  28-Sep-2004  dyoung "RB_PROTOTYPE();" does not lint because you end up with two
consecutive semicolons, so let's use RB_PROTOTYPE() alone.
 1.4  27-Jul-2004  yamt branches: 1.4.2;
- rename PFIL_NEWIF to PFIL_IFNET, and handle interface detach events
as well.
- use it for pf(4).

mostly from Peter Postma. PR/26403.
 1.3  29-Jun-2004  itojun make PF lkm working. from Peter Postma and Joel Wilsson.

remove pf_ioctl_head/pf_newif_head, which was never used.
 1.2  22-Jun-2004  itojun PF from openbsd 3.5. missing features:
- pfsync (due to protocol # assignment issues)
- carp (not really a PF portion, but thought important to mention)
- PF and ALTQ are mutually-exclusive. this will be sorted out when
kjc@csl.sony.co.jp updates ALTQ and PF (and API inbetween)

reviewed by matt, christos, perry

torture-test is very welcomed.
 1.1  22-Jun-2004  itojun branches: 1.1.1;
Initial revision
 1.1.1.4  01-Dec-2009  martti Import PF from OpenBSD 4.2
 1.1.1.3  01-Jul-2005  peter Import pf from OpenBSD 3.7 (kernel part).
 1.1.1.2  14-Nov-2004  yamt import pf from OpenBSD 3.6. (kernel part)
 1.1.1.1  22-Jun-2004  itojun PF from OpenBSD 3.5
 1.4.2.8  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.2.7  18-Dec-2004  skrll Sync with HEAD.
 1.4.2.6  29-Nov-2004  skrll Sync with HEAD.
 1.4.2.5  19-Oct-2004  skrll Sync with HEAD
 1.4.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.4.2.2  03-Aug-2004  skrll Sync with HEAD
 1.4.2.1  27-Jul-2004  skrll file pfvar.h was added on branch ktrace-lwp on 2004-08-03 10:52:23 +0000
 1.9.2.3  03-Sep-2007  yamt sync with head.
 1.9.2.2  30-Dec-2006  yamt sync with head.
 1.9.2.1  21-Jun-2006  yamt sync with head.
 1.10.2.1  01-Feb-2006  yamt sync with head.
 1.11.12.1  19-Jun-2006  chap Sync with head.
 1.11.10.1  25-Sep-2006  peter sync with head.
 1.11.6.1  26-Jun-2006  yamt sync with head.
 1.11.4.1  04-Feb-2006  simonb NetBSD has getmicrouptime() now.
 1.11.2.1  09-Sep-2006  rpaulo sync with head
 1.12.8.1  10-Dec-2006  yamt sync with head.
 1.12.6.1  12-Jan-2007  ad Sync with head.
 1.13.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.14.14.1  09-Aug-2007  jmcneill Sync with HEAD.
 1.14.10.1  15-Aug-2007  skrll Sync with HEAD.
 1.14.2.1  20-Aug-2007  ad Sync with HEAD.
 1.15.30.1  18-Jun-2008  simonb Sync with head.
 1.15.28.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.15.26.3  11-Aug-2010  yamt sync with head.
 1.15.26.2  19-Aug-2009  yamt sync with head.
 1.15.26.1  04-May-2009  yamt sync with head.
 1.15.24.1  19-Apr-2008  yamt Peter Postma's work-in-progress pf import from OpenBSD 4.2.
updated to -current by me.
 1.15.22.1  29-Jun-2008  mjf Sync with HEAD.
 1.17.4.1  30-May-2010  rmind sync with head
 1.17.2.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.17.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.19.12.1  18-Feb-2012  mrg merge to -current.
 1.19.8.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.19.8.1  17-Apr-2012  yamt sync with head
 1.20.10.1  18-May-2014  rmind sync with head
 1.20.6.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.21.2.1  10-Aug-2014  tls Rebase.
 1.22.32.1  19-Mar-2020  martin Pull up following revision(s) (requested by riastradh in ticket #787):

sys/altq/altq_flowvalve.h: revision 1.4
sys/net/zlib.h: revision 1.15
sys/dist/pf/net/pfvar.h: revision 1.23
sys/external/bsd/drm2/dist/include/drm/drmP.h: revision 1.38
sys/external/bsd/drm2/dist/drm/drm_drv.c: revision 1.13
sys/net/slcompress.h: revision 1.20

Need opt_inet.h for #ifdef INET, INET6.

Avoid duplicate definition of internal_state struct.

Avoid struct inode.

This is an fs-independent structure in Linux. We don't actually use
it as such; it's just a dummy struct tag. But we do have an actual
struct inode in ufs and in lfs, and using the same struct tag here
confuses ctf leading to four copies of pretty much every drm data
structure.
 1.22.28.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed