Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2005 11:01:06 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netgraph/netflow netflow.c
Message-ID:  <200503031101.j23B16Vn065793@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
glebius     2005-03-03 11:01:06 UTC

  FreeBSD src repository

  Modified files:
    sys/netgraph/netflow netflow.c 
  Log:
  Cisco uses milliseconds for uptime. This is stupid. Nobody cares of such
  precision when IP packet may travel through internet for several seconds.
  Also uptime measured in milliseconds overflows every 48+ days.
  But we have to do same to keep compatibility with Cisco and flow-tools.
  
  Make a macro MILLIUPTIME, which does overflowable multiplication to 1000.
  
  Requested by:   Sergey Ryabin, Oleg Bulyzhin
  MFC after:      1 week
  
  Revision  Changes    Path
  1.9       +16 -4     src/sys/netgraph/netflow/netflow.c



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