Re: proposed new if_data variable

From: Andre Oppermann (andre_at_freebsd.org)
Date: 08/27/04

  • Next message: Charles Swiger: "Re: proposed new if_data variable"
    Date: Fri, 27 Aug 2004 22:08:28 +0200
    To: Brooks Davis <brooks@one-eyed-alien.net>
    
    

    Brooks Davis wrote:
    >
    > I'd like to proposed adding a new variable, ifi_epoch, to struct
    > if_data. It will be set to the time the counters were zeroed,
    > currently, the time if_attach was called. The intent is to provide a
    > correct value for RFC2233's ifCounterDiscontinuityTime and to make it
    > easier for applications to verify that the interface they are looking at
    > is the same one that had this index last time.
    >
    > Since this will increase the size of struct if_data and thus struct
    > ifnet, the change needs to be made now if it's going to be made for
    > 5-STABLE. Any comments on this idea?

    I'm all for it! Very useful.

    -- 
    Andre
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Charles Swiger: "Re: proposed new if_data variable"

    Relevant Pages

    • [PATCH][2.6.7-mm5] perfctr low-level documentation
      ... Control data may be per-counter, global, or both. ... The counters are not assumed to be interchangeable. ... +"struct perfctr_sum_ctrs" ... +some low-level driver operations. ...
      (Linux-Kernel)
    • Re: [PATCH 1/4] x86_64: (SPARSE_VIRTUAL doubles sparsemem speed)
      ... performance counter before and after virt_to_page and page_address. ... This patch allows the use of simple performance counters to measure time ... struct pc pc; ... To mark the beginning of the time measurement do ...
      (Linux-Kernel)
    • proposed new if_data variable
      ... It will be set to the time the counters were zeroed, ... Since this will increase the size of struct if_data and thus struct ... the change needs to be made now if it's going to be made for ... From: Brooks Davis ...
      (freebsd-net)
    • Re: proposed new if_data variable
      ... > I'd like to proposed adding a new variable, ifi_epoch, to struct ... It will be set to the time the counters were zeroed, ... > easier for applications to verify that the interface they are looking at ... BMS ...
      (freebsd-net)
    • 64 bit packet counters
      ... packet counters and the differentiation between multicast and broadcast ... pkts. ... Since changing the if_data (by adding new counters and changing the ... I was thinking of tacking on a new struct (lets call it ...
      (freebsd-net)