We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edbcf40 commit 7d17397Copy full SHA for 7d17397
src/flatbuffers/fb_network_filter.fbs
@@ -0,0 +1,26 @@
1
+// flatc --rust --gen-object-api -o src/flatbuffers/ src/flatbuffers/fb_network_filter.fbs
2
+
3
+namespace fb;
4
5
+table NetworkFilter {
6
+ mask: uint32; // NetworkFilterMask (network.rs)
7
8
+ // These arrays contain sorted(asc) indecies in the |unique_domains_hashes|
9
+ // instead of hashes itself. It saves a lot of memory because there
10
+ // aren't many unique hashes.
11
+ opt_domains: [uint16];
12
+ opt_not_domains: [uint16];
13
14
+ patterns: [string];
15
+ modifier_option: string;
16
+ hostname: string;
17
18
+ tag: string;
19
+}
20
21
+table NetworkFilterList {
22
+ network_filters: [NetworkFilter] (required);
23
+ unique_domains_hashes: [uint64] (required);
24
25
26
+root_type NetworkFilterList;
0 commit comments