packet: support for TX time stamps on RAW sockets
commited85b565b825566da34e55eee9ad150ed93fdda0
authorRichard Cochran <richardcochran@gmail.com>
Wed, 7 Apr 2010 22:41:28 +0000 (7 22:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 08:30:48 +0000 (13 01:30 -0700)
tree77b9bad66d0cd6a1b7c657995100d555b8ecb9eb
parent7d53b80980a598836c56517290b29aa7b0766ef8
packet: support for TX time stamps on RAW sockets

Enable the SO_TIMESTAMPING socket infrastructure for raw packet sockets.
We introduce PACKET_TX_TIMESTAMP for the control message cmsg_type.

Similar support for UDP and CAN sockets was added in commit
51f31cabe3ce5345b51e4a4f82138b38c4d5dc91

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_packet.h
net/packet/af_packet.c