Przemyslaw Czarnowski | 391795d | 2020-03-19 23:41:53 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ |
| 2 | |
| 3 | /* This is a private header file defining binding structure for PCIe binding */ |
| 4 | |
| 5 | #ifndef _ASTPCIE_H |
| 6 | #define _ASTPCIE_H |
| 7 | |
| 8 | #include "libmctp.h" |
| 9 | |
| 10 | #define MCTP_ASTPCIE_BINDING_DEFAULT_BUFFER 1024 |
| 11 | |
| 12 | struct mctp_binding_astpcie { |
| 13 | struct mctp_binding binding; |
| 14 | int fd; |
| 15 | |
| 16 | struct mctp_pktbuf *rx_pkt; |
| 17 | |
| 18 | /* placeholder for buffer */ |
| 19 | uint8_t rxbuf[MCTP_ASTPCIE_BINDING_DEFAULT_BUFFER]; |
| 20 | }; |
| 21 | |
| 22 | #endif |