Skip to content

Commit 16e7812

Browse files
mjamaloneydavem330
authored andcommitted
selftests/net: Add a test to validate behavior of rx timestamps
Validate the behavior of the combination of various timestamp socket options, and ensure consistency across ip, udp, and tcp. Signed-off-by: Mike Maloney <maloney@google.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 98aaa91 commit 16e7812

3 files changed

Lines changed: 393 additions & 1 deletion

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
timestamping
2+
rxtimestamp
23
txtimestamp
34
hwtstamp_config

‎tools/testing/selftests/networking/timestamping/Makefile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
TEST_PROGS := hwtstamp_config timestamping txtimestamp
1+
CFLAGS += -I../../../../../usr/include
2+
3+
TEST_PROGS := hwtstamp_config rxtimestamp timestamping txtimestamp
24

35
all: $(TEST_PROGS)
46

0 commit comments

Comments
 (0)