summaryrefslogtreecommitdiffstats
path: root/regress/sys/net/pflow
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2013-08-13 08:47:10 +0000
committerflorian <florian@openbsd.org>2013-08-13 08:47:10 +0000
commit5a02b152189a6af5eb7d7c1801ac8d0db1c5cca5 (patch)
tree268448875b23a5a6c3dd9c07944a725dc7f761cd /regress/sys/net/pflow
parentSplit pflow version 9 and version 10 to be able to send 64 bit (diff)
downloadwireguard-openbsd-5a02b152189a6af5eb7d7c1801ac8d0db1c5cca5.tar.xz
wireguard-openbsd-5a02b152189a6af5eb7d7c1801ac8d0db1c5cca5.zip
Sync with pflow changes.
Diffstat (limited to 'regress/sys/net/pflow')
-rwxr-xr-xregress/sys/net/pflow/template.pl4
-rw-r--r--regress/sys/net/pflow/template.v108
2 files changed, 7 insertions, 5 deletions
diff --git a/regress/sys/net/pflow/template.pl b/regress/sys/net/pflow/template.pl
index 99b1a8dde22..01e76692261 100755
--- a/regress/sys/net/pflow/template.pl
+++ b/regress/sys/net/pflow/template.pl
@@ -1,5 +1,5 @@
#! /usr/bin/perl
-# $OpenBSD: template.pl,v 1.2 2013/08/11 15:46:26 florian Exp $
+# $OpenBSD: template.pl,v 1.3 2013/08/13 08:47:10 florian Exp $
# Copyright (c) 2013 Florian Obser <florian@openbsd.org>
#
@@ -49,6 +49,8 @@ sub usage
28 => 'destinationIPv6Address',
150 => 'flowStartSeconds',
151 => 'flowEndSeconds',
+ 152 => 'flowStartMilliseconds',
+ 153 => 'flowEndMilliseconds',
};
sub id2name { return $id2name->{$_[0]} || $_[0]; }
}
diff --git a/regress/sys/net/pflow/template.v10 b/regress/sys/net/pflow/template.v10
index c4e7a775450..d73f56fe470 100644
--- a/regress/sys/net/pflow/template.v10
+++ b/regress/sys/net/pflow/template.v10
@@ -5,8 +5,8 @@ ingressInterface(4)
egressInterface(4)
packetDeltaCount(8)
octetDeltaCount(8)
-flowStartSeconds(4)
-flowEndSeconds(4)
+flowStartMilliseconds(8)
+flowEndMilliseconds(8)
sourceTransportPort(2)
destinationTransportPort(2)
ipClassOfService(1)
@@ -18,8 +18,8 @@ ingressInterface(4)
egressInterface(4)
packetDeltaCount(8)
octetDeltaCount(8)
-flowStartSeconds(4)
-flowEndSeconds(4)
+flowStartMilliseconds(8)
+flowEndMilliseconds(8)
sourceTransportPort(2)
destinationTransportPort(2)
ipClassOfService(1)