1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef __UAPI_LINUX_NSM_H 8 #define __UAPI_LINUX_NSM_H 9 #include <linux/ioctl.h> 10 #include <linux/types.h> 11 #define NSM_MAGIC 0x0A 12 #define NSM_REQUEST_MAX_SIZE 0x1000 13 #define NSM_RESPONSE_MAX_SIZE 0x3000 14 struct nsm_iovec { 15 __u64 addr; 16 __u64 len; 17 }; 18 struct nsm_raw { 19 struct nsm_iovec request; 20 struct nsm_iovec response; 21 }; 22 #define NSM_IOCTL_RAW _IOWR(NSM_MAGIC, 0x0, struct nsm_raw) 23 #endif 24