From: Willem de Bruijn <will...@google.com> Convert the existing txtimestamp test to run as part of kselftest and return a pass/fail.
Also expand the variations of timestamping tested, including packet sockets, ipv6 raw and dgram and passing options using cmsg. These are enough changes to split across a few patches, even if all changes are only this one test. Willem de Bruijn (3): selftests: expand txtimestamp with cmsg support selftests: expand txtimestamp with ipv6 dgram + raw and pf_packet selftests: add txtimestamp kselftest tools/testing/selftests/Makefile | 1 + .../networking/timestamping/Makefile | 5 +- .../selftests/networking/timestamping/config | 2 + .../networking/timestamping/txtimestamp.c | 382 ++++++++++++++---- .../networking/timestamping/txtimestamp.sh | 58 +++ 5 files changed, 368 insertions(+), 80 deletions(-) create mode 100644 tools/testing/selftests/networking/timestamping/config create mode 100755 tools/testing/selftests/networking/timestamping/txtimestamp.sh -- 2.20.1.415.g653613c723-goog