HEADS-UP: network interface modules need recompile

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Mon, 30 Aug 2004 00:19:55 -0700
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_at_FreeBSD.org> -----

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Mon, 30 Aug 2004 06:29:26 +0000 (UTC)
To: src-committers_at_FreeBSD.org, cvs-src_at_FreeBSD.org, cvs-all_at_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

Received on Mon Aug 30 2004 - 05:17:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC