astlpc.c (a9368980f2316c1caa019b7c094feb0c68ca22d1) | astlpc.c (5303d9c59469d1c6c6bf1cabf51c89eb6ddb06cb) |
---|---|
1/* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 2 3#if HAVE_CONFIG_H 4#include "config.h" 5#endif 6 7#if HAVE_ENDIAN_H 8#include <endian.h> --- 81 unchanged lines hidden (view full) --- 90 91/* clang-format off */ 92#define ASTLPC_MCTP_MAGIC 0x4d435450 93#define ASTLPC_VER_BAD 0 94#define ASTLPC_VER_MIN 1 95 96/* Support testing of new binding protocols */ 97#ifndef ASTLPC_VER_CUR | 1/* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 2 3#if HAVE_CONFIG_H 4#include "config.h" 5#endif 6 7#if HAVE_ENDIAN_H 8#include <endian.h> --- 81 unchanged lines hidden (view full) --- 90 91/* clang-format off */ 92#define ASTLPC_MCTP_MAGIC 0x4d435450 93#define ASTLPC_VER_BAD 0 94#define ASTLPC_VER_MIN 1 95 96/* Support testing of new binding protocols */ 97#ifndef ASTLPC_VER_CUR |
98#define ASTLPC_VER_CUR 1 | 98#define ASTLPC_VER_CUR 2 |
99#endif 100 101#define ASTLPC_PACKET_SIZE(sz) (4 + (sz)) 102#define ASTLPC_BODY_SIZE(sz) ((sz) - 4) 103/* clang-format on */ 104 105struct mctp_lpcmap_hdr { 106 uint32_t magic; --- 1058 unchanged lines hidden --- | 99#endif 100 101#define ASTLPC_PACKET_SIZE(sz) (4 + (sz)) 102#define ASTLPC_BODY_SIZE(sz) ((sz) - 4) 103/* clang-format on */ 104 105struct mctp_lpcmap_hdr { 106 uint32_t magic; --- 1058 unchanged lines hidden --- |