freebsd-dev/sys/netgraph/netflow
Gleb Smirnoff 5fac4ee9ab 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
2005-03-03 11:01:05 +00:00
..
netflow.c Cisco uses milliseconds for uptime. This is stupid. Nobody cares of such 2005-03-03 11:01:05 +00:00
netflow.h
ng_netflow.c Use log() instead of printf(), to reduce flood on console. 2005-01-20 13:28:39 +00:00
ng_netflow.h - Use uint16_t to pass argument for NGM_NETFLOW_IFINFO, bump cookie. 2004-12-05 14:30:38 +00:00