freebsd-skq/sys
luigi 320493f9eb Add code to match MAC header fields (at the moment supported on
bridged packets only, soon to come also for packets on ordinary
ether_input() and ether_output() paths. The syntax is

    ipfw add <action> MAC dst src type

where dst and src can be "any" or a MAC address optionallyfollowed
by a mask, e.g.

	10:20:30:40:50
	10:20:30:40:50/32
	10:20:30:40:50&ff:ff:ff:f0:ff:0f

and type can be a single ethernet type, a range, or a type followed by
a mask (values are always in hexadecimal) e.g.

	0800
	0800-0806
	0800/8
	0800&03ff

Note, I am still uncertain on what is the best format for inputting
these values, having the values in hexadecimal is convenient in most
cases but can be confusing sometimes. Suggestions welcome.

Implement suggestion from PR 37778 to allow "not me" on destination
and source IP. The code in the PR was slightly wrong and interfered
with the normal handling of IP addresses. This version hopefully is
correct.

Minor cleanup of the code, in some places moving the indentation to 4
spaces because the code was becoming too deep. Eventually, in a
separate commit, I will move the whole file to 4 space indent.
2002-05-12 20:43:50 +00:00
..
alpha Restore the ability to take crashdumps on alpha. This was cut and pasted 2002-05-11 21:53:46 +00:00
amd64 Gcc 3.1 varargs support. 2002-05-10 02:02:54 +00:00
arm Sync with the other platforms. 2002-05-10 02:20:33 +00:00
boot Saved 176 bytes by compiling with -fno-guess-branch-probability. The 2002-05-12 15:45:28 +00:00
cam
coda
compat sysctl -w -> sysctl 2002-05-11 06:06:11 +00:00
conf Translated -malign-functions=4 to -falign-functions=16 for the new gcc. 2002-05-12 15:51:38 +00:00
contrib Merge updates from 3.4.26 - 3.4.27. 2002-04-27 16:56:25 +00:00
crypto
ddb Reconnect db_elf.c to the build (now under "options DDB_NOKLDSYM"). It 2002-05-07 10:59:52 +00:00
dev Hide the fd autoselection messages behind the bootverbose case so they 2002-05-12 17:17:46 +00:00
fs Fix several bugs in devfs_lookupx(). When we check the nameiop to 2002-05-10 15:41:14 +00:00
geom Fix a {} bug which doesn't have any effect yet. 2002-04-27 07:07:37 +00:00
gnu ARGH! SBLOCK is not unused. Try to get this right. 2002-05-12 20:21:40 +00:00
i4b Fix a problem which could cause some machines to hang after a warm boot. 2002-05-10 12:04:04 +00:00
i386 I reorganized a little bit too much in the backwards case. 2002-05-10 03:24:06 +00:00
ia64 o Rename ia64_count_aps to ia64_count_cpus and reimplement the 2002-05-12 05:54:21 +00:00
isa Hide the fd autoselection messages behind the bootverbose case so they 2002-05-12 17:17:46 +00:00
isofs/cd9660 Include systm.h for panic(9) so that DEBUG_ALL_VFS_LOCKS compiles. 2002-05-04 02:37:00 +00:00
kern Fix alpha build. The alpha has dumpsys implemented. 2002-05-12 18:27:28 +00:00
libkern Remove bogus include of <machine/ansi.h>. 2002-04-11 06:53:40 +00:00
modules Zap KMODDEPS entries so that people do not wonder why it isn't working on 2002-05-01 01:34:48 +00:00
net Fix logic inversion bug. 2002-05-11 06:27:24 +00:00
netatalk Revert the change of #includes in sys/filedesc.h and sys/socketvar.h. 2002-04-30 01:54:54 +00:00
netatm - Remove the init routine for loop -- it broke something and I don't have 2002-05-07 20:50:10 +00:00
netgraph Don't send packets out an interface unless it is IFF_UP|IFF_RUNNING. 2002-05-09 20:19:00 +00:00
netinet Add code to match MAC header fields (at the moment supported on 2002-05-12 20:43:50 +00:00
netinet6 Recent zlib does not like Z_FLUSH at the end of inflate(). 2002-05-12 14:12:30 +00:00
netipx Revert the change of #includes in sys/filedesc.h and sys/socketvar.h. 2002-04-30 01:54:54 +00:00
netkey Redo the sigio locking. 2002-05-01 20:44:46 +00:00
netnatm Revert the change of #includes in sys/filedesc.h and sys/socketvar.h. 2002-04-30 01:54:54 +00:00
netncp
netns
netsmb Revert the change of #includes in sys/filedesc.h and sys/socketvar.h. 2002-04-30 01:54:54 +00:00
nfs
nfsclient We don't need the arp kludge any more. 2002-04-28 18:29:44 +00:00
nfsserver
pc98 Typo fix: detects -> detect. 2002-05-03 17:59:25 +00:00
pccard
pci Add support for the D-Link DFE-690TXD Cardbus card which has a RealTek 8139 2002-05-06 13:43:00 +00:00
posix4
powerpc More locking fixes. 2002-05-12 13:43:21 +00:00
rpc
security/lomac
sparc64 Enable KTR_TRAP by default. 2002-05-12 18:10:48 +00:00
sys ARGH! SBLOCK is not unused. Try to get this right. 2002-05-12 20:21:40 +00:00
tools include systm.h in vnode_if.c so that panic is defined when we're doing 2002-05-04 02:35:13 +00:00
ufs ARGH! SBLOCK is not unused. Try to get this right. 2002-05-12 20:21:40 +00:00
vm o Remove GIANT_REQUIRED and an excessive number of blank lines 2002-05-12 18:42:05 +00:00
Makefile Milestone #1 in cross-arch make releases. 2002-04-26 17:55:27 +00:00