bpf: selftests: Update tests after s/delivery_time/tstamp/ change in bpf.h
authorMartin KaFai Lau <kafai@fb.com>
Wed, 9 Mar 2022 09:05:15 +0000 (01:05 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 10 Mar 2022 21:57:05 +0000 (22:57 +0100)
commit3daf0896f3f958b48d7747e96dd57a6b10745b76
tree02f4e70265cd1c72cd7d765ff342bd620f56e312
parent9bb984f28d5bcb917d35d930fcfb89f90f9449fd
bpf: selftests: Update tests after s/delivery_time/tstamp/ change in bpf.h

The previous patch made the follow changes:
- s/delivery_time_type/tstamp_type/
- s/bpf_skb_set_delivery_time/bpf_skb_set_tstamp/
- BPF_SKB_DELIVERY_TIME_* to BPF_SKB_TSTAMP_*

This patch is to change the test_tc_dtime.c to reflect the above.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220309090515.3712742-1-kafai@fb.com
tools/testing/selftests/bpf/progs/test_tc_dtime.c