From 5f67447541f2382dfbae354d38a21b0e1482028d Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Tue, 1 Oct 2019 16:40:11 +0000 Subject: mausezahn: Support -R to set packet priority Add a command line option -R to specify SO_PRIORITY socket option. This then sets priority of the generated SKBs, which is handy for testing Qdiscs and other priority-dependent functionality. Signed-off-by: Petr Machata Signed-off-by: Tobias Klauser --- mausezahn.8 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mausezahn.8') diff --git a/mausezahn.8 b/mausezahn.8 index 8379111..71d3aa0 100644 --- a/mausezahn.8 +++ b/mausezahn.8 @@ -79,6 +79,12 @@ Specify IPv6 mode (IPv4 is the default). .SS -l Specify the IP address mausezahn should bind to when in interactive mode, default: 0.0.0.0. .PP +.SS -R +Set priority of sent packets. This configures SO_PRIORITY at the socket through +which the packets are sent. Usual priority numbers are 0..15, but the value can +also be a class ID for purposes of Qdisc classification. In that case, a class +ID such is 1234:5678 would be specified as 0x12345678. +.PP .SS -v Verbose mode. Capital \-V is even more verbose. .PP -- cgit v1.2.3-54-g00ecf