diff options
| author | David Anderson <danderson@tailscale.com> | 2021-11-10 12:15:03 -0800 |
|---|---|---|
| committer | David Anderson <danderson@tailscale.com> | 2021-11-10 12:15:03 -0800 |
| commit | 41710e1b810aa25c14ceb657a40b9ba616615435 (patch) | |
| tree | 4953322c9930fde10dae9ff057de28827e87fb52 /ebpf/include/linux/ipmi_bmc.h | |
| parent | 4a51050c498da33eaecb520b78aeb5f445a442f1 (diff) | |
| download | tailscale-danderson/ebpf.tar.xz tailscale-danderson/ebpf.zip | |
ebpf: experiments.danderson/ebpf
Diffstat (limited to 'ebpf/include/linux/ipmi_bmc.h')
| -rw-r--r-- | ebpf/include/linux/ipmi_bmc.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ebpf/include/linux/ipmi_bmc.h b/ebpf/include/linux/ipmi_bmc.h new file mode 100644 index 000000000..b5e23042c --- /dev/null +++ b/ebpf/include/linux/ipmi_bmc.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (c) 2015-2018, Intel Corporation. + */ + +#ifndef _LINUX_IPMI_BMC_H +#define _LINUX_IPMI_BMC_H + +#include <linux/ioctl.h> + +#define __IPMI_BMC_IOCTL_MAGIC 0xB1 +#define IPMI_BMC_IOCTL_SET_SMS_ATN _IO(__IPMI_BMC_IOCTL_MAGIC, 0x00) +#define IPMI_BMC_IOCTL_CLEAR_SMS_ATN _IO(__IPMI_BMC_IOCTL_MAGIC, 0x01) +#define IPMI_BMC_IOCTL_FORCE_ABORT _IO(__IPMI_BMC_IOCTL_MAGIC, 0x02) + +#endif /* _LINUX_IPMI_BMC_H */ |
