raw.h 302 B

123456789101112131415161718
  1. #ifndef __LINUX_RAW_H
  2. #define __LINUX_RAW_H
  3. #include <linux/types.h>
  4. #define RAW_SETBIND _IO( 0xac, 0 )
  5. #define RAW_GETBIND _IO( 0xac, 1 )
  6. struct raw_config_request
  7. {
  8. int raw_minor;
  9. __u64 block_major;
  10. __u64 block_minor;
  11. };
  12. #define MAX_RAW_MINORS CONFIG_MAX_RAW_DEVS
  13. #endif /* __LINUX_RAW_H */