summaryrefslogtreecommitdiff
path: root/lib/socket.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-07-28 19:22:48 +0200
committerMaria Matejka <mq@ucw.cz>2022-07-28 19:22:48 +0200
commit03bf6b90879bb6e5f0fab05a61a843bb437dd30a (patch)
tree2eb0cff73002b4278916c1ad6865b7a85b680bd1 /lib/socket.h
parent6e841b3153565632b6753f6b1fe74850c37f2808 (diff)
Revert "Adding a generic cork mechanism for events"
This reverts commit 6e841b3153565632b6753f6b1fe74850c37f2808.
Diffstat (limited to 'lib/socket.h')
-rw-r--r--lib/socket.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/socket.h b/lib/socket.h
index ff07660f..5bdab7f3 100644
--- a/lib/socket.h
+++ b/lib/socket.h
@@ -57,7 +57,6 @@ typedef struct birdsock {
uint fast_rx; /* RX has higher priority in event loop */
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 */
byte *tbuf, *tpos; /* NULL=allocate automatically */
byte *ttx; /* Internal */