af_vsock: rest of SEQPACKET support
[platform/kernel/linux-starfive.git] / include / net / af_vsock.h
index d6745d8..ab20767 100644 (file)
@@ -140,6 +140,8 @@ struct vsock_transport {
                                     int flags);
        int (*seqpacket_enqueue)(struct vsock_sock *vsk, struct msghdr *msg,
                                 size_t len);
+       bool (*seqpacket_allow)(u32 remote_cid);
+       u32 (*seqpacket_has_data)(struct vsock_sock *vsk);
 
        /* Notification. */
        int (*notify_poll_in)(struct vsock_sock *, size_t, bool *);