[PATCH net-next 00/11] net: ping6: support basic socket cmsgs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add support for common SOL_SOCKET cmsgs in ICMPv6 sockets.
Extend the cmsg tests to cover more cmsgs and socket types.

SOL_IPV6 cmsgs to follow.

Jakub Kicinski (11):
  net: ping6: remove a pr_debug() statement
  net: ping6: support packet timestamping
  net: ping6: support setting socket options via cmsg
  selftests: net: rename cmsg_so_mark
  selftests: net: make cmsg_so_mark ready for more options
  selftests: net: cmsg_sender: support icmp and raw sockets
  selftests: net: cmsg_so_mark: test ICMP and RAW sockets
  selftests: net: cmsg_so_mark: test with SO_MARK set by setsockopt
  selftests: net: cmsg_sender: support setting SO_TXTIME
  selftests: net: cmsg_sender: support Tx timestamping
  selftests: net: test standard socket cmsgs across UDP and ICMP sockets

 net/ipv6/ping.c                             |  14 +-
 tools/testing/selftests/net/.gitignore      |   2 +-
 tools/testing/selftests/net/Makefile        |   3 +-
 tools/testing/selftests/net/cmsg_sender.c   | 380 ++++++++++++++++++++
 tools/testing/selftests/net/cmsg_so_mark.c  |  67 ----
 tools/testing/selftests/net/cmsg_so_mark.sh |  32 +-
 tools/testing/selftests/net/cmsg_time.sh    |  83 +++++
 7 files changed, 499 insertions(+), 82 deletions(-)
 create mode 100644 tools/testing/selftests/net/cmsg_sender.c
 delete mode 100644 tools/testing/selftests/net/cmsg_so_mark.c
 create mode 100755 tools/testing/selftests/net/cmsg_time.sh

-- 
2.34.1




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux