diff options
author | Jay Jayatheerthan <jay.jayatheerthan@intel.com> | 2019-12-20 09:55:30 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-12-21 01:10:39 +0100 |
commit | 46e3268eaaca9f8a0f145872b96fe6d54a232890 (patch) | |
tree | 8ef2139e4421af7f64a5aede0c2190c30634dd7c /kernel/utsname.c | |
parent | samples/bpf: xdpsock: Add option to specify tx packet size (diff) | |
download | linux-46e3268eaaca9f8a0f145872b96fe6d54a232890.tar.xz linux-46e3268eaaca9f8a0f145872b96fe6d54a232890.zip |
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 'kernel/utsname.c')
0 files changed, 0 insertions, 0 deletions