linux/include/uapi/linux/mctp.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 * Management Component Transport Protocol (MCTP)
 *
 * Copyright (c) 2021 Code Construct
 * Copyright (c) 2021 Google
 */

#ifndef __UAPI_MCTP_H
#define __UAPI_MCTP_H

#include <linux/types.h>
#include <linux/socket.h>
#include <linux/netdevice.h>

mctp_eid_t;

struct mctp_addr {};

struct sockaddr_mctp {};

struct sockaddr_mctp_ext {};

#define MCTP_NET_ANY

#define MCTP_ADDR_NULL
#define MCTP_ADDR_ANY

#define MCTP_TAG_MASK
#define MCTP_TAG_OWNER
#define MCTP_TAG_PREALLOC

#define MCTP_OPT_ADDR_EXT

#define SIOCMCTPALLOCTAG
#define SIOCMCTPDROPTAG
#define SIOCMCTPALLOCTAG2
#define SIOCMCTPDROPTAG2

/* Deprecated: use mctp_ioc_tag_ctl2 / TAG2 ioctls instead, which defines the
 * MCTP network ID as part of the allocated tag. Using this assumes the default
 * net ID for allocated tags, which may not give correct behaviour on system
 * with multiple networks configured.
 */
struct mctp_ioc_tag_ctl {};

struct mctp_ioc_tag_ctl2 {};

#endif /* __UAPI_MCTP_H */