diff options
author | luigi <luigi@FreeBSD.org> | 2002-08-04 23:55:06 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2002-08-04 23:55:06 +0000 |
commit | a86f01c7176b2b4bc02ad8b92b300dec503849f2 (patch) | |
tree | a398d48b12396834afe00ee1a8595fee14457624 /lib/libc | |
parent | eab6aceed81b6fde781962b732f25806087a9cda (diff) | |
download | FreeBSD-src-a86f01c7176b2b4bc02ad8b92b300dec503849f2.zip FreeBSD-src-a86f01c7176b2b4bc02ad8b92b300dec503849f2.tar.gz |
Extend the interface to ether_input(): a NULL eh pointer means that
the mbuf contains the ethernet header (eh) as well, which ether_input()
will strip off as needed.
This permits the removal (in a backward compatible way) of the
header removal code which right now is replicated in all drivers,
sometimes in an inconsistent way. Also, because many functions
called after ether_input() require the eh in the mbuf, eventually
we can propagate the interface and handle outdated drivers just
in ether_input().
Individual driver changes to use the new interface will follow as
we have a chance to touch them.
NOTE THAT THIS CHANGE IS FULLY BACKWARD COMPATIBLE AND DOES NOT BREAK
BINARY COMPATIBILITY FOR DRIVERS.
MFC after: 3 days
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions