Skip to content

Commit

Permalink
net: export time stamp utility function for Ethernet MAC drivers
Browse files Browse the repository at this point in the history
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: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
richardcochran authored and David S. Miller committed Jun 13, 2011
1 parent 8f0ea0f commit 1c17216
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/core/timestamping.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ void skb_clone_tx_timestamp(struct sk_buff *skb)
break;
}
}
EXPORT_SYMBOL_GPL(skb_clone_tx_timestamp);

void skb_complete_tx_timestamp(struct sk_buff *skb,
struct skb_shared_hwtstamps *hwtstamps)
Expand Down

0 comments on commit 1c17216

Please sign in to comment.