freebsd-skq/sys/dev
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
..
ed Patch from dcjm@cs.ed.ac.uk (Dave Matthews)... 1994-01-31 07:34:20 +00:00
ep Whoops, syntax error where I forgot a parenthesis. 1994-01-26 20:18:56 +00:00
fdc Use separate fields for format GAP and read/write GAP. 1993-12-21 05:09:21 +00:00
ic Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00
ie Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and 1993-11-25 01:38:01 +00:00
kbd Add Ctrl-Altr-Esc DBG key to RUKEYMAP (russian keymap) 1994-01-24 05:22:27 +00:00
mcd Added the correct typecast's to the untimeout calls. Added a missing 1994-01-22 18:00:54 +00:00
mse Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, and 1993-11-25 01:38:01 +00:00
sio Patch from Brian Smith (modified a little by me) to allow kernel config 1994-01-31 06:12:18 +00:00
speaker Fix error with tsleep loop 1994-01-25 23:04:27 +00:00
syscons Changed the default 'reboot' routine from cpu_reset() to shutdown_nice(). 1994-01-18 05:33:34 +00:00