diff options
author | Maria Matejka <mq@ucw.cz> | 2022-02-01 09:45:50 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-02-03 10:30:33 +0100 |
commit | 8447b24e59bcb6bf1f5d0c2a00880b74bde748fd (patch) | |
tree | 853d6b6626356b512319055289cf0fba6417465b /lib/socket.h | |
parent | 127862f626f39d52b758084931e0fbdc91db745c (diff) |
Socket cork fixes
Diffstat (limited to 'lib/socket.h')
-rw-r--r-- | lib/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |