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)
commitb52354aa068ee362a58ebb92e8bd0d0e18008364
tree0c619fa34230b7c61ef7073a794a02b5ef0162e5
parent7085f47fcdc599cb387a472e4cd9def739954119
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