-// SPDX-License-Identifier: GPL-2.0+
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2022 Felix Fietkau <nbd@nbd.name>
*/
struct network;
+struct network_pex_host {
+ struct list_head list;
+ union network_endpoint endpoint;
+};
+
struct network_pex {
struct uloop_fd fd;
+ struct list_head hosts;
+ struct uloop_timeout request_update_timer;
};
enum pex_event {
return pex->fd.fd >= 0;
}
+int global_pex_open(void);
+
#endif