1/* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6#ifndef KCM_KERNEL_H 7#define KCM_KERNEL_H 8struct kcm_attach { 9 int fd; 10 int bpf_fd; 11}; 12struct kcm_unattach { 13 int fd; 14}; 15struct kcm_clone { 16 int fd; 17}; 18#define SIOCKCMATTACH (SIOCPROTOPRIVATE + 0) 19#define SIOCKCMUNATTACH (SIOCPROTOPRIVATE + 1) 20#define SIOCKCMCLONE (SIOCPROTOPRIVATE + 2) 21#define KCMPROTO_CONNECTED 0 22#define KCM_RECV_DISABLE 1 23#endif 24