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 _UAPI_LINUX_SMC_H_ 7 #define _UAPI_LINUX_SMC_H_ 8 enum { 9 SMC_PNETID_UNSPEC, 10 SMC_PNETID_NAME, 11 SMC_PNETID_ETHNAME, 12 SMC_PNETID_IBNAME, 13 SMC_PNETID_IBPORT, 14 __SMC_PNETID_MAX, 15 SMC_PNETID_MAX = __SMC_PNETID_MAX - 1 16 }; 17 enum { 18 SMC_PNETID_GET = 1, 19 SMC_PNETID_ADD, 20 SMC_PNETID_DEL, 21 SMC_PNETID_FLUSH 22 }; 23 #define SMCR_GENL_FAMILY_NAME "SMC_PNETID" 24 #define SMCR_GENL_FAMILY_VERSION 1 25 #endif 26