summaryrefslogtreecommitdiff
path: root/lib/socket.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-02-01 09:45:50 +0100
committerMaria Matejka <mq@ucw.cz>2022-02-03 10:30:33 +0100
commit8447b24e59bcb6bf1f5d0c2a00880b74bde748fd (patch)
tree853d6b6626356b512319055289cf0fba6417465b /lib/socket.h
parent127862f626f39d52b758084931e0fbdc91db745c (diff)
Socket cork fixes
Diffstat (limited to 'lib/socket.h')
-rw-r--r--lib/socket.h1
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 */