lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1424745200.4443.10.camel@xylophone.i.decadent.org.uk>
Date:	Tue, 24 Feb 2015 02:33:20 +0000
From:	Ben Hutchings <ben.hutchings@...ethink.co.uk>
To:	netdev@...r.kernel.org
Cc:	linux-kernel@...ts.codethink.co.uk
Subject: [PATCH net-next 09/10] samples/pktgen: Show the results rather than
 just commenting where they are

Signed-off-by: Ben Hutchings <ben.hutchings@...ethink.co.uk>
---
 samples/pktgen/pktgen.conf-1-1          |    3 +--
 samples/pktgen/pktgen.conf-1-1-flows    |    3 +--
 samples/pktgen/pktgen.conf-1-1-ip6      |    3 +--
 samples/pktgen/pktgen.conf-1-1-ip6-rdos |    3 +--
 samples/pktgen/pktgen.conf-1-1-rdos     |    3 +--
 samples/pktgen/pktgen.conf-1-2          |    3 +--
 samples/pktgen/pktgen.conf-2-1          |    3 +--
 samples/pktgen/pktgen.conf-2-2          |    3 +--
 8 files changed, 8 insertions(+), 16 deletions(-)

diff --git a/samples/pktgen/pktgen.conf-1-1 b/samples/pktgen/pktgen.conf-1-1
index 68eb6385d2fa..fd797216006d 100755
--- a/samples/pktgen/pktgen.conf-1-1
+++ b/samples/pktgen/pktgen.conf-1-1
@@ -56,5 +56,4 @@ PGDEV=/proc/net/pktgen/pgctrl
  trap true INT
  pgset "start" 
  echo "Done"
-
-# Result can be vieved in /proc/net/pktgen/eth1
+ cat /proc/net/pktgen/eth1
diff --git a/samples/pktgen/pktgen.conf-1-1-flows b/samples/pktgen/pktgen.conf-1-1-flows
index a1973bc4cabb..f22ae0c3b039 100755
--- a/samples/pktgen/pktgen.conf-1-1-flows
+++ b/samples/pktgen/pktgen.conf-1-1-flows
@@ -64,5 +64,4 @@ PGDEV=/proc/net/pktgen/pgctrl
  trap true INT
  pgset "start" 
  echo "Done"
-
-# Result can be vieved in /proc/net/pktgen/eth1
+ cat /proc/net/pktgen/eth1
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6 b/samples/pktgen/pktgen.conf-1-1-ip6
index 39cddd36b370..2262f663b3a3 100755
--- a/samples/pktgen/pktgen.conf-1-1-ip6
+++ b/samples/pktgen/pktgen.conf-1-1-ip6
@@ -57,5 +57,4 @@ PGDEV=/proc/net/pktgen/pgctrl
  trap true INT
  pgset "start" 
  echo "Done"
-
-# Result can be vieved in /proc/net/pktgen/eth1
+ cat /proc/net/pktgen/eth1
diff --git a/samples/pktgen/pktgen.conf-1-1-ip6-rdos b/samples/pktgen/pktgen.conf-1-1-ip6-rdos
index e7dbf4845c8f..e13239789e63 100755
--- a/samples/pktgen/pktgen.conf-1-1-ip6-rdos
+++ b/samples/pktgen/pktgen.conf-1-1-ip6-rdos
@@ -60,5 +60,4 @@ PGDEV=/proc/net/pktgen/pgctrl
  trap true INT
  pgset "start" 
  echo "Done"
-
-# Result can be vieved in /proc/net/pktgen/eth1
+ cat /proc/net/pktgen/eth1
diff --git a/samples/pktgen/pktgen.conf-1-1-rdos b/samples/pktgen/pktgen.conf-1-1-rdos
index f4c3c4ebf228..066d6d28761e 100755
--- a/samples/pktgen/pktgen.conf-1-1-rdos
+++ b/samples/pktgen/pktgen.conf-1-1-rdos
@@ -61,5 +61,4 @@ PGDEV=/proc/net/pktgen/pgctrl
  trap true INT
  pgset "start" 
  echo "Done"
-
-# Result can be vieved in /proc/net/pktgen/eth1
+ cat /proc/net/pktgen/eth1
diff --git a/samples/pktgen/pktgen.conf-1-2 b/samples/pktgen/pktgen.conf-1-2
index 7dcdeab4363b..2924eb0f991c 100755
--- a/samples/pktgen/pktgen.conf-1-2
+++ b/samples/pktgen/pktgen.conf-1-2
@@ -66,5 +66,4 @@ PGDEV=/proc/net/pktgen/pgctrl
  trap true INT
  pgset "start" 
  echo "Done"
-
-# Result can be vieved in /proc/net/pktgen/eth[1,2]
+ cat /proc/net/pktgen/eth1 /proc/net/pktgen/eth2
diff --git a/samples/pktgen/pktgen.conf-2-1 b/samples/pktgen/pktgen.conf-2-1
index 9fee8da739c7..20e2291463e3 100755
--- a/samples/pktgen/pktgen.conf-2-1
+++ b/samples/pktgen/pktgen.conf-2-1
@@ -63,5 +63,4 @@ PGDEV=/proc/net/pktgen/pgctrl
  trap true INT
  pgset "start" 
  echo "Done"
-
-# Result can be vieved in /proc/net/pktgen/eth1
+ cat /proc/net/pktgen/eth1
diff --git a/samples/pktgen/pktgen.conf-2-2 b/samples/pktgen/pktgen.conf-2-2
index 29b338cc054d..2476a6e8c29c 100755
--- a/samples/pktgen/pktgen.conf-2-2
+++ b/samples/pktgen/pktgen.conf-2-2
@@ -70,5 +70,4 @@ PGDEV=/proc/net/pktgen/pgctrl
  trap true INT
  pgset "start" 
  echo "Done"
-
-# Result can be vieved in /proc/net/pktgen/eth[1,2]
+ cat /proc/net/pktgen/eth1 /proc/net/pktgen/eth2
-- 
1.7.10.4




--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists