blob: b6bee11840168be0850f5fcd3c3cef35d089c428 [file] [log] [blame]
Christopher Ferris2abfa9e2021-11-01 16:26:06 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __UAPI_MCTP_H
20#define __UAPI_MCTP_H
21#include <linux/types.h>
22#include <linux/socket.h>
23typedef __u8 mctp_eid_t;
24struct mctp_addr {
25 mctp_eid_t s_addr;
26};
27struct sockaddr_mctp {
28 __kernel_sa_family_t smctp_family;
29 __u16 __smctp_pad0;
30 unsigned int smctp_network;
31 struct mctp_addr smctp_addr;
32 __u8 smctp_type;
33 __u8 smctp_tag;
34 __u8 __smctp_pad1;
35};
36#define MCTP_NET_ANY 0x0
37#define MCTP_ADDR_NULL 0x00
38#define MCTP_ADDR_ANY 0xff
39#define MCTP_TAG_MASK 0x07
40#define MCTP_TAG_OWNER 0x08
41#endif