Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2002 16:55:06 -0700 (PDT)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net if_ethersubr.c
Message-ID:  <200208042355.g74Nt6lj046576@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2002/08/04 16:55:06 PDT

  Modified files:
    sys/net              if_ethersubr.c 
  Log:
  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
  
  Revision  Changes    Path
  1.116     +26 -12    src/sys/net/if_ethersubr.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208042355.g74Nt6lj046576>