summaryrefslogtreecommitdiff
path: root/net/amnezia-tools/files/patch-containers.h
blob: 233c2465854b367d4edf1d6719e1f726f33e6675 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- containers.h.orig	2025-09-03 14:11:13 UTC
+++ containers.h
@@ -34,6 +34,10 @@ struct timespec64 {
 	int64_t tv_nsec;
 };
 
+enum {
+	WGALLOWEDIP_REMOVE_ME = 1U << 0,
+};
+
 struct wgallowedip {
 	uint16_t family;
 	union {
@@ -41,6 +45,7 @@ struct wgallowedip {
 		struct in6_addr ip6;
 	};
 	uint8_t cidr;
+	uint32_t flags;
 	struct wgallowedip *next_allowedip;
 };