diff options
author | John Fastabend <john.fastabend@gmail.com> | 2018-10-20 05:56:51 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-10-20 22:37:12 +0300 |
commit | 84fbfe026acaa6d91e2f71f1635992bf472e2496 (patch) | |
tree | e355a84970cff01d0b2b1182d6cb58e063dbff26 /lib/debug_info.c | |
parent | f908d26b2c41d9a924371099c4979e4b5d385165 (diff) | |
download | linux-84fbfe026acaa6d91e2f71f1635992bf472e2496.tar.xz |
bpf: test_sockmap add options to use msg_push_data
Add options to run msg_push_data, this patch creates two more flags
in test_sockmap that can be used to specify the offset and length
of bytes to be added. The new options are --txmsg_start_push to
specify where bytes should be inserted and --txmsg_end_push to
specify how many bytes. This is analagous to the options that are
used to pull data, --txmsg_start and --txmsg_end.
In addition to adding the options tests are added to the test
suit to run the tests similar to what was done for msg_pull_data.
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'lib/debug_info.c')
0 files changed, 0 insertions, 0 deletions