opnsense-src/sys
David Greenman 3579d8917b Patch from dcjm@cs.ed.ac.uk (Dave Matthews)...
Yes, I know that IFADDR ioctl is supposed to be deprecated... Note
that the patch was modified by me to fit better into the driver. -DG

...

While porting CAP to 386bsd/pk0.2.4 and now to FreeBSD Release 1.0
I found a couple of bugs associated with the packet filter. Here
are the fixes.  I'm posting them here because they apply to
FreeBSD and 386bsd/pk0.2.4 and possibly to other *BSD.

The first occurs when using the packet filter to write raw
ethernet packets.  The header consisting of the sender and
destination addresses and the protocol is removed and later
added back on, but with the byte order of the protocol reversed.
The fix ensures that the byte order in the protocol field is
swapped when it is removed.

The second fix ensures that SIOCGIFADDR works for BPF as claimed
in the man pages, by adding it to the ed driver.  Similar fixes
will be needed for other ethernet drivers.
Dave Matthews.
1994-01-31 07:34:20 +00:00
..
alpha/include Put back the $Id$ string 1993-10-28 06:11:38 +00:00
amd64 Make I/O memory explicitly non-cacheable. This is purely an asthetic 1994-01-31 04:39:37 +00:00
conf Remove commented out PROCFS, it is standard. 1994-01-29 21:41:36 +00:00
ddb "New" VM system from John Dyson & myself. For a run-down of the 1994-01-14 16:25:31 +00:00
dev Patch from dcjm@cs.ed.ac.uk (Dave Matthews)... 1994-01-31 07:34:20 +00:00
i386 Patch from dcjm@cs.ed.ac.uk (Dave Matthews)... 1994-01-31 07:34:20 +00:00
isa Patch from Brian Smith (modified a little by me) to allow kernel config 1994-01-31 06:12:18 +00:00
kern Remove confusing and incorrect comment inherited from patchkit days. 1994-01-26 20:42:18 +00:00
powerpc/include adding libc/quad: 1993-12-19 05:14:46 +00:00
scsi Fixed bug in dump code that caused the wrong physical page to be dumped. 1994-01-29 11:17:10 +00:00
sys Patch from Julian. Commit message by me. 1994-01-29 10:31:20 +00:00