commit | e16eaabe94e24ccdc9604163d418ca1b652810ce | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Fri Feb 08 09:30:10 2019 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Fri Feb 08 10:02:38 2019 +0800 |
tree | 847492cd9afbff2eabf5bf6e37bbe08a84f0cea1 | |
parent | c67605bc9182cde3f9d71df460e7e1c4e87bafc1 [diff] |
core/pktbuf: Add next pointer to struct mctp_pktbuf We will want to implement singly-linked queues of packets, so add a next pointer. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
diff --git a/libmctp.h b/libmctp.h index 5400788..4c45e51 100644 --- a/libmctp.h +++ b/libmctp.h
@@ -43,6 +43,7 @@ unsigned char data[MCTP_PKTBUF_SIZE]; uint8_t start, end; uint8_t mctp_hdr_off; + struct mctp_pktbuf *next; }; struct mctp_pktbuf *mctp_pktbuf_alloc(uint8_t len);