From 8447b24e59bcb6bf1f5d0c2a00880b74bde748fd Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Tue, 1 Feb 2022 09:45:50 +0100 Subject: Socket cork fixes --- lib/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/socket.h') diff --git a/lib/socket.h b/lib/socket.h index 17d647f3..89398edf 100644 --- a/lib/socket.h +++ b/lib/socket.h @@ -59,6 +59,7 @@ typedef struct birdsock { uint rbsize; int (*rx_hook)(struct birdsock *, uint size); /* NULL=receiving turned off, returns 1 to clear rx buffer */ struct event_cork *cork; /* Cork to temporarily stop receiving data */ + node cork_node; /* Node in cork list */ byte *tbuf, *tpos; /* NULL=allocate automatically */ byte *ttx; /* Internal */ -- cgit v1.2.3