@@ -31,6 +31,7 @@ struct PathSecretMapBackgroundHandshakeRequested<'a> {
31
31
struct PathSecretMapEntryInserted < ' a > {
32
32
peer_address : SocketAddress < ' a > ,
33
33
34
+ #[ snapshot( "[HIDDEN]" ) ]
34
35
credential_id : & ' a [ u8 ] ,
35
36
}
36
37
@@ -40,6 +41,7 @@ struct PathSecretMapEntryInserted<'a> {
40
41
struct PathSecretMapEntryReady < ' a > {
41
42
peer_address : SocketAddress < ' a > ,
42
43
44
+ #[ snapshot( "[HIDDEN]" ) ]
43
45
credential_id : & ' a [ u8 ] ,
44
46
}
45
47
@@ -49,8 +51,10 @@ struct PathSecretMapEntryReady<'a> {
49
51
struct PathSecretMapEntryReplaced < ' a > {
50
52
peer_address : SocketAddress < ' a > ,
51
53
54
+ #[ snapshot( "[HIDDEN]" ) ]
52
55
new_credential_id : & ' a [ u8 ] ,
53
56
57
+ #[ snapshot( "[HIDDEN]" ) ]
54
58
previous_credential_id : & ' a [ u8 ] ,
55
59
}
56
60
@@ -59,6 +63,8 @@ struct PathSecretMapEntryReplaced<'a> {
59
63
/// Emitted when an UnknownPathSecret packet was sent
60
64
struct UnknownPathSecretPacketSent < ' a > {
61
65
peer_address : SocketAddress < ' a > ,
66
+
67
+ #[ snapshot( "[HIDDEN]" ) ]
62
68
credential_id : & ' a [ u8 ] ,
63
69
}
64
70
@@ -67,6 +73,8 @@ struct UnknownPathSecretPacketSent<'a> {
67
73
/// Emitted when an UnknownPathSecret packet was received
68
74
struct UnknownPathSecretPacketReceived < ' a > {
69
75
peer_address : SocketAddress < ' a > ,
76
+
77
+ #[ snapshot( "[HIDDEN]" ) ]
70
78
credential_id : & ' a [ u8 ] ,
71
79
}
72
80
@@ -75,6 +83,8 @@ struct UnknownPathSecretPacketReceived<'a> {
75
83
/// Emitted when an UnknownPathSecret packet was authentic and processed
76
84
struct UnknownPathSecretPacketAccepted < ' a > {
77
85
peer_address : SocketAddress < ' a > ,
86
+
87
+ #[ snapshot( "[HIDDEN]" ) ]
78
88
credential_id : & ' a [ u8 ] ,
79
89
}
80
90
@@ -83,6 +93,8 @@ struct UnknownPathSecretPacketAccepted<'a> {
83
93
/// Emitted when an UnknownPathSecret packet was rejected as invalid
84
94
struct UnknownPathSecretPacketRejected < ' a > {
85
95
peer_address : SocketAddress < ' a > ,
96
+
97
+ #[ snapshot( "[HIDDEN]" ) ]
86
98
credential_id : & ' a [ u8 ] ,
87
99
}
88
100
@@ -91,14 +103,18 @@ struct UnknownPathSecretPacketRejected<'a> {
91
103
/// Emitted when an UnknownPathSecret packet was dropped due to a missing entry
92
104
struct UnknownPathSecretPacketDropped < ' a > {
93
105
peer_address : SocketAddress < ' a > ,
106
+
107
+ #[ snapshot( "[HIDDEN]" ) ]
94
108
credential_id : & ' a [ u8 ] ,
95
109
}
96
110
97
111
#[ event( "path_secret_map:replay_definitely_detected" ) ]
98
112
#[ subject( endpoint) ]
99
113
/// Emitted when credential replay was definitely detected
100
114
struct ReplayDefinitelyDetected < ' a > {
115
+ #[ snapshot( "[HIDDEN]" ) ]
101
116
credential_id : & ' a [ u8 ] ,
117
+
102
118
key_id : u64 ,
103
119
}
104
120
@@ -107,8 +123,11 @@ struct ReplayDefinitelyDetected<'a> {
107
123
/// Emitted when credential replay was potentially detected, but could not be verified
108
124
/// due to a limiting tracking window
109
125
struct ReplayPotentiallyDetected < ' a > {
126
+ #[ snapshot( "[HIDDEN]" ) ]
110
127
credential_id : & ' a [ u8 ] ,
128
+
111
129
key_id : u64 ,
130
+
112
131
gap : u64 ,
113
132
}
114
133
@@ -117,6 +136,8 @@ struct ReplayPotentiallyDetected<'a> {
117
136
/// Emitted when an ReplayDetected packet was sent
118
137
struct ReplayDetectedPacketSent < ' a > {
119
138
peer_address : SocketAddress < ' a > ,
139
+
140
+ #[ snapshot( "[HIDDEN]" ) ]
120
141
credential_id : & ' a [ u8 ] ,
121
142
}
122
143
@@ -125,6 +146,8 @@ struct ReplayDetectedPacketSent<'a> {
125
146
/// Emitted when an ReplayDetected packet was received
126
147
struct ReplayDetectedPacketReceived < ' a > {
127
148
peer_address : SocketAddress < ' a > ,
149
+
150
+ #[ snapshot( "[HIDDEN]" ) ]
128
151
credential_id : & ' a [ u8 ] ,
129
152
}
130
153
@@ -133,7 +156,10 @@ struct ReplayDetectedPacketReceived<'a> {
133
156
/// Emitted when an StaleKey packet was authentic and processed
134
157
struct ReplayDetectedPacketAccepted < ' a > {
135
158
peer_address : SocketAddress < ' a > ,
159
+
160
+ #[ snapshot( "[HIDDEN]" ) ]
136
161
credential_id : & ' a [ u8 ] ,
162
+
137
163
key_id : u64 ,
138
164
}
139
165
@@ -142,6 +168,8 @@ struct ReplayDetectedPacketAccepted<'a> {
142
168
/// Emitted when an ReplayDetected packet was rejected as invalid
143
169
struct ReplayDetectedPacketRejected < ' a > {
144
170
peer_address : SocketAddress < ' a > ,
171
+
172
+ #[ snapshot( "[HIDDEN]" ) ]
145
173
credential_id : & ' a [ u8 ] ,
146
174
}
147
175
@@ -150,6 +178,8 @@ struct ReplayDetectedPacketRejected<'a> {
150
178
/// Emitted when an ReplayDetected packet was dropped due to a missing entry
151
179
struct ReplayDetectedPacketDropped < ' a > {
152
180
peer_address : SocketAddress < ' a > ,
181
+
182
+ #[ snapshot( "[HIDDEN]" ) ]
153
183
credential_id : & ' a [ u8 ] ,
154
184
}
155
185
@@ -158,6 +188,8 @@ struct ReplayDetectedPacketDropped<'a> {
158
188
/// Emitted when an StaleKey packet was sent
159
189
struct StaleKeyPacketSent < ' a > {
160
190
peer_address : SocketAddress < ' a > ,
191
+
192
+ #[ snapshot( "[HIDDEN]" ) ]
161
193
credential_id : & ' a [ u8 ] ,
162
194
}
163
195
@@ -166,6 +198,8 @@ struct StaleKeyPacketSent<'a> {
166
198
/// Emitted when an StaleKey packet was received
167
199
struct StaleKeyPacketReceived < ' a > {
168
200
peer_address : SocketAddress < ' a > ,
201
+
202
+ #[ snapshot( "[HIDDEN]" ) ]
169
203
credential_id : & ' a [ u8 ] ,
170
204
}
171
205
@@ -174,6 +208,8 @@ struct StaleKeyPacketReceived<'a> {
174
208
/// Emitted when an StaleKey packet was authentic and processed
175
209
struct StaleKeyPacketAccepted < ' a > {
176
210
peer_address : SocketAddress < ' a > ,
211
+
212
+ #[ snapshot( "[HIDDEN]" ) ]
177
213
credential_id : & ' a [ u8 ] ,
178
214
}
179
215
@@ -182,6 +218,8 @@ struct StaleKeyPacketAccepted<'a> {
182
218
/// Emitted when an StaleKey packet was rejected as invalid
183
219
struct StaleKeyPacketRejected < ' a > {
184
220
peer_address : SocketAddress < ' a > ,
221
+
222
+ #[ snapshot( "[HIDDEN]" ) ]
185
223
credential_id : & ' a [ u8 ] ,
186
224
}
187
225
@@ -190,5 +228,7 @@ struct StaleKeyPacketRejected<'a> {
190
228
/// Emitted when an StaleKey packet was dropped due to a missing entry
191
229
struct StaleKeyPacketDropped < ' a > {
192
230
peer_address : SocketAddress < ' a > ,
231
+
232
+ #[ snapshot( "[HIDDEN]" ) ]
193
233
credential_id : & ' a [ u8 ] ,
194
234
}
0 commit comments