1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Kernel Connection Multiplexor
5 * Copyright (c) 2016 Tom Herbert <tom@herbertland.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2
9 * as published by the Free Software Foundation.
11 * User API to clone KCM sockets and attach transport socket to a KCM
31 #define SIOCKCMATTACH (SIOCPROTOPRIVATE + 0)
32 #define SIOCKCMUNATTACH (SIOCPROTOPRIVATE + 1)
33 #define SIOCKCMCLONE (SIOCPROTOPRIVATE + 2)
35 #define KCMPROTO_CONNECTED 0
38 #define KCM_RECV_DISABLE 1