]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: expand txtimestamp with ipv6 dgram + raw and pf_packet
authorWillem de Bruijn <willemb@google.com>
Thu, 20 Dec 2018 21:22:53 +0000 (16:22 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Dec 2018 01:01:17 +0000 (17:01 -0800)
commit15173605026e45552f07fbbfa5af5ea38d1225bc
tree0c619fa34230b7c61ef7073a794a02b5ef0162e5
parent73b43f5278064429cdc574cd064a99daa9db0220
selftests: expand txtimestamp with ipv6 dgram + raw and pf_packet

Expand the transmit timestamp regression test with support for
missing protocols: ipv6 datagram and raw and pf_packet.

Also refine resolve_hostname to independently request AF_INET or
AF_INET6 addresses. Else, ipv4 addresses may be returned as AF_INET6.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/networking/timestamping/txtimestamp.c