summaryrefslogtreecommitdiffstats
path: root/src/bin/perfdhcp
diff options
context:
space:
mode:
authorPiotrek Zadroga <piotrek@isc.org>2023-05-29 10:51:50 +0200
committerPiotrek Zadroga <piotrek@isc.org>2023-05-29 10:51:50 +0200
commite16ba5ac20c427475970e4f2178df3dd30886dd5 (patch)
tree51f69a6ded62284c06e03f826b81ac1fe1f4e65e /src/bin/perfdhcp
parent[#2885] bump up library versions for 2.3.8 release (diff)
downloadkea-e16ba5ac20c427475970e4f2178df3dd30886dd5.tar.xz
kea-e16ba5ac20c427475970e4f2178df3dd30886dd5.zip
[#2834] Updating perfdhcp usage
Diffstat (limited to 'src/bin/perfdhcp')
-rw-r--r--src/bin/perfdhcp/command_options.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bin/perfdhcp/command_options.cc b/src/bin/perfdhcp/command_options.cc
index 3cf1117501..11ee904673 100644
--- a/src/bin/perfdhcp/command_options.cc
+++ b/src/bin/perfdhcp/command_options.cc
@@ -1254,7 +1254,8 @@ R"(perfdhcp [-1] [-4 | -6] [-A encapsulation-level] [-b base] [-B] [-c]
[-h] [-i] [-I ip-offset] [-J remote-address-list-file]
[-l local-address|interface] [-L local-port] [-M mac-list-file]
[-n num-request] [-N remote-port] [-O random-offset]
- [-o code,hexstring] [-p test-period] [-P preload] [-r rate]
+ [-o code,hexstring] [--or encapsulation-level:code,hexstring]
+ [-p test-period] [-P preload] [-r rate]
[-R num-clients] [-s seed] [-S srvid-offset] [--scenario name]
[-t report] [-T template-file] [-u] [-v] [-W exit-wait-time]
[-w script_name] [-x diagnostic-selector] [-X xid-offset] [server]
@@ -1393,6 +1394,11 @@ DHCPv6 only options:
<encapsulation-level> value is 1, which means that the generated
traffic is an equivalent of the traffic passing through a single
relay agent.
+--or encapsulation-level:<code,hexstring>: Send custom option included
+ to simulated DHCPv6 relayed traffic at given level of encapsulation
+ with the specified code and the specified buffer in hexstring format.
+ Currently the only supported encapsulation-level value is 1.
+ Must be used together with -A.
The remaining options are typically used in conjunction with -r: