David E. O'Brien
152385d122
Explicitly declare 'int' parameters.
2003-04-21 16:27:46 +00:00
Jonathan Lemon
1cafed3941
Update netisr handling; Each SWI now registers its queue, and all queue
...
drain routines are done by swi_net, which allows for better queue control
at some future point. Packets may also be directly dispatched to a netisr
instead of queued, this may be of interest at some installations, but
currently defaults to off.
Reviewed by: hsu, silby, jayanth, sam
Sponsored by: DARPA, NAI Labs
2003-03-04 23:19:55 +00:00
Poul-Henning Kamp
7ac40f5f59
Gigacommit to improve device-driver source compatibility between
...
branches:
Initialize struct cdevsw using C99 sparse initializtion and remove
all initializations to default values.
This patch is automatically generated and has been tested by compiling
LINT with all the fields in struct cdevsw in reverse order on alpha,
sparc64 and i386.
Approved by: re(scottl)
2003-03-03 12:15:54 +00:00
Warner Losh
a163d034fa
Back out M_* changes, per decision of the TRB.
...
Approved by: trb
2003-02-19 05:47:46 +00:00
Darren Reed
7ae7a6c4f7
fix bug in updating of interface pointers when resyncing state
2003-02-15 06:47:27 +00:00
Darren Reed
aeb497128e
Commit import changed from vendor branch of ipfilter to -current head
2003-02-15 06:25:25 +00:00
Darren Reed
32c7da78f7
Commit import changed from vendor branch of ipfilter to -current head
2003-02-15 06:23:45 +00:00
Darren Reed
d2c988ba46
sometimes i hate it when you leave temp files in a directory you import from
2003-02-15 06:21:14 +00:00
Darren Reed
8732fffb9b
This commit was generated by cvs2svn to compensate for changes in r110911,
...
which included commits to RCS files with non-trunk default branches.
2003-02-15 06:18:25 +00:00
Darren Reed
46e22717ef
Import IPFilter 3.4.31 into -current
2003-02-15 06:18:25 +00:00
Alfred Perlstein
8deebb0160
Consolidate MIN/MAX macros into one place (param.h).
...
Submitted by: Hiten Pandya <hiten@unixdaemons.com>
2003-02-02 13:17:30 +00:00
Alfred Perlstein
44956c9863
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
...
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
2003-01-21 08:56:16 +00:00
Jeffrey Hsu
b30a244c34
SMP locking for ifnet list.
2002-12-22 05:35:03 +00:00
Sam Leffler
5d84645305
Replace aux mbufs with packet tags:
...
o instead of a list of mbufs use a list of m_tag structures a la openbsd
o for netgraph et. al. extend the stock openbsd m_tag to include a 32-bit
ABI/module number cookie
o for openbsd compatibility define a well-known cookie MTAG_ABI_COMPAT and
use this in defining openbsd-compatible m_tag_find and m_tag_get routines
o rewrite KAME use of aux mbufs in terms of packet tags
o eliminate the most heavily used aux mbufs by adding an additional struct
inpcb parameter to ip_output and ip6_output to allow the IPsec code to
locate the security policy to apply to outbound packets
o bump __FreeBSD_version so code can be conditionalized
o fixup ipfilter's call to ip_output based on __FreeBSD_version
Reviewed by: julian, luigi (silent), -arch, -net, darren
Approved by: julian, silence from everyone else
Obtained from: openbsd (mostly)
MFC after: 1 month
2002-10-16 01:54:46 +00:00
Darren Reed
ecae20848a
Finally merge in the changes from ipfilter 3.4.29 to freebsd-current.
...
Main changes here are related to the ftp proxy and making that work better.
2002-08-28 13:41:36 +00:00
Darren Reed
4ba500330a
Import IPfilter 3.4.29. Main purpose is to address ftp proxy problems.
2002-08-28 13:26:02 +00:00
Darren Reed
39cf61414c
Import IPfilter 3.4.29. Main purpose is to address ftp proxy problems.
2002-08-28 13:26:01 +00:00
Archie Cobbs
7d151849d0
Don't use "NULL" when "0" is really meant.
...
But in this case, "-1" is really meant.
Reviewed by: darrenr
2002-08-23 20:07:19 +00:00
Darren Reed
aafab58b58
Import IPFilter 3.4.28
2002-06-07 08:58:22 +00:00
Darren Reed
fde76f025d
Commit changes that happened in IPFilter versions 3.4.27 - 3.4.28
2002-06-07 08:56:30 +00:00
Darren Reed
7df187a3ad
Merge updates from 3.4.26 - 3.4.27.
2002-04-27 16:56:25 +00:00
Darren Reed
635ff71d68
Import version 3.4.27
2002-04-27 16:52:49 +00:00
Darren Reed
37d55dca34
bring in changes from 3.4.26.
2002-04-25 03:31:39 +00:00
Darren Reed
43ba65e60d
Import IPFilter 3.4.26 kernel sources, including H.323 proxy.
...
Include the licence file for both IPFilter and the H.323 proxy (from QNX),
for convienence.
2002-04-25 03:23:53 +00:00
Darren Reed
39252e7612
This commit was generated by cvs2svn to compensate for changes in r95415,
...
which included commits to RCS files with non-trunk default branches.
2002-04-25 03:23:53 +00:00
Darren Reed
13114a18ac
Import IPFilter 3.4.26 kernel sources, including H.323 proxy.
...
Include the licence file for both IPFilter and the H.323 proxy (from QNX),
for convienence.
2002-04-25 03:23:52 +00:00
Ruslan Ermilov
f791219e02
We don't need ip_ipsec_pxy.c in userland.
2002-03-26 13:42:09 +00:00
Darren Reed
40c407243f
do not include the missing ip_h323_pxy.c
2002-03-19 15:14:18 +00:00
Darren Reed
b38f3fb061
fix conflicts (mostly damn rcs id's) generated by import
2002-03-19 11:44:16 +00:00
Darren Reed
b90bc1632d
This file is being removed pending the all clear on its licence by someone
...
else.
2002-03-19 11:42:12 +00:00
Darren Reed
76531d9f8d
Import IPFilter 3.4.25 (last version 3.4.20)
2002-03-19 11:30:23 +00:00
Darren Reed
f72fae2740
This commit was generated by cvs2svn to compensate for changes in r92680,
...
which included commits to RCS files with non-trunk default branches.
2002-03-19 11:30:21 +00:00
Darren Reed
28613e5584
Import IPFilter 3.4.25 (last version 3.4.20)
2002-03-19 11:30:21 +00:00
Mike Barcroft
27aba6a42a
Change two occurrences of HTONS() to use htons().
2002-02-28 09:56:31 +00:00
Peter Wemm
b4925b6514
Fix warning (unused variable)
...
Submitted by: LINT, -Werror
2002-02-27 23:32:45 +00:00
Alfred Perlstein
20125be8b1
Backout inclusion of queue.h since rev 1.38 sys/file.h now has it
...
included in the right order.
2002-01-14 09:07:15 +00:00
Alfred Perlstein
9e209b124a
Include sys/_lock.h and sys/_mutex.h to reduce namespace pollution.
...
Requested by: jhb
2002-01-13 21:37:49 +00:00
Darren Reed
13a14b9aa9
Import this patch to address user concerns.
...
PR: 27615
Submitted by: Andria Thomas <andria@tovaris.com>
Approved by: Me.
MFC after: 7 days
2002-01-04 12:32:34 +00:00
Guido van Rooij
9a0ad4c91a
Fix initialisation of struct nat entry, to solve a panic that occurs
...
when reloading a nat table after reboot
Submitted by: Arjan de Vet <devet@devet.org>
Reviewed by: IP Filter mailing list
MFC after: 3 days
2001-12-05 10:46:24 +00:00
Darren Reed
c0c3937c8f
IPFilter munges multicast address packets on the loopback interface.
...
Submitted by: Frank Zolf
Approved by: jkh
MFC after: 0
2001-09-12 22:06:36 +00:00
cvs2svn
fb1ae013ab
This commit was manufactured by cvs2svn to create branch
...
'VENDOR-sys-ipfilter'.
2001-09-12 22:00:04 +00:00
Darren Reed
5a014fea7e
Add IPFLITER.LICENCE to the kernel (requested by rwatson)
2001-09-12 22:00:03 +00:00
Julian Elischer
b40ce4165d
KSE Milestone 2
...
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org , dillon@freebsd.org
X-MFC after: ha ha ha ha
2001-09-12 08:38:13 +00:00
Darren Reed
31f3bf83f6
fix import/merge related code problems
2001-07-30 10:53:23 +00:00
Darren Reed
354699e12f
fix conflicts created by import
2001-07-28 11:58:26 +00:00
Darren Reed
49ca018991
Import version 3.4.20 of IPFilter
2001-07-28 11:42:17 +00:00
Jonathan Lemon
0a52f59c36
Move IPFilter into contrib.
2001-06-07 05:13:35 +00:00
Darren Reed
d42c04169e
Update IP Filter kernel source
2001-02-04 14:15:48 +00:00