diff options
author | Jay Jayatheerthan <jay.jayatheerthan@intel.com> | 2019-12-20 14:25:30 +0530 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-12-20 16:10:39 -0800 |
commit | 46e3268eaaca9f8a0f145872b96fe6d54a232890 (patch) | |
tree | 8ef2139e4421af7f64a5aede0c2190c30634dd7c /samples/bpf/lwt_len_hist.sh | |
parent | 4a3c23ae3acc6185a9d418830f22672a52ff986a (diff) | |
download | linux-46e3268eaaca9f8a0f145872b96fe6d54a232890.tar.gz |
samples/bpf: xdpsock: Add option to specify transmit fill pattern
The UDP payload fill pattern can be specified using '-P' or '--tx-pkt-pattern' option. It is an unsigned 32 bit field and defaulted to 0x12345678. The IP and UDP checksum is calculated by the code as per the content of the packet before transmission. Signed-off-by: Jay Jayatheerthan <jay.jayatheerthan@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20191220085530.4980-7-jay.jayatheerthan@intel.com
Diffstat (limited to 'samples/bpf/lwt_len_hist.sh')
0 files changed, 0 insertions, 0 deletions