diff options
Diffstat (limited to 'include/linux/net.h')
-rw-r--r-- | include/linux/net.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 0235d917d5c3..f95f12c5840c 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
@@ -186,6 +186,13 @@ struct net_proto_family { | |||
186 | struct iovec; | 186 | struct iovec; |
187 | struct kvec; | 187 | struct kvec; |
188 | 188 | ||
189 | enum { | ||
190 | SOCK_WAKE_IO, | ||
191 | SOCK_WAKE_WAITD, | ||
192 | SOCK_WAKE_SPACE, | ||
193 | SOCK_WAKE_URG, | ||
194 | }; | ||
195 | |||
189 | extern int sock_wake_async(struct socket *sk, int how, int band); | 196 | extern int sock_wake_async(struct socket *sk, int how, int band); |
190 | extern int sock_register(const struct net_proto_family *fam); | 197 | extern int sock_register(const struct net_proto_family *fam); |
191 | extern void sock_unregister(int family); | 198 | extern void sock_unregister(int family); |