summaryrefslogtreecommitdiffstats
path: root/kernel/include/net/af_vsock.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/net/af_vsock.h')
-rw-r--r--kernel/include/net/af_vsock.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/include/net/af_vsock.h b/kernel/include/net/af_vsock.h
index 172632dd9..e9eb2d679 100644
--- a/kernel/include/net/af_vsock.h
+++ b/kernel/include/net/af_vsock.h
@@ -22,6 +22,9 @@
#include "vsock_addr.h"
+/* vsock-specific sock->sk_state constants */
+#define VSOCK_SS_LISTEN 255
+
#define LAST_RESERVED_PORT 1023
#define vsock_sk(__sk) ((struct vsock_sock *)__sk)
@@ -74,7 +77,7 @@ void vsock_pending_work(struct work_struct *work);
struct sock *__vsock_create(struct net *net,
struct socket *sock,
struct sock *parent,
- gfp_t priority, unsigned short type);
+ gfp_t priority, unsigned short type, int kern);
/**** TRANSPORT ****/