aboutsummaryrefslogtreecommitdiff
path: root/riscv/remote_bitbang.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/remote_bitbang.h')
-rw-r--r--riscv/remote_bitbang.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/riscv/remote_bitbang.h b/riscv/remote_bitbang.h
index 289fbb3..1db4d55 100644
--- a/riscv/remote_bitbang.h
+++ b/riscv/remote_bitbang.h
@@ -21,6 +21,10 @@ private:
int socket_fd;
int client_fd;
+ static const ssize_t buf_size = 64 * 1024;
+ char recv_buf[buf_size];
+ ssize_t recv_start, recv_end;
+
// Check for a client connecting, and accept if there is one.
void accept();
// Execute any commands the client has for us.