From e92588d33b8025799a06dd248d512d774c99e887 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 29 Sep 2025 01:17:06 -0400 Subject: dgram: link: Improve reception, add timeouts, ++ - Add timeouts - Clean up padding, add length define Signed-off-by: Ian Moffett --- src/include/dgram.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/include/dgram.h') diff --git a/src/include/dgram.h b/src/include/dgram.h index 779c7ef..81fd1dd 100644 --- a/src/include/dgram.h +++ b/src/include/dgram.h @@ -34,6 +34,12 @@ #include "if_ether.h" #include "link.h" +/* Number of padding bytes in a squeak */ +#define SQUEAK_NPAD 8 + +/* How many ms we should poll on recv */ +#define RECV_POLL_MS 250 + typedef int16_t tx_len_t; typedef tx_len_t rx_len_t; -- cgit v1.2.3