zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

ipmi_ssif_bmc.h (440B) - Raw


      1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note*/
      2 /*
      3  * Copyright (c) 2022, Ampere Computing LLC.
      4  */
      5 
      6 #ifndef _LINUX_IPMI_SSIF_BMC_H
      7 #define _LINUX_IPMI_SSIF_BMC_H
      8 
      9 #include <linux/types.h>
     10 
     11 /* Max length of ipmi ssif message included netfn and cmd field */
     12 #define IPMI_SSIF_PAYLOAD_MAX         254
     13 struct ipmi_ssif_msg {
     14 	unsigned int len;
     15 	__u8    payload[IPMI_SSIF_PAYLOAD_MAX];
     16 };
     17 
     18 #endif /* _LINUX_IPMI_SSIF_BMC_H */