/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Kernel Connection Multiplexor * * Copyright (c) 2016 Tom Herbert <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. * * User API to clone KCM sockets and attach transport socket to a KCM * multiplexor. */ #ifndef KCM_KERNEL_H #define KCM_KERNEL_H struct kcm_attach { … }; struct kcm_unattach { … }; struct kcm_clone { … }; #define SIOCKCMATTACH … #define SIOCKCMUNATTACH … #define SIOCKCMCLONE … #define KCMPROTO_CONNECTED … /* Socket options */ #define KCM_RECV_DISABLE … #endif