diff options
author | Richard Cochran <richardcochran@gmail.com> | 2013-07-19 13:40:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-22 17:58:19 -0400 |
commit | cb820f8e4b7f73d1a32175e6591735b25bb5398d (patch) | |
tree | 0a361e6465be4bd549c17d957708d2e280914f21 /include | |
parent | 0887a576a17965732270b2f8d37821fc02ef2feb (diff) |
net: Provide a generic socket error queue delivery method for Tx time stamps.
This patch moves the private error queue delivery function from the
af_packet code to the core socket method. In this way, network layers
only needing the error queue for transmit time stamping can share common
code.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/sock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 95a5a2c6925a..e0473f61693f 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -2249,6 +2249,8 @@ static inline struct sock *skb_steal_sock(struct sk_buff *skb) | |||
2249 | extern void sock_enable_timestamp(struct sock *sk, int flag); | 2249 | extern void sock_enable_timestamp(struct sock *sk, int flag); |
2250 | extern int sock_get_timestamp(struct sock *, struct timeval __user *); | 2250 | extern int sock_get_timestamp(struct sock *, struct timeval __user *); |
2251 | extern int sock_get_timestampns(struct sock *, struct timespec __user *); | 2251 | extern int sock_get_timestampns(struct sock *, struct timespec __user *); |
2252 | extern int sock_recv_errqueue(struct sock *sk, struct msghdr *msg, int len, | ||
2253 | int level, int type); | ||
2252 | 2254 | ||
2253 | /* | 2255 | /* |
2254 | * Enable debug/info messages | 2256 | * Enable debug/info messages |