1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Management Component Transport Protocol (MCTP)
5 * Copyright (c) 2021 Code Construct
6 * Copyright (c) 2021 Google
12 #include <linux/types.h>
13 #include <linux/socket.h>
15 typedef __u8 mctp_eid_t;
21 struct sockaddr_mctp {
22 __kernel_sa_family_t smctp_family;
24 unsigned int smctp_network;
25 struct mctp_addr smctp_addr;
31 #define MCTP_NET_ANY 0x0
33 #define MCTP_ADDR_NULL 0x00
34 #define MCTP_ADDR_ANY 0xff
36 #define MCTP_TAG_MASK 0x07
37 #define MCTP_TAG_OWNER 0x08
39 #endif /* __UAPI_MCTP_H */