From 0f6ea957541dc59b15f4e8a42e9ed006345a2a70 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 10 Jan 2022 13:03:15 +0100 Subject: Explicitly storing and checking loop information in sockets --- lib/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/socket.h b/lib/socket.h index ff07660f..17d647f3 100644 --- a/lib/socket.h +++ b/lib/socket.h @@ -40,6 +40,7 @@ struct ssh_sock { typedef struct birdsock { resource r; pool *pool; /* Pool where incoming connections should be allocated (for SK_xxx_PASSIVE) */ + struct birdloop *loop; /* The birdloop where this socket belongs to */ int type; /* Socket type */ int subtype; /* Socket subtype */ void *data; /* User data */ -- cgit v1.2.3