diff options
author | Asias He <asias@redhat.com> | 2015-12-02 07:43:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-03 21:05:54 +0100 |
commit | 357ab2234d57f6c74386f64ded42dff8e3c0500b (patch) | |
tree | 5ba7c64aa7db94d55124677e15bfb5d1d48ee92c /include/net | |
parent | mpls: support for dead routes (diff) | |
download | linux-357ab2234d57f6c74386f64ded42dff8e3c0500b.tar.xz linux-357ab2234d57f6c74386f64ded42dff8e3c0500b.zip |
VSOCK: Introduce vsock_find_unbound_socket and vsock_bind_dgram_generic
Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/af_vsock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/af_vsock.h b/include/net/af_vsock.h index e9eb2d6791b3..a0c8fa2ababf 100644 --- a/include/net/af_vsock.h +++ b/include/net/af_vsock.h @@ -175,8 +175,10 @@ void vsock_insert_connected(struct vsock_sock *vsk); void vsock_remove_bound(struct vsock_sock *vsk); void vsock_remove_connected(struct vsock_sock *vsk); struct sock *vsock_find_bound_socket(struct sockaddr_vm *addr); +struct sock *vsock_find_unbound_socket(struct sockaddr_vm *addr); struct sock *vsock_find_connected_socket(struct sockaddr_vm *src, struct sockaddr_vm *dst); void vsock_for_each_connected_socket(void (*fn)(struct sock *sk)); +int vsock_bind_dgram_generic(struct vsock_sock *vsk, struct sockaddr_vm *addr); #endif /* __AF_VSOCK_H__ */ |