Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2004 00:19:55 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        current@freebsd.org
Subject:   HEADS-UP: network interface modules need recompile
Message-ID:  <20040830071955.GC28061@odin.ac.hmc.edu>

index | next in thread | raw e-mail

[-- Attachment #1 --]
With the following change, all network interface modules as well as most
applcations that monitor network interface statistics will need to be
recompiled since struct if_data has grown.

-- Brooks

----- Forwarded message from Brooks Davis <brooks@FreeBSD.org> -----

From: Brooks Davis <brooks@FreeBSD.org>
Date: Mon, 30 Aug 2004 06:29:26 +0000 (UTC)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
X-Virus-Status: No
Subject: cvs commit: src UPDATING src/sys/sys param.h src/sys/net if.c if.h

brooks      2004-08-30 06:29:26 UTC

  FreeBSD src repository

  Modified files:
    .                    UPDATING 
    sys/sys              param.h 
    sys/net              if.c if.h 
  Log:
  Add a new variable, ifi_epoch, to struct if_data.  It is set to the last
  time the interface counters were zeroed, currently the time if_attach()
  was called.  It is indentended to be a valid value for RFC2233's
  ifCounterDiscontinuityTime and to make it easier for applications to
  verify that the interface they find at a given index is the one that was
  there last time they looked.
  
  An if_epoch "compatability" macro has not been created as ifi_epoch has
  never been a member of struct ifnet.
  
  Approved by:    andre, bms, wollman
  
  Revision  Changes    Path
  1.352     +5 -0      src/UPDATING
  1.201     +1 -0      src/sys/net/if.c
  1.89      +1 -0      src/sys/net/if.h
  1.214     +1 -1      src/sys/sys/param.h

----- End forwarded message -----
-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBMtUaXY6L6fI4GtQRAipfAKDn6OR0bMWf6kOvDjxjbJDAet+fiwCcD+3y
ahyVpGwtmsjf8FojjlFno9s=
=KgQ/
-----END PGP SIGNATURE-----
help

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