Commit 1c17216e authored by Richard Cochran's avatar Richard Cochran Committed by David S. Miller

net: export time stamp utility function for Ethernet MAC drivers

The network stack provides the function, skb_clone_tx_timestamp().
Ethernet MAC drivers can call this via the transmit time stamping
hook, skb_tx_timestamp(). This commit exports the clone function so
that drivers using it can be compiled as modules.
Signed-off-by: default avatarRichard Cochran <richard.cochran@omicron.at>
Signed-off-by: default avatarDavid S. Miller <davem@conan.davemloft.net>
parent 8f0ea0fe
...@@ -68,6 +68,7 @@ void skb_clone_tx_timestamp(struct sk_buff *skb) ...@@ -68,6 +68,7 @@ void skb_clone_tx_timestamp(struct sk_buff *skb)
break; break;
} }
} }
EXPORT_SYMBOL_GPL(skb_clone_tx_timestamp);
void skb_complete_tx_timestamp(struct sk_buff *skb, void skb_complete_tx_timestamp(struct sk_buff *skb,
struct skb_shared_hwtstamps *hwtstamps) struct skb_shared_hwtstamps *hwtstamps)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment