qmp.h 393 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _QMP_H_
  6. #define _QMP_H_
  7. #include <linux/types.h>
  8. /**
  9. * struct qmp_pkt - Packet structure to be used for TX and RX with QMP
  10. * @size size of data
  11. * @data Buffer holding data of this packet
  12. */
  13. struct qmp_pkt {
  14. u32 size;
  15. void *data;
  16. };
  17. #endif /* _QMP_H_ */