File tree Expand file tree Collapse file tree
test/e2e/tools/event-writer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,6 +166,25 @@ struct drop_notify {
166166 uint8_t data [128 ];
167167};
168168
169+
170+ struct pktmon_notify {
171+ uint8_t type ;
172+ uint8_t subtype ;
173+ uint16_t source ;
174+ uint32_t hash ;
175+ uint32_t len_orig ;
176+ uint16_t len_cap ;
177+ uint16_t version ;
178+ uint32_t src_label ;
179+ uint32_t dst_label ;
180+ uint32_t dst_id ; /* 0 for egress */
181+ uint16_t line ;
182+ uint8_t file ;
183+ int8_t ext_error ;
184+ uint32_t ifindex ;
185+ uint8_t data [128 ];
186+ };
187+
169188struct metrics_key {
170189 uint8_t reason ; /* 0: forwarded, >0 dropped */
171190 uint8_t dir :2 , /* 1: ingress 2: egress */
@@ -237,10 +256,10 @@ typedef struct _PKTMON_EVT_STREAM_PACKET_HEADER
237256 PKTMON_EVT_STREAM_METADATA Metadata ;
238257} PKTMON_EVT_STREAM_PACKET_HEADER ;
239258
240- typedef struct pktmon_notify {
241- PKTMON_EVT_STREAM_PACKET_HEADER header ;
242- uint8_t data [128 ];
243- } pktmon_notify_t ;
259+ // typedef struct pktmon_notify {
260+ // PKTMON_EVT_STREAM_PACKET_HEADER header;
261+ // uint8_t data[128];
262+ // } pktmon_notify_t;
244263
245264#pragma pack(pop)
246265
You can’t perform that action at this time.
0 commit comments