summaryrefslogtreecommitdiff
path: root/net/amnezia-tools/files/patch-containers.h
blob: 88563f74058a52239da5aee747256d472f147864 (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	2024-10-01 13:02:42 UTC
+++ containers.h
@@ -29,6 +29,10 @@ struct timespec64 {
 	int64_t tv_nsec;
 };
 
+enum {
+	WGALLOWEDIP_REMOVE_ME = 1U << 0,
+};
+
 struct wgallowedip {
 	uint16_t family;
 	union {
@@ -36,6 +40,7 @@ struct wgallowedip {
 		struct in6_addr ip6;
 	};
 	uint8_t cidr;
+	uint32_t flags;
 	struct wgallowedip *next_allowedip;
 };