Coverage Report

Created: 2025-11-16 07:09

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/suricata7/src/decode.h
Line
Count
Source
1
/* Copyright (C) 2007-2024 Open Information Security Foundation
2
 *
3
 * You can copy, redistribute or modify this Program under the terms of
4
 * the GNU General Public License version 2 as published by the Free
5
 * Software Foundation.
6
 *
7
 * This program is distributed in the hope that it will be useful,
8
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 * GNU General Public License for more details.
11
 *
12
 * You should have received a copy of the GNU General Public License
13
 * version 2 along with this program; if not, write to the Free Software
14
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15
 * 02110-1301, USA.
16
 */
17
18
/**
19
 * \file
20
 *
21
 * \author Victor Julien <victor@inliniac.net>
22
 */
23
24
#ifndef __DECODE_H__
25
#define __DECODE_H__
26
27
//#define DBG_THREADS
28
#define COUNTERS
29
30
#include "suricata-common.h"
31
#include "suricata-plugin.h"
32
#include "threadvars.h"
33
#include "util-debug.h"
34
#include "decode-events.h"
35
#include "util-exception-policy-types.h"
36
#ifdef PROFILING
37
#include "flow-worker.h"
38
#include "app-layer-protos.h"
39
#endif
40
41
#ifdef HAVE_NAPATECH
42
#include "util-napatech.h"
43
#endif /* HAVE_NAPATECH */
44
45
typedef enum {
46
    CHECKSUM_VALIDATION_DISABLE,
47
    CHECKSUM_VALIDATION_ENABLE,
48
    CHECKSUM_VALIDATION_AUTO,
49
    CHECKSUM_VALIDATION_RXONLY,
50
    CHECKSUM_VALIDATION_KERNEL,
51
    CHECKSUM_VALIDATION_OFFLOAD,
52
} ChecksumValidationMode;
53
54
enum PktSrcEnum {
55
    PKT_SRC_WIRE = 1,
56
    PKT_SRC_DECODER_GRE,
57
    PKT_SRC_DECODER_IPV4,
58
    PKT_SRC_DECODER_IPV6,
59
    PKT_SRC_DECODER_TEREDO,
60
    PKT_SRC_DEFRAG,
61
    PKT_SRC_FFR,
62
    PKT_SRC_STREAM_TCP_DETECTLOG_FLUSH,
63
    PKT_SRC_DECODER_VXLAN,
64
    PKT_SRC_DETECT_RELOAD_FLUSH,
65
    PKT_SRC_CAPTURE_TIMEOUT,
66
    PKT_SRC_DECODER_GENEVE,
67
    PKT_SRC_SHUTDOWN_FLUSH,
68
};
69
70
#include "source-nflog.h"
71
#include "source-nfq.h"
72
#include "source-ipfw.h"
73
#include "source-pcap.h"
74
#include "source-af-packet.h"
75
#include "source-netmap.h"
76
#include "source-windivert.h"
77
#ifdef HAVE_DPDK
78
#include "source-dpdk.h"
79
#endif
80
#ifdef HAVE_PF_RING_FLOW_OFFLOAD
81
#include "source-pfring.h"
82
#endif
83
#ifdef HAVE_AF_XDP
84
#include "source-af-xdp.h"
85
#endif
86
87
#include "decode-ethernet.h"
88
#include "decode-gre.h"
89
#include "decode-ppp.h"
90
#include "decode-pppoe.h"
91
#include "decode-ipv4.h"
92
#include "decode-ipv6.h"
93
#include "decode-icmpv4.h"
94
#include "decode-icmpv6.h"
95
#include "decode-tcp.h"
96
#include "decode-udp.h"
97
#include "decode-sctp.h"
98
#include "decode-esp.h"
99
#include "decode-vlan.h"
100
#include "decode-mpls.h"
101
102
103
/* forward declarations */
104
struct DetectionEngineThreadCtx_;
105
typedef struct AppLayerThreadCtx_ AppLayerThreadCtx;
106
107
struct PktPool_;
108
109
/* declare these here as they are called from the
110
 * PACKET_RECYCLE and PACKET_CLEANUP macro's. */
111
typedef struct AppLayerDecoderEvents_ AppLayerDecoderEvents;
112
void AppLayerDecoderEventsResetEvents(AppLayerDecoderEvents *events);
113
void AppLayerDecoderEventsFreeEvents(AppLayerDecoderEvents **events);
114
115
/* Address */
116
typedef struct Address_ {
117
    char family;
118
    union {
119
        uint32_t        address_un_data32[4]; /* type-specific field */
120
        uint16_t        address_un_data16[8]; /* type-specific field */
121
        uint8_t         address_un_data8[16]; /* type-specific field */
122
        struct in6_addr address_un_in6;
123
    } address;
124
} Address;
125
126
10.0M
#define addr_data32 address.address_un_data32
127
#define addr_data16 address.address_un_data16
128
#define addr_data8  address.address_un_data8
129
#define addr_in6addr    address.address_un_in6
130
131
330k
#define COPY_ADDRESS(a, b) do {                    \
132
330k
        (b)->family = (a)->family;                 \
133
330k
        (b)->addr_data32[0] = (a)->addr_data32[0]; \
134
330k
        (b)->addr_data32[1] = (a)->addr_data32[1]; \
135
330k
        (b)->addr_data32[2] = (a)->addr_data32[2]; \
136
330k
        (b)->addr_data32[3] = (a)->addr_data32[3]; \
137
330k
    } while (0)
138
139
/* Set the IPv4 addresses into the Addrs of the Packet.
140
 * Make sure p->ip4h is initialized and validated.
141
 *
142
 * We set the rest of the struct to 0 so we can
143
 * prevent using memset. */
144
15.0M
#define SET_IPV4_SRC_ADDR(p, a) do {                              \
145
15.0M
        (a)->family = AF_INET;                                    \
146
15.0M
        (a)->addr_data32[0] = (uint32_t)(p)->ip4h->s_ip_src.s_addr; \
147
15.0M
        (a)->addr_data32[1] = 0;                                  \
148
15.0M
        (a)->addr_data32[2] = 0;                                  \
149
15.0M
        (a)->addr_data32[3] = 0;                                  \
150
15.0M
    } while (0)
151
152
15.0M
#define SET_IPV4_DST_ADDR(p, a) do {                              \
153
15.0M
        (a)->family = AF_INET;                                    \
154
15.0M
        (a)->addr_data32[0] = (uint32_t)(p)->ip4h->s_ip_dst.s_addr; \
155
15.0M
        (a)->addr_data32[1] = 0;                                  \
156
15.0M
        (a)->addr_data32[2] = 0;                                  \
157
15.0M
        (a)->addr_data32[3] = 0;                                  \
158
15.0M
    } while (0)
159
160
/* Set the IPv6 addresses into the Addrs of the Packet.
161
 * Make sure p->ip6h is initialized and validated. */
162
642k
#define SET_IPV6_SRC_ADDR(p, a) do {                    \
163
642k
        (a)->family = AF_INET6;                         \
164
642k
        (a)->addr_data32[0] = (p)->ip6h->s_ip6_src[0];  \
165
642k
        (a)->addr_data32[1] = (p)->ip6h->s_ip6_src[1];  \
166
642k
        (a)->addr_data32[2] = (p)->ip6h->s_ip6_src[2];  \
167
642k
        (a)->addr_data32[3] = (p)->ip6h->s_ip6_src[3];  \
168
642k
    } while (0)
169
170
642k
#define SET_IPV6_DST_ADDR(p, a) do {                    \
171
642k
        (a)->family = AF_INET6;                         \
172
642k
        (a)->addr_data32[0] = (p)->ip6h->s_ip6_dst[0];  \
173
642k
        (a)->addr_data32[1] = (p)->ip6h->s_ip6_dst[1];  \
174
642k
        (a)->addr_data32[2] = (p)->ip6h->s_ip6_dst[2];  \
175
642k
        (a)->addr_data32[3] = (p)->ip6h->s_ip6_dst[3];  \
176
642k
    } while (0)
177
178
/* Set the TCP ports into the Ports of the Packet.
179
 * Make sure p->tcph is initialized and validated. */
180
6.67M
#define SET_TCP_SRC_PORT(pkt, prt) do {            \
181
6.67M
        SET_PORT(TCP_GET_SRC_PORT((pkt)), *(prt)); \
182
6.67M
    } while (0)
183
184
6.67M
#define SET_TCP_DST_PORT(pkt, prt) do {            \
185
6.67M
        SET_PORT(TCP_GET_DST_PORT((pkt)), *(prt)); \
186
6.67M
    } while (0)
187
188
/* Set the UDP ports into the Ports of the Packet.
189
 * Make sure p->udph is initialized and validated. */
190
222k
#define SET_UDP_SRC_PORT(pkt, prt) do {            \
191
222k
        SET_PORT(UDP_GET_SRC_PORT((pkt)), *(prt)); \
192
222k
    } while (0)
193
222k
#define SET_UDP_DST_PORT(pkt, prt) do {            \
194
222k
        SET_PORT(UDP_GET_DST_PORT((pkt)), *(prt)); \
195
222k
    } while (0)
196
197
/* Set the SCTP ports into the Ports of the Packet.
198
 * Make sure p->sctph is initialized and validated. */
199
4.68k
#define SET_SCTP_SRC_PORT(pkt, prt) do {            \
200
4.68k
        SET_PORT(SCTP_GET_SRC_PORT((pkt)), *(prt)); \
201
4.68k
    } while (0)
202
203
4.68k
#define SET_SCTP_DST_PORT(pkt, prt) do {            \
204
4.68k
        SET_PORT(SCTP_GET_DST_PORT((pkt)), *(prt)); \
205
4.68k
    } while (0)
206
207
208
544k
#define GET_IPV4_SRC_ADDR_U32(p) ((p)->src.addr_data32[0])
209
544k
#define GET_IPV4_DST_ADDR_U32(p) ((p)->dst.addr_data32[0])
210
3.68M
#define GET_IPV4_SRC_ADDR_PTR(p) ((p)->src.addr_data32)
211
3.95M
#define GET_IPV4_DST_ADDR_PTR(p) ((p)->dst.addr_data32)
212
213
#define GET_IPV6_SRC_IN6ADDR(p) ((p)->src.addr_in6addr)
214
#define GET_IPV6_DST_IN6ADDR(p) ((p)->dst.addr_in6addr)
215
2.03M
#define GET_IPV6_SRC_ADDR(p) ((p)->src.addr_data32)
216
2.08M
#define GET_IPV6_DST_ADDR(p) ((p)->dst.addr_data32)
217
#define GET_TCP_SRC_PORT(p)  ((p)->sp)
218
#define GET_TCP_DST_PORT(p)  ((p)->dp)
219
220
111M
#define GET_PKT_LEN(p) ((p)->pktlen)
221
34.6M
#define GET_PKT_DATA(p) ((((p)->ext_pkt) == NULL ) ? (uint8_t *)((p) + 1) : (p)->ext_pkt)
222
19.3M
#define GET_PKT_DIRECT_DATA(p) (uint8_t *)((p) + 1)
223
268k
#define GET_PKT_DIRECT_MAX_SIZE(p) (default_packet_size)
224
225
19.5M
#define SET_PKT_LEN(p, len) do { \
226
19.5M
    (p)->pktlen = (len); \
227
19.5M
    } while (0)
228
229
/* Port is just a uint16_t */
230
typedef uint16_t Port;
231
13.8M
#define SET_PORT(v, p) ((p) = (v))
232
#define COPY_PORT(a,b) ((b) = (a))
233
234
#define CMP_ADDR(a1, a2) \
235
1.97M
    (((a1)->addr_data32[3] == (a2)->addr_data32[3] && \
236
1.45M
      (a1)->addr_data32[2] == (a2)->addr_data32[2] && \
237
1.45M
      (a1)->addr_data32[1] == (a2)->addr_data32[1] && \
238
1.97M
      (a1)->addr_data32[0] == (a2)->addr_data32[0]))
239
#define CMP_PORT(p1, p2) \
240
29.8M
    ((p1) == (p2))
241
242
/*Given a packet pkt offset to the start of the ip header in a packet
243
 *We determine the ip version. */
244
1.25M
#define IP_GET_RAW_VER(pkt) ((((pkt)[0] & 0xf0) >> 4))
245
246
17.9M
#define PKT_IS_IPV4(p)      (((p)->ip4h != NULL))
247
4.24M
#define PKT_IS_IPV6(p)      (((p)->ip6h != NULL))
248
16.6M
#define PKT_IS_TCP(p)       (((p)->tcph != NULL))
249
2.96k
#define PKT_IS_UDP(p)       (((p)->udph != NULL))
250
1.41M
#define PKT_IS_ICMPV4(p)    (((p)->icmpv4h != NULL))
251
177k
#define PKT_IS_ICMPV6(p)    (((p)->icmpv6h != NULL))
252
126M
#define PKT_IS_TOSERVER(p)  (((p)->flowflags & FLOW_PKT_TOSERVER))
253
46.1M
#define PKT_IS_TOCLIENT(p)  (((p)->flowflags & FLOW_PKT_TOCLIENT))
254
255
#define IPH_IS_VALID(p) (PKT_IS_IPV4((p)) || PKT_IS_IPV6((p)))
256
257
/* Retrieve proto regardless of IP version */
258
#define IP_GET_IPPROTO(p) \
259
22.6M
    (p->proto ? p->proto : \
260
22.6M
    (PKT_IS_IPV4((p))? IPV4_GET_IPPROTO((p)) : (PKT_IS_IPV6((p))? IPV6_GET_L4PROTO((p)) : 0)))
261
262
/* structure to store the sids/gids/etc the detection engine
263
 * found in this packet */
264
typedef struct PacketAlert_ {
265
    SigIntId num; /* Internal num, used for sorting */
266
    uint8_t action; /* Internal num, used for thresholding */
267
    uint8_t flags;
268
    const struct Signature_ *s;
269
    uint64_t tx_id; /* Used for sorting */
270
    int64_t frame_id;
271
} PacketAlert;
272
273
/* flag to indicate the rule action (drop/pass) needs to be applied to the flow */
274
11.3k
#define PACKET_ALERT_FLAG_APPLY_ACTION_TO_FLOW 0x1
275
/** alert was generated based on state */
276
466k
#define PACKET_ALERT_FLAG_STATE_MATCH   0x02
277
/** alert was generated based on stream */
278
686k
#define PACKET_ALERT_FLAG_STREAM_MATCH  0x04
279
/** alert is in a tx, tx_id set */
280
1.01M
#define PACKET_ALERT_FLAG_TX            0x08
281
/** action was changed by rate_filter */
282
1.06k
#define PACKET_ALERT_RATE_FILTER_MODIFIED   0x10
283
/** alert is in a frame, frame_id set */
284
1.39M
#define PACKET_ALERT_FLAG_FRAME 0x20
285
/** alert in a tx was forced */
286
466k
#define PACKET_ALERT_FLAG_TX_GUESSED 0x040
287
288
extern uint16_t packet_alert_max;
289
#define PACKET_ALERT_MAX 15
290
291
typedef struct PacketAlerts_ {
292
    uint16_t cnt;
293
    uint16_t discarded;
294
    uint16_t suppressed;
295
    PacketAlert *alerts;
296
    /* single pa used when we're dropping,
297
     * so we can log it out in the drop log. */
298
    PacketAlert drop;
299
} PacketAlerts;
300
301
PacketAlert *PacketAlertCreate(void);
302
303
void PacketAlertFree(PacketAlert *pa);
304
305
/** number of decoder events we support per packet. Power of 2 minus 1
306
 *  for memory layout */
307
9.95M
#define PACKET_ENGINE_EVENT_MAX 15
308
309
/** data structure to store decoder, defrag and stream events */
310
typedef struct PacketEngineEvents_ {
311
    uint8_t cnt;                                /**< number of events */
312
    uint8_t events[PACKET_ENGINE_EVENT_MAX];   /**< array of events */
313
} PacketEngineEvents;
314
315
typedef struct PktVar_ {
316
    uint32_t id;
317
    struct PktVar_ *next; /* right now just implement this as a list,
318
                           * in the long run we have thing of something
319
                           * faster. */
320
    uint16_t key_len;
321
    uint16_t value_len;
322
    uint8_t *key;
323
    uint8_t *value;
324
} PktVar;
325
326
#ifdef PROFILING
327
328
/** \brief Per TMM stats storage */
329
typedef struct PktProfilingTmmData_ {
330
    uint64_t ticks_start;
331
    uint64_t ticks_end;
332
#ifdef PROFILE_LOCKING
333
    uint64_t mutex_lock_cnt;
334
    uint64_t mutex_lock_wait_ticks;
335
    uint64_t mutex_lock_contention;
336
    uint64_t spin_lock_cnt;
337
    uint64_t spin_lock_wait_ticks;
338
    uint64_t spin_lock_contention;
339
    uint64_t rww_lock_cnt;
340
    uint64_t rww_lock_wait_ticks;
341
    uint64_t rww_lock_contention;
342
    uint64_t rwr_lock_cnt;
343
    uint64_t rwr_lock_wait_ticks;
344
    uint64_t rwr_lock_contention;
345
#endif
346
} PktProfilingTmmData;
347
348
typedef struct PktProfilingData_ {
349
    uint64_t ticks_start;
350
    uint64_t ticks_end;
351
} PktProfilingData;
352
353
typedef struct PktProfilingDetectData_ {
354
    uint64_t ticks_start;
355
    uint64_t ticks_end;
356
    uint64_t ticks_spent;
357
} PktProfilingDetectData;
358
359
typedef struct PktProfilingAppData_ {
360
    uint64_t ticks_spent;
361
} PktProfilingAppData;
362
363
typedef struct PktProfilingLoggerData_ {
364
    uint64_t ticks_start;
365
    uint64_t ticks_end;
366
    uint64_t ticks_spent;
367
} PktProfilingLoggerData;
368
369
typedef struct PktProfilingPrefilterEngine_ {
370
    uint64_t ticks_spent;
371
} PktProfilingPrefilterEngine;
372
373
typedef struct PktProfilingPrefilterData_ {
374
    PktProfilingPrefilterEngine *engines;
375
    uint32_t size;          /**< array size */
376
} PktProfilingPrefilterData;
377
378
/** \brief Per pkt stats storage */
379
typedef struct PktProfiling_ {
380
    uint64_t ticks_start;
381
    uint64_t ticks_end;
382
383
    PktProfilingTmmData tmm[TMM_SIZE];
384
    PktProfilingData flowworker[PROFILE_FLOWWORKER_SIZE];
385
    PktProfilingAppData app[ALPROTO_MAX];
386
    PktProfilingDetectData detect[PROF_DETECT_SIZE];
387
    PktProfilingLoggerData logger[LOGGER_SIZE];
388
    uint64_t proto_detect;
389
} PktProfiling;
390
391
#endif /* PROFILING */
392
393
enum PacketDropReason {
394
    PKT_DROP_REASON_NOT_SET = 0,
395
    PKT_DROP_REASON_DECODE_ERROR,
396
    PKT_DROP_REASON_DEFRAG_ERROR,
397
    PKT_DROP_REASON_DEFRAG_MEMCAP,
398
    PKT_DROP_REASON_FLOW_MEMCAP,
399
    PKT_DROP_REASON_FLOW_DROP,
400
    PKT_DROP_REASON_APPLAYER_ERROR,
401
    PKT_DROP_REASON_APPLAYER_MEMCAP,
402
    PKT_DROP_REASON_RULES,
403
    PKT_DROP_REASON_RULES_THRESHOLD, /**< detection_filter in action */
404
    PKT_DROP_REASON_STREAM_ERROR,
405
    PKT_DROP_REASON_STREAM_MEMCAP,
406
    PKT_DROP_REASON_STREAM_MIDSTREAM,
407
    PKT_DROP_REASON_STREAM_REASSEMBLY,
408
    PKT_DROP_REASON_STREAM_URG,
409
    PKT_DROP_REASON_NFQ_ERROR,    /**< no nfq verdict, must be error */
410
    PKT_DROP_REASON_INNER_PACKET, /**< drop issued by inner (tunnel) packet */
411
    PKT_DROP_REASON_MAX,
412
};
413
414
/* forward declaration since Packet struct definition requires this */
415
struct PacketQueue_;
416
417
/* sizes of the members:
418
 * src: 17 bytes
419
 * dst: 17 bytes
420
 * sp/type: 1 byte
421
 * dp/code: 1 byte
422
 * proto: 1 byte
423
 * recurs: 1 byte
424
 *
425
 * sum of above: 38 bytes
426
 *
427
 * flow ptr: 4/8 bytes
428
 * flags: 1 byte
429
 * flowflags: 1 byte
430
 *
431
 * sum of above 44/48 bytes
432
 */
433
typedef struct Packet_
434
{
435
    /* Addresses, Ports and protocol
436
     * these are on top so we can use
437
     * the Packet as a hash key */
438
    Address src;
439
    Address dst;
440
    union {
441
        Port sp;
442
        // icmp type and code of this packet
443
        struct {
444
            uint8_t type;
445
            uint8_t code;
446
        } icmp_s;
447
    };
448
    union {
449
        Port dp;
450
        // icmp type and code of the expected counterpart (for flows)
451
        struct {
452
            uint8_t type;
453
            uint8_t code;
454
        } icmp_d;
455
    };
456
    uint8_t proto;
457
    /* make sure we can't be attacked on when the tunneled packet
458
     * has the exact same tuple as the lower levels */
459
    uint8_t recursion_level;
460
461
    uint16_t vlan_id[VLAN_MAX_LAYERS];
462
    uint8_t vlan_idx;
463
464
    /* flow */
465
    uint8_t flowflags;
466
    /* coccinelle: Packet:flowflags:FLOW_PKT_ */
467
468
    uint8_t app_update_direction; // enum StreamUpdateDir
469
470
    /* Pkt Flags */
471
    uint32_t flags;
472
473
    struct Flow_ *flow;
474
475
    /* raw hash value for looking up the flow, will need to modulated to the
476
     * hash size still */
477
    uint32_t flow_hash;
478
479
    SCTime_t ts;
480
481
    union {
482
        /* nfq stuff */
483
#ifdef HAVE_NFLOG
484
        NFLOGPacketVars nflog_v;
485
#endif /* HAVE_NFLOG */
486
#ifdef NFQ
487
        NFQPacketVars nfq_v;
488
#endif /* NFQ */
489
#ifdef IPFW
490
        IPFWPacketVars ipfw_v;
491
#endif /* IPFW */
492
#ifdef AF_PACKET
493
        AFPPacketVars afp_v;
494
#endif
495
#ifdef HAVE_NETMAP
496
        NetmapPacketVars netmap_v;
497
#endif
498
#ifdef HAVE_PFRING
499
#ifdef HAVE_PF_RING_FLOW_OFFLOAD
500
        PfringPacketVars pfring_v;
501
#endif
502
#endif
503
#ifdef WINDIVERT
504
        WinDivertPacketVars windivert_v;
505
#endif /* WINDIVERT */
506
#ifdef HAVE_DPDK
507
        DPDKPacketVars dpdk_v;
508
#endif
509
#ifdef HAVE_NAPATECH
510
        NapatechPacketVars ntpv;
511
#endif
512
#ifdef HAVE_AF_XDP
513
        AFXDPPacketVars afxdp_v;
514
#endif
515
        /* A chunk of memory that a plugin can use for its packet vars. */
516
        uint8_t plugin_v[PLUGIN_VAR_SIZE];
517
518
        /** libpcap vars: shared by Pcap Live mode and Pcap File mode */
519
        PcapPacketVars pcap_v;
520
    };
521
522
    /** The release function for packet structure and data */
523
    void (*ReleasePacket)(struct Packet_ *);
524
    /** The function triggering bypass the flow in the capture method.
525
     * Return 1 for success and 0 on error */
526
    int (*BypassPacketsFlow)(struct Packet_ *);
527
528
    /* pkt vars */
529
    PktVar *pktvar;
530
531
    /* header pointers */
532
    EthernetHdr *ethh;
533
534
    /* Checksum for IP packets. */
535
    int32_t level3_comp_csum;
536
    /* Check sum for TCP, UDP or ICMP packets */
537
    int32_t level4_comp_csum;
538
539
    IPV4Hdr *ip4h;
540
541
    IPV6Hdr *ip6h;
542
543
    /* IPv4 and IPv6 are mutually exclusive */
544
    union {
545
        IPV4Vars ip4vars;
546
        struct {
547
            IPV6Vars ip6vars;
548
            IPV6ExtHdrs ip6eh;
549
        };
550
    };
551
    /* Can only be one of TCP, UDP, ICMP at any given time */
552
    union {
553
        TCPVars tcpvars;
554
        ICMPV4Vars icmpv4vars;
555
        ICMPV6Vars icmpv6vars;
556
    } l4vars;
557
31.0M
#define tcpvars     l4vars.tcpvars
558
386k
#define icmpv4vars  l4vars.icmpv4vars
559
139k
#define icmpv6vars  l4vars.icmpv6vars
560
561
    TCPHdr *tcph;
562
563
    UDPHdr *udph;
564
565
    SCTPHdr *sctph;
566
567
    ESPHdr *esph;
568
569
    ICMPV4Hdr *icmpv4h;
570
571
    ICMPV6Hdr *icmpv6h;
572
573
    PPPOESessionHdr *pppoesh;
574
    PPPOEDiscoveryHdr *pppoedh;
575
576
    GREHdr *greh;
577
578
    /* ptr to the payload of the packet
579
     * with it's length. */
580
    uint8_t *payload;
581
    uint16_t payload_len;
582
583
    /* IPS action to take */
584
    uint8_t action;
585
586
    uint8_t pkt_src;
587
588
    /* storage: set to pointer to heap and extended via allocation if necessary */
589
    uint32_t pktlen;
590
    uint8_t *ext_pkt;
591
592
    /* Incoming interface */
593
    struct LiveDevice_ *livedev;
594
595
    PacketAlerts alerts;
596
597
    struct Host_ *host_src;
598
    struct Host_ *host_dst;
599
600
    /** packet number in the pcap file, matches wireshark */
601
    uint64_t pcap_cnt;
602
603
604
    /* engine events */
605
    PacketEngineEvents events;
606
607
    AppLayerDecoderEvents *app_layer_events;
608
609
    /* double linked list ptrs */
610
    struct Packet_ *next;
611
    struct Packet_ *prev;
612
613
    /** data linktype in host order */
614
    int datalink;
615
616
    /* count decoded layers of packet : too many layers
617
     * cause issues with performance and stability (stack exhaustion)
618
     */
619
    uint8_t nb_decoded_layers;
620
621
    /* enum PacketDropReason::PKT_DROP_REASON_* as uint8_t for compactness */
622
    uint8_t drop_reason;
623
624
    /* tunnel/encapsulation handling */
625
    struct Packet_ *root; /* in case of tunnel this is a ptr
626
                           * to the 'real' packet, the one we
627
                           * need to set the verdict on --
628
                           * It should always point to the lowest
629
                           * packet in a encapsulated packet */
630
631
    /* ready to set verdict counter, only set in root */
632
    uint16_t tunnel_rtv_cnt;
633
    /* tunnel packet ref count */
634
    uint16_t tunnel_tpr_cnt;
635
636
    /** tenant id for this packet, if any. If 0 then no tenant was assigned. */
637
    uint32_t tenant_id;
638
639
    /* The Packet pool from which this packet was allocated. Used when returning
640
     * the packet to its owner's stack. If NULL, then allocated with malloc.
641
     */
642
    struct PktPool_ *pool;
643
644
#ifdef PROFILING
645
    PktProfiling *profile;
646
#endif
647
    /* things in the packet that live beyond a reinit */
648
    struct {
649
        /** lock to protect access to:
650
         *  - tunnel_rtv_cnt
651
         *  - tunnel_tpr_cnt
652
         *  - nfq_v.mark
653
         *  - flags
654
         */
655
        SCSpinlock tunnel_lock;
656
    } persistent;
657
} Packet;
658
659
/** highest mtu of the interfaces we monitor */
660
33
#define DEFAULT_MTU 1500
661
#define MINIMUM_MTU 68      /**< ipv4 minimum: rfc791 */
662
663
33
#define DEFAULT_PACKET_SIZE (DEFAULT_MTU + ETHERNET_HEADER_LEN)
664
/* storage: maximum ip packet size + link header */
665
15.9k
#define MAX_PAYLOAD_SIZE (IPV6_HEADER_LEN + 65536 + 28)
666
extern uint32_t default_packet_size;
667
#define SIZE_OF_PACKET (default_packet_size + sizeof(Packet))
668
669
/** \brief Structure to hold thread specific data for all decode modules */
670
typedef struct DecodeThreadVars_
671
{
672
    /** Specific context for udp protocol detection (here atm) */
673
    AppLayerThreadCtx *app_tctx;
674
675
    /** stats/counters */
676
    uint16_t counter_pkts;
677
    uint16_t counter_bytes;
678
    uint16_t counter_avg_pkt_size;
679
    uint16_t counter_max_pkt_size;
680
    uint16_t counter_max_mac_addrs_src;
681
    uint16_t counter_max_mac_addrs_dst;
682
683
    uint16_t counter_invalid;
684
685
    uint16_t counter_eth;
686
    uint16_t counter_chdlc;
687
    uint16_t counter_ipv4;
688
    uint16_t counter_ipv6;
689
    uint16_t counter_tcp;
690
    uint16_t counter_tcp_syn;
691
    uint16_t counter_tcp_synack;
692
    uint16_t counter_tcp_rst;
693
    uint16_t counter_tcp_urg;
694
    uint16_t counter_udp;
695
    uint16_t counter_icmpv4;
696
    uint16_t counter_icmpv6;
697
    uint16_t counter_arp;
698
    uint16_t counter_ethertype_unknown;
699
700
    uint16_t counter_sll;
701
    uint16_t counter_raw;
702
    uint16_t counter_null;
703
    uint16_t counter_sctp;
704
    uint16_t counter_esp;
705
    uint16_t counter_ppp;
706
    uint16_t counter_geneve;
707
    uint16_t counter_gre;
708
    uint16_t counter_vlan;
709
    uint16_t counter_vlan_qinq;
710
    uint16_t counter_vlan_qinqinq;
711
    uint16_t counter_vxlan;
712
    uint16_t counter_vntag;
713
    uint16_t counter_ieee8021ah;
714
    uint16_t counter_pppoe;
715
    uint16_t counter_teredo;
716
    uint16_t counter_mpls;
717
    uint16_t counter_ipv4inipv4;
718
    uint16_t counter_ipv6inipv4;
719
    uint16_t counter_ipv4inipv6;
720
    uint16_t counter_ipv6inipv6;
721
    uint16_t counter_erspan;
722
    uint16_t counter_nsh;
723
724
    /** frag stats - defrag runs in the context of the decoder. */
725
    uint16_t counter_defrag_ipv4_fragments;
726
    uint16_t counter_defrag_ipv4_reassembled;
727
    uint16_t counter_defrag_ipv6_fragments;
728
    uint16_t counter_defrag_ipv6_reassembled;
729
    uint16_t counter_defrag_max_hit;
730
    ExceptionPolicyCounters counter_defrag_memcap_eps;
731
732
    uint16_t counter_flow_memcap;
733
    ExceptionPolicyCounters counter_flow_memcap_eps;
734
735
    uint16_t counter_tcp_active_sessions;
736
    uint16_t counter_flow_total;
737
    uint16_t counter_flow_active;
738
    uint16_t counter_flow_tcp;
739
    uint16_t counter_flow_udp;
740
    uint16_t counter_flow_icmp4;
741
    uint16_t counter_flow_icmp6;
742
    uint16_t counter_flow_tcp_reuse;
743
    uint16_t counter_flow_get_used;
744
    uint16_t counter_flow_get_used_eval;
745
    uint16_t counter_flow_get_used_eval_reject;
746
    uint16_t counter_flow_get_used_eval_busy;
747
    uint16_t counter_flow_get_used_failed;
748
749
    uint16_t counter_flow_spare_sync;
750
    uint16_t counter_flow_spare_sync_empty;
751
    uint16_t counter_flow_spare_sync_incomplete;
752
    uint16_t counter_flow_spare_sync_avg;
753
754
    uint16_t counter_engine_events[DECODE_EVENT_MAX];
755
756
    /* thread data for flow logging api: only used at forced
757
     * flow recycle during lookups */
758
    void *output_flow_thread_data;
759
760
} DecodeThreadVars;
761
762
void CaptureStatsUpdate(ThreadVars *tv, const Packet *p);
763
void CaptureStatsSetup(ThreadVars *tv);
764
765
6.90M
#define PACKET_CLEAR_L4VARS(p) do {                         \
766
6.90M
        memset(&(p)->l4vars, 0x00, sizeof((p)->l4vars));    \
767
6.90M
    } while (0)
768
769
/**
770
 *  \brief reset these to -1(indicates that the packet is fresh from the queue)
771
 */
772
9.04M
#define PACKET_RESET_CHECKSUMS(p) do { \
773
9.04M
        (p)->level3_comp_csum = -1;   \
774
9.04M
        (p)->level4_comp_csum = -1;   \
775
9.04M
    } while (0)
776
777
/* if p uses extended data, free them */
778
9.09M
#define PACKET_FREE_EXTDATA(p) do {                 \
779
9.09M
        if ((p)->ext_pkt) {                         \
780
63.8k
            if (!((p)->flags & PKT_ZERO_COPY)) {    \
781
63.8k
                SCFree((p)->ext_pkt);               \
782
63.8k
            }                                       \
783
63.8k
            (p)->ext_pkt = NULL;                    \
784
63.8k
        }                                           \
785
9.09M
    } while(0)
786
787
9.65k
#define TUNNEL_INCR_PKT_RTV_NOLOCK(p) do {                                          \
788
9.65k
        ((p)->root ? (p)->root->tunnel_rtv_cnt++ : (p)->tunnel_rtv_cnt++);          \
789
9.65k
    } while (0)
790
791
static inline void TUNNEL_INCR_PKT_TPR(Packet *p)
792
42.6k
{
793
42.6k
    Packet *rp = p->root ? p->root : p;
794
42.6k
    SCSpinLock(&rp->persistent.tunnel_lock);
795
42.6k
    rp->tunnel_tpr_cnt++;
796
42.6k
    SCSpinUnlock(&rp->persistent.tunnel_lock);
797
42.6k
}
Unexecuted instantiation: fuzz_applayerparserparse.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-parser.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-rdp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-rfb.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-sip.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-smb.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-smtp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-snmp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-ssh.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-ssl.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-tftp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-state.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow-hash.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow-manager.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow-queue.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow-spare-pool.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow-storage.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow-timeout.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow-util.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: host-timeout.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: ippair-timeout.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-file.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-filedata.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-flow.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: packet.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: pkt-var.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: reputation.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmodes.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-unix-socket.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-windivert.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: stream-tcp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: stream-tcp-list.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: stream-tcp-reassemble.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: stream-tcp-sack.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: suricata.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: tm-modules.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: tmqh-flow.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: tmqh-packetpool.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: tm-queuehandlers.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: tm-threads.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: unix-manager.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-checksum.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-datalink.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-debug.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-decode-mime.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-exception-policy.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-file.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-host-os-info.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-ioctl.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-ja3.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-landlock.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-macset.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-mpm.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-print.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-running-modes.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-streaming-buffer.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-threshold-config.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-time.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-var.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-var-name.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-detect-proto.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-dnp3.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-dnp3-objects.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-enip.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-enip-common.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-events.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-expectation.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-ftp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-frames.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-htp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-htp-file.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-htp-range.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-http2.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-ike.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-krb5.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-modbus.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-quic.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-mqtt.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-nfs-tcp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-nfs-udp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-ntp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: counters.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: datasets-string.c:TUNNEL_INCR_PKT_TPR
decode.c:TUNNEL_INCR_PKT_TPR
Line
Count
Source
792
42.6k
{
793
42.6k
    Packet *rp = p->root ? p->root : p;
794
42.6k
    SCSpinLock(&rp->persistent.tunnel_lock);
795
42.6k
    rp->tunnel_tpr_cnt++;
796
42.6k
    SCSpinUnlock(&rp->persistent.tunnel_lock);
797
42.6k
}
Unexecuted instantiation: decode-erspan.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-ethernet.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-geneve.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-icmpv4.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-icmpv6.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-ipv4.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-ipv6.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-mpls.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-nsh.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-ppp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-pppoe.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-sctp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-tcp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-teredo.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-udp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-vlan.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-vntag.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-vxlan.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: defrag.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: defrag-config.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: defrag-hash.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: defrag-queue.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: defrag-timeout.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-content.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-dsize.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-address.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-address-ipv4.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-address-ipv6.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-alert.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-build.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-content-inspection.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-frame.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-iponly.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-loader.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-mpm.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-payload.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-port.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-prefilter.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-prefilter-common.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-proto.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-register.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-siggroup.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-sigorder.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-tag.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-threshold.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-uint.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-fast-pattern.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-file-data.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-filemagic.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-filemd5.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-filename.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-filesha1.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-filesha256.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-filesize.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-filestore.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-flowbits.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-flow.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-flow-age.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-flowint.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-flowvar.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-fragbits.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-fragoffset.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-frame.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ftpbounce.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ftpdata.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-geoip.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-gid.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-hostbits.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http2.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-client-body.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-cookie.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-header.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-header-common.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-header-names.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-host.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-location.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-method.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-protocol.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-raw-header.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-referer.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-request-line.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-response-line.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-server-body.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-server.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-start.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-stat-code.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-stat-msg.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-ua.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-uri.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-icmp-id.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-icmp-seq.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-icmpv4hdr.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-icmpv6hdr.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-icmpv6-mtu.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-icode.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-id.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ike-exch-type.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ike-spi.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ike-vendor.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ike-chosen-sa.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ike-key-exchange-payload-length.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ike-nonce-payload-length.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ike-nonce-payload.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ike-key-exchange-payload.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ipaddr.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ipopts.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ipproto.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-iprep.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ipv4hdr.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ipv6hdr.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-isdataat.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-itype.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ja4-hash.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-krb5-cname.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-krb5-errcode.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-krb5-msgtype.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-krb5-sname.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-krb5-ticket-encryption.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-l3proto.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-lua.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mark.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-metadata.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-modbus.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-quic-sni.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-quic-ua.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-quic-version.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-quic-cyu-hash.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-quic-cyu-string.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-connack-sessionpresent.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-connect-clientid.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-connect-flags.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-connect-password.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-connect-username.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-connect-willmessage.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-connect-willtopic.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-flags.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-protocol-version.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-publish-message.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-publish-topic.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-qos.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-reason-code.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-subscribe-topic.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-type.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-mqtt-unsubscribe-topic.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-msg.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-nfs-procedure.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-nfs-version.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-noalert.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-nocase.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-offset.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-parse.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-pcre.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-pkt-data.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-pktvar.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-prefilter.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-priority.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-rawbytes.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-reference.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-replace.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-requires.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-rev.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-rfb-name.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-rfb-secresult.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-rfb-sectype.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-rpc.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-sameip.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-sid.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-sip-method.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-sip-protocol.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-sip-request-line.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-sip-response-line.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-sip-stat-code.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-sip-stat-msg.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-sip-uri.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-smb-ntlmssp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-smb-share.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-snmp-community.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-snmp-pdu_type.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-snmp-usm.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-snmp-version.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-dhcp-leasetime.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-dhcp-rebinding-time.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-dhcp-renewal-time.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ssh-hassh.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ssh-hassh-server.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ssh-hassh-server-string.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ssh-hassh-string.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ssh-proto.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ssh-proto-version.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ssh-software.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ssh-software-version.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ssl-state.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ssl-version.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-stream_size.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tag.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-target.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tcp-ack.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tcp-flags.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tcphdr.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tcpmss.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tcp-seq.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tcp-window.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-template2.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-template.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-template-rust-buffer.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-threshold.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-cert-fingerprint.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-cert-issuer.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-certs.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-cert-serial.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-cert-subject.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-cert-validity.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-ja3-hash.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-ja3s-hash.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-ja3s-string.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-ja3-string.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-sni.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-version.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tls-random.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-tos.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-casechange.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-compress-whitespace.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-dotprefix.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-header-lowercase.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-md5.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-pcrexform.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-sha1.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-sha256.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-strip-pseudo-headers.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-strip-whitespace.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-urldecode.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-transform-xor.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-ttl.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-udphdr.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-uricontent.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-urilen.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-within.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-xbits.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow-bit.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow-bypass.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow-var.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: flow-worker.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: host-bit.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: host.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: host-queue.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: host-storage.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: ippair-bit.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: ippair.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: ippair-queue.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: ippair-storage.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-eve-stream.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-filestore.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-alert.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-anomaly.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-bittorrent-dht.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-common.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-dcerpc.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-dhcp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-dnp3.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-dnp3-objects.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-dns.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-drop.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-email-common.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-file.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-flow.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-frame.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-ftp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-http2.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-http.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-ike.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-krb5.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-metadata.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-modbus.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-quic.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-mqtt.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-netflow.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-nfs.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-pgsql.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-rdp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-rfb.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-sip.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-smb.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-smtp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-snmp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-ssh.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-stats.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-template.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-tftp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-json-tls.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-eve-syslog.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-packet.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-stats.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-streaming.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: output-tx.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: packet-queue.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: respond-reject.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: respond-reject-libnet11.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-af-packet.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-af-xdp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-dpdk.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-erf-dag.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-erf-file.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-ipfw.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-napatech.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-netmap.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-nflog.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-nfq.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-pcap.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-pcap-file.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: runmode-pfring.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: rust-context.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-af-packet.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-af-xdp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-dpdk.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-erf-dag.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-erf-file.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-ipfw.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-napatech.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-netmap.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-nflog.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-nfq.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-pcap.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-pcap-file.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-pcap-file-directory-helper.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-pcap-file-helper.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-pfring.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: source-windivert.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: stream-tcp-inline.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: tmqh-simple.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-action.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-classification-config.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-detect.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-file-decompression.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-file-swf-decompression.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-logopenfile.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-mpm-ac-bs.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-mpm-ac.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-mpm-ac-ks.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-reference-config.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-rule-vars.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-runmodes.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-port-interval-tree.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: alert-debuglog.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: alert-fastlog.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: alert-syslog.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-htp-body.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-htp-xff.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: app-layer-register.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-chdlc.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-esp.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-gre.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-null.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-raw.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: decode-sll.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-app-layer-event.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-app-layer-protocol.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-asn1.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-base64-data.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-base64-decode.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-bsize.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-bypass.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-byte.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-byte-extract.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-bytejump.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-bytemath.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-bytetest.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-cipservice.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-classtype.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-config.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-csum.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-datarep.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-dataset.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-dce-iface.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-dce-opnum.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-dce-stub-data.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-depth.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-detection-filter.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-distance.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-dnp3.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-dns-opcode.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-dns-query.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-analyzer.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-enip.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-event.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-engine-file.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-file-hash-common.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-accept.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-accept-enc.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-accept-lang.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-connection.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-content-len.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: detect-http-content-type.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: log-httplog.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: log-pcap.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: log-stats.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: log-tcp-data.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: log-tlslog.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: log-tlsstore.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: stream.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: fuzz_sigpcap_aware.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: util-unittest-helper.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: fuzz_decodepcapfile.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: fuzz_mimedecparseline.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: fuzz_siginit.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: fuzz_sigpcap.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: fuzz_applayerprotodetectgetproto.c:TUNNEL_INCR_PKT_TPR
Unexecuted instantiation: fuzz_predefpcap_aware.c:TUNNEL_INCR_PKT_TPR
798
799
18.1k
#define TUNNEL_PKT_RTV(p) ((p)->root ? (p)->root->tunnel_rtv_cnt : (p)->tunnel_rtv_cnt)
800
18.1k
#define TUNNEL_PKT_TPR(p) ((p)->root ? (p)->root->tunnel_tpr_cnt : (p)->tunnel_tpr_cnt)
801
802
1.04M
#define IS_TUNNEL_PKT(p)            (((p)->flags & PKT_TUNNEL))
803
33.0k
#define SET_TUNNEL_PKT(p)           ((p)->flags |= PKT_TUNNEL)
804
8.05k
#define UNSET_TUNNEL_PKT(p)         ((p)->flags &= ~PKT_TUNNEL)
805
18.1k
#define IS_TUNNEL_ROOT_PKT(p)       (IS_TUNNEL_PKT(p) && (p)->root == NULL)
806
807
8.54k
#define IS_TUNNEL_PKT_VERDICTED(p)  (((p)->flags & PKT_TUNNEL_VERDICTED))
808
0
#define SET_TUNNEL_PKT_VERDICTED(p) ((p)->flags |= PKT_TUNNEL_VERDICTED)
809
810
enum DecodeTunnelProto {
811
    DECODE_TUNNEL_ETHERNET,
812
    DECODE_TUNNEL_ERSPANII,
813
    DECODE_TUNNEL_ERSPANI,
814
    DECODE_TUNNEL_VLAN,
815
    DECODE_TUNNEL_IPV4,
816
    DECODE_TUNNEL_IPV6,
817
    DECODE_TUNNEL_IPV6_TEREDO, /**< separate protocol for stricter error handling */
818
    DECODE_TUNNEL_PPP,
819
    DECODE_TUNNEL_NSH,
820
    DECODE_TUNNEL_UNSET
821
};
822
823
Packet *PacketTunnelPktSetup(ThreadVars *tv, DecodeThreadVars *dtv, Packet *parent,
824
                             const uint8_t *pkt, uint32_t len, enum DecodeTunnelProto proto);
825
Packet *PacketDefragPktSetup(Packet *parent, const uint8_t *pkt, uint32_t len, uint8_t proto);
826
void PacketDefragPktSetupParent(Packet *parent);
827
void DecodeRegisterPerfCounters(DecodeThreadVars *, ThreadVars *);
828
Packet *PacketGetFromQueueOrAlloc(void);
829
Packet *PacketGetFromAlloc(void);
830
void PacketDecodeFinalize(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p);
831
void PacketUpdateEngineEventCounters(ThreadVars *tv,
832
        DecodeThreadVars *dtv, Packet *p);
833
void PacketFree(Packet *p);
834
void PacketFreeOrRelease(Packet *p);
835
int PacketCallocExtPkt(Packet *p, int datalen);
836
int PacketCopyData(Packet *p, const uint8_t *pktdata, uint32_t pktlen);
837
int PacketSetData(Packet *p, const uint8_t *pktdata, uint32_t pktlen);
838
int PacketCopyDataOffset(Packet *p, uint32_t offset, const uint8_t *data, uint32_t datalen);
839
const char *PktSrcToString(enum PktSrcEnum pkt_src);
840
void PacketBypassCallback(Packet *p);
841
void PacketSwap(Packet *p);
842
843
DecodeThreadVars *DecodeThreadVarsAlloc(ThreadVars *);
844
void DecodeThreadVarsFree(ThreadVars *, DecodeThreadVars *);
845
void DecodeUpdatePacketCounters(ThreadVars *tv,
846
                                const DecodeThreadVars *dtv, const Packet *p);
847
const char *PacketDropReasonToString(enum PacketDropReason r);
848
849
/* decoder functions */
850
int DecodeEthernet(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
851
int DecodeSll(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
852
int DecodePPP(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
853
int DecodePPPOESession(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
854
int DecodePPPOEDiscovery(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
855
int DecodeNull(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
856
int DecodeRaw(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
857
int DecodeIPV4(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint16_t);
858
int DecodeIPV6(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint16_t);
859
int DecodeICMPV4(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
860
int DecodeICMPV6(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
861
int DecodeTCP(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint16_t);
862
int DecodeUDP(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint16_t);
863
int DecodeSCTP(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint16_t);
864
int DecodeESP(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint16_t);
865
int DecodeGRE(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
866
int DecodeVLAN(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
867
int DecodeVNTag(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
868
int DecodeIEEE8021ah(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
869
int DecodeGeneve(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
870
int DecodeVXLAN(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
871
int DecodeMPLS(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
872
int DecodeERSPAN(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
873
int DecodeERSPANTypeI(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
874
int DecodeCHDLC(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
875
int DecodeTEMPLATE(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
876
int DecodeNSH(ThreadVars *, DecodeThreadVars *, Packet *, const uint8_t *, uint32_t);
877
878
#ifdef UNITTESTS
879
void DecodeIPV6FragHeader(Packet *p, const uint8_t *pkt,
880
                          uint16_t hdrextlen, uint16_t plen,
881
                          uint16_t prev_hdrextlen);
882
#endif
883
884
void AddressDebugPrint(Address *);
885
886
typedef int (*DecoderFunc)(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p,
887
         const uint8_t *pkt, uint32_t len);
888
void DecodeGlobalConfig(void);
889
void PacketAlertGetMaxConfig(void);
890
void DecodeUnregisterCounters(void);
891
892
9.95M
#define ENGINE_SET_EVENT(p, e) do { \
893
9.95M
    SCLogDebug("p %p event %d", (p), e); \
894
9.95M
    if ((p)->events.cnt < PACKET_ENGINE_EVENT_MAX) { \
895
8.75M
        (p)->events.events[(p)->events.cnt] = e; \
896
8.75M
        (p)->events.cnt++; \
897
8.75M
    } \
898
9.95M
} while(0)
899
900
2.81M
#define ENGINE_SET_INVALID_EVENT(p, e) do { \
901
2.81M
    p->flags |= PKT_IS_INVALID; \
902
2.81M
    ENGINE_SET_EVENT(p, e); \
903
2.81M
} while(0)
904
905
906
907
1.02M
#define ENGINE_ISSET_EVENT(p, e) ({ \
908
1.02M
    int r = 0; \
909
1.02M
    uint8_t u; \
910
2.33M
    for (u = 0; u < (p)->events.cnt; u++) { \
911
1.32M
        if ((p)->events.events[u] == (e)) { \
912
11.8k
            r = 1; \
913
11.8k
            break; \
914
11.8k
        } \
915
1.32M
    } \
916
1.02M
    r; \
917
1.02M
})
918
919
#ifndef IPPROTO_IPIP
920
#define IPPROTO_IPIP 4
921
#endif
922
923
/* older libcs don't contain a def for IPPROTO_DCCP
924
 * inside of <netinet/in.h>
925
 * if it isn't defined let's define it here.
926
 */
927
#ifndef IPPROTO_DCCP
928
#define IPPROTO_DCCP 33
929
#endif
930
931
/* older libcs don't contain a def for IPPROTO_SCTP
932
 * inside of <netinet/in.h>
933
 * if it isn't defined let's define it here.
934
 */
935
#ifndef IPPROTO_SCTP
936
#define IPPROTO_SCTP 132
937
#endif
938
939
#ifndef IPPROTO_MH
940
#define IPPROTO_MH 135
941
#endif
942
943
/* Host Identity Protocol (rfc 5201) */
944
#ifndef IPPROTO_HIP
945
536k
#define IPPROTO_HIP 139
946
#endif
947
948
#ifndef IPPROTO_SHIM6
949
540k
#define IPPROTO_SHIM6 140
950
#endif
951
952
/* pcap provides this, but we don't want to depend on libpcap */
953
#ifndef DLT_EN10MB
954
0
#define DLT_EN10MB 1
955
#endif
956
957
#ifndef DLT_C_HDLC
958
0
#define DLT_C_HDLC 104
959
#endif
960
961
/* taken from pcap's bpf.h */
962
#ifndef DLT_RAW
963
#ifdef __OpenBSD__
964
#define DLT_RAW     14  /* raw IP */
965
#else
966
0
#define DLT_RAW     12  /* raw IP */
967
#endif
968
#endif
969
970
#ifndef DLT_NULL
971
0
#define DLT_NULL 0
972
#endif
973
974
/** libpcap shows us the way to linktype codes
975
 * \todo we need more & maybe put them in a separate file? */
976
5.05M
#define LINKTYPE_NULL        DLT_NULL
977
3.60M
#define LINKTYPE_ETHERNET    DLT_EN10MB
978
13.7k
#define LINKTYPE_LINUX_SLL   113
979
18.3k
#define LINKTYPE_PPP         9
980
168k
#define LINKTYPE_RAW         DLT_RAW
981
/* http://www.tcpdump.org/linktypes.html defines DLT_RAW as 101, yet others don't.
982
 * Libpcap on at least OpenBSD returns 101 as datalink type for RAW pcaps though. */
983
168k
#define LINKTYPE_RAW2        101
984
60.6k
#define LINKTYPE_IPV4        228
985
61.3k
#define LINKTYPE_IPV6        229
986
183k
#define LINKTYPE_GRE_OVER_IP 778
987
27.4k
#define LINKTYPE_CISCO_HDLC  DLT_C_HDLC
988
#define PPP_OVER_GRE         11
989
#define VLAN_OVER_GRE        13
990
991
/* Packet Flags */
992
993
/** Flag to indicate that packet header or contents should not be inspected */
994
17.0M
#define PKT_NOPACKET_INSPECTION BIT_U32(0)
995
/** Packet has a PPP_VJ_UCOMP header */
996
12.8k
#define PKT_PPP_VJ_UCOMP BIT_U32(1)
997
998
/** Flag to indicate that packet contents should not be inspected */
999
4.81M
#define PKT_NOPAYLOAD_INSPECTION BIT_U32(2)
1000
// vacancy
1001
1002
/** Packet has matched a tag */
1003
8.53M
#define PKT_HAS_TAG BIT_U32(4)
1004
/** Packet payload was added to reassembled stream */
1005
5.19M
#define PKT_STREAM_ADD BIT_U32(5)
1006
/** Packet is part of established stream */
1007
19.8M
#define PKT_STREAM_EST BIT_U32(6)
1008
/** Stream is in eof state */
1009
15.0M
#define PKT_STREAM_EOF BIT_U32(7)
1010
31.7M
#define PKT_HAS_FLOW   BIT_U32(8)
1011
/** Pseudo packet to end the stream */
1012
205M
#define PKT_PSEUDO_STREAM_END BIT_U32(9)
1013
/** Packet is modified by the stream engine, we need to recalc the csum and       \
1014
                   reinject/replace */
1015
6.43M
#define PKT_STREAM_MODIFIED BIT_U32(10)
1016
/** Packet mark is modified */
1017
#define PKT_MARK_MODIFIED BIT_U32(11)
1018
/** Exclude packet from pcap logging as it's part of a stream that has reassembly \
1019
                   depth reached. */
1020
455k
#define PKT_STREAM_NOPCAPLOG BIT_U32(12)
1021
1022
1.06M
#define PKT_TUNNEL           BIT_U32(13)
1023
8.54k
#define PKT_TUNNEL_VERDICTED BIT_U32(14)
1024
1025
/** Packet checksum is not computed (TX packet for example) */
1026
1.19M
#define PKT_IGNORE_CHECKSUM BIT_U32(15)
1027
/** Packet comes from zero copy (ext_pkt must not be freed) */
1028
63.8k
#define PKT_ZERO_COPY BIT_U32(16)
1029
1030
0
#define PKT_HOST_SRC_LOOKED_UP BIT_U32(17)
1031
0
#define PKT_HOST_DST_LOOKED_UP BIT_U32(18)
1032
1033
/** Packet is a fragment */
1034
9.02M
#define PKT_IS_FRAGMENT BIT_U32(19)
1035
30.7M
#define PKT_IS_INVALID  BIT_U32(20)
1036
#define PKT_PROFILE     BIT_U32(21)
1037
1038
/** indication by decoder that it feels the packet should be handled by
1039
 *  flow engine: Packet::flow_hash will be set */
1040
23.2M
#define PKT_WANTS_FLOW BIT_U32(22)
1041
1042
/** protocol detection done */
1043
130k
#define PKT_PROTO_DETECT_TS_DONE BIT_U32(23)
1044
70.9k
#define PKT_PROTO_DETECT_TC_DONE BIT_U32(24)
1045
1046
#define PKT_REBUILT_FRAGMENT                                                                       \
1047
12.3k
    BIT_U32(25) /**< Packet is rebuilt from                                                        \
1048
                 * fragments. */
1049
#define PKT_DETECT_HAS_STREAMDATA                                                                  \
1050
16.9M
    BIT_U32(26) /**< Set by Detect() if raw stream data is available. */
1051
1052
35.8M
#define PKT_PSEUDO_DETECTLOG_FLUSH BIT_U32(27) /**< Detect/log flush for protocol upgrade */
1053
1054
/** Packet is part of stream in known bad condition (loss, wrong thread),
1055
 *  so flag it for not setting stream events */
1056
2.86M
#define PKT_STREAM_NO_EVENTS BIT_U32(28)
1057
1058
/** We had no alert on flow before this packet */
1059
23.6k
#define PKT_FIRST_ALERTS BIT_U32(29)
1060
1.69k
#define PKT_FIRST_TAG    BIT_U32(30)
1061
1062
/** \brief return 1 if the packet is a pseudo packet */
1063
#define PKT_IS_PSEUDOPKT(p) \
1064
52.8M
    ((p)->flags & (PKT_PSEUDO_STREAM_END|PKT_PSEUDO_DETECTLOG_FLUSH))
1065
1066
1.31M
#define PKT_SET_SRC(p, src_val) ((p)->pkt_src = src_val)
1067
1068
#define PKT_DEFAULT_MAX_DECODED_LAYERS 16
1069
extern uint8_t decoder_max_layers;
1070
1071
static inline bool PacketIncreaseCheckLayers(Packet *p)
1072
27.4M
{
1073
27.4M
    p->nb_decoded_layers++;
1074
27.4M
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
2.44k
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
2.44k
        return false;
1077
2.44k
    }
1078
27.4M
    return true;
1079
27.4M
}
Unexecuted instantiation: fuzz_applayerparserparse.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-parser.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-rdp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-rfb.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-sip.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-smb.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-smtp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-snmp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-ssh.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-ssl.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-tftp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-state.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow-hash.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow-manager.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow-queue.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow-spare-pool.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow-storage.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow-timeout.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow-util.c:PacketIncreaseCheckLayers
Unexecuted instantiation: host-timeout.c:PacketIncreaseCheckLayers
Unexecuted instantiation: ippair-timeout.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-file.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-filedata.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-flow.c:PacketIncreaseCheckLayers
Unexecuted instantiation: packet.c:PacketIncreaseCheckLayers
Unexecuted instantiation: pkt-var.c:PacketIncreaseCheckLayers
Unexecuted instantiation: reputation.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmodes.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-unix-socket.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-windivert.c:PacketIncreaseCheckLayers
Unexecuted instantiation: stream-tcp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: stream-tcp-list.c:PacketIncreaseCheckLayers
Unexecuted instantiation: stream-tcp-reassemble.c:PacketIncreaseCheckLayers
Unexecuted instantiation: stream-tcp-sack.c:PacketIncreaseCheckLayers
Unexecuted instantiation: suricata.c:PacketIncreaseCheckLayers
Unexecuted instantiation: tm-modules.c:PacketIncreaseCheckLayers
Unexecuted instantiation: tmqh-flow.c:PacketIncreaseCheckLayers
Unexecuted instantiation: tmqh-packetpool.c:PacketIncreaseCheckLayers
Unexecuted instantiation: tm-queuehandlers.c:PacketIncreaseCheckLayers
Unexecuted instantiation: tm-threads.c:PacketIncreaseCheckLayers
Unexecuted instantiation: unix-manager.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-checksum.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-datalink.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-debug.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-decode-mime.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-exception-policy.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-file.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-host-os-info.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-ioctl.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-ja3.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-landlock.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-macset.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-mpm.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-print.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-running-modes.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-streaming-buffer.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-threshold-config.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-time.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-var.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-var-name.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-detect-proto.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-dnp3.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-dnp3-objects.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-enip.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-enip-common.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-events.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-expectation.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-ftp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-frames.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-htp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-htp-file.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-htp-range.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-http2.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-ike.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-krb5.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-modbus.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-quic.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-mqtt.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-nfs-tcp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-nfs-udp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-ntp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: counters.c:PacketIncreaseCheckLayers
Unexecuted instantiation: datasets-string.c:PacketIncreaseCheckLayers
Unexecuted instantiation: decode.c:PacketIncreaseCheckLayers
decode-erspan.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
3.97k
{
1073
3.97k
    p->nb_decoded_layers++;
1074
3.97k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
50
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
50
        return false;
1077
50
    }
1078
3.92k
    return true;
1079
3.97k
}
decode-ethernet.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
9.17M
{
1073
9.17M
    p->nb_decoded_layers++;
1074
9.17M
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
411
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
411
        return false;
1077
411
    }
1078
9.17M
    return true;
1079
9.17M
}
decode-geneve.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
18.8k
{
1073
18.8k
    p->nb_decoded_layers++;
1074
18.8k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
68
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
68
        return false;
1077
68
    }
1078
18.7k
    return true;
1079
18.8k
}
Unexecuted instantiation: decode-icmpv4.c:PacketIncreaseCheckLayers
Unexecuted instantiation: decode-icmpv6.c:PacketIncreaseCheckLayers
decode-ipv4.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
15.8M
{
1073
15.8M
    p->nb_decoded_layers++;
1074
15.8M
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
223
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
223
        return false;
1077
223
    }
1078
15.8M
    return true;
1079
15.8M
}
decode-ipv6.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
1.45M
{
1073
1.45M
    p->nb_decoded_layers++;
1074
1.45M
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
50
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
50
        return false;
1077
50
    }
1078
1.45M
    return true;
1079
1.45M
}
decode-mpls.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
24.3k
{
1073
24.3k
    p->nb_decoded_layers++;
1074
24.3k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
390
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
390
        return false;
1077
390
    }
1078
23.9k
    return true;
1079
24.3k
}
decode-nsh.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
9.46k
{
1073
9.46k
    p->nb_decoded_layers++;
1074
9.46k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
432
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
432
        return false;
1077
432
    }
1078
9.03k
    return true;
1079
9.46k
}
decode-ppp.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
33.3k
{
1073
33.3k
    p->nb_decoded_layers++;
1074
33.3k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
35
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
35
        return false;
1077
35
    }
1078
33.3k
    return true;
1079
33.3k
}
Unexecuted instantiation: decode-pppoe.c:PacketIncreaseCheckLayers
Unexecuted instantiation: decode-sctp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: decode-tcp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: decode-teredo.c:PacketIncreaseCheckLayers
Unexecuted instantiation: decode-udp.c:PacketIncreaseCheckLayers
decode-vlan.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
690k
{
1073
690k
    p->nb_decoded_layers++;
1074
690k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
171
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
171
        return false;
1077
171
    }
1078
690k
    return true;
1079
690k
}
decode-vntag.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
21.8k
{
1073
21.8k
    p->nb_decoded_layers++;
1074
21.8k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
456
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
456
        return false;
1077
456
    }
1078
21.4k
    return true;
1079
21.8k
}
decode-vxlan.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
15.0k
{
1073
15.0k
    p->nb_decoded_layers++;
1074
15.0k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
35
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
35
        return false;
1077
35
    }
1078
15.0k
    return true;
1079
15.0k
}
Unexecuted instantiation: defrag.c:PacketIncreaseCheckLayers
Unexecuted instantiation: defrag-config.c:PacketIncreaseCheckLayers
Unexecuted instantiation: defrag-hash.c:PacketIncreaseCheckLayers
Unexecuted instantiation: defrag-queue.c:PacketIncreaseCheckLayers
Unexecuted instantiation: defrag-timeout.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-content.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-dsize.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-address.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-address-ipv4.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-address-ipv6.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-alert.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-build.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-content-inspection.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-frame.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-iponly.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-loader.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-mpm.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-payload.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-port.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-prefilter.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-prefilter-common.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-proto.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-register.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-siggroup.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-sigorder.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-tag.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-threshold.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-uint.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-fast-pattern.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-file-data.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-filemagic.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-filemd5.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-filename.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-filesha1.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-filesha256.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-filesize.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-filestore.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-flowbits.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-flow.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-flow-age.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-flowint.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-flowvar.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-fragbits.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-fragoffset.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-frame.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ftpbounce.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ftpdata.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-geoip.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-gid.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-hostbits.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http2.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-client-body.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-cookie.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-header.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-header-common.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-header-names.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-host.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-location.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-method.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-protocol.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-raw-header.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-referer.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-request-line.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-response-line.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-server-body.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-server.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-start.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-stat-code.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-stat-msg.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-ua.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-uri.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-icmp-id.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-icmp-seq.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-icmpv4hdr.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-icmpv6hdr.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-icmpv6-mtu.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-icode.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-id.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ike-exch-type.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ike-spi.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ike-vendor.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ike-chosen-sa.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ike-key-exchange-payload-length.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ike-nonce-payload-length.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ike-nonce-payload.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ike-key-exchange-payload.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ipaddr.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ipopts.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ipproto.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-iprep.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ipv4hdr.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ipv6hdr.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-isdataat.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-itype.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ja4-hash.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-krb5-cname.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-krb5-errcode.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-krb5-msgtype.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-krb5-sname.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-krb5-ticket-encryption.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-l3proto.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-lua.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mark.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-metadata.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-modbus.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-quic-sni.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-quic-ua.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-quic-version.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-quic-cyu-hash.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-quic-cyu-string.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-connack-sessionpresent.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-connect-clientid.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-connect-flags.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-connect-password.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-connect-username.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-connect-willmessage.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-connect-willtopic.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-flags.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-protocol-version.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-publish-message.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-publish-topic.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-qos.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-reason-code.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-subscribe-topic.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-type.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-mqtt-unsubscribe-topic.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-msg.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-nfs-procedure.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-nfs-version.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-noalert.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-nocase.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-offset.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-parse.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-pcre.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-pkt-data.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-pktvar.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-prefilter.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-priority.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-rawbytes.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-reference.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-replace.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-requires.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-rev.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-rfb-name.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-rfb-secresult.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-rfb-sectype.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-rpc.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-sameip.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-sid.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-sip-method.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-sip-protocol.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-sip-request-line.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-sip-response-line.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-sip-stat-code.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-sip-stat-msg.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-sip-uri.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-smb-ntlmssp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-smb-share.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-snmp-community.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-snmp-pdu_type.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-snmp-usm.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-snmp-version.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-dhcp-leasetime.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-dhcp-rebinding-time.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-dhcp-renewal-time.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ssh-hassh.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ssh-hassh-server.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ssh-hassh-server-string.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ssh-hassh-string.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ssh-proto.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ssh-proto-version.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ssh-software.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ssh-software-version.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ssl-state.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ssl-version.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-stream_size.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tag.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-target.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tcp-ack.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tcp-flags.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tcphdr.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tcpmss.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tcp-seq.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tcp-window.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-template2.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-template.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-template-rust-buffer.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-threshold.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-cert-fingerprint.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-cert-issuer.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-certs.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-cert-serial.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-cert-subject.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-cert-validity.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-ja3-hash.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-ja3s-hash.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-ja3s-string.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-ja3-string.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-sni.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-version.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tls-random.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-tos.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-casechange.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-compress-whitespace.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-dotprefix.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-header-lowercase.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-md5.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-pcrexform.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-sha1.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-sha256.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-strip-pseudo-headers.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-strip-whitespace.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-urldecode.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-transform-xor.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-ttl.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-udphdr.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-uricontent.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-urilen.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-within.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-xbits.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow-bit.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow-bypass.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow-var.c:PacketIncreaseCheckLayers
Unexecuted instantiation: flow-worker.c:PacketIncreaseCheckLayers
Unexecuted instantiation: host-bit.c:PacketIncreaseCheckLayers
Unexecuted instantiation: host.c:PacketIncreaseCheckLayers
Unexecuted instantiation: host-queue.c:PacketIncreaseCheckLayers
Unexecuted instantiation: host-storage.c:PacketIncreaseCheckLayers
Unexecuted instantiation: ippair-bit.c:PacketIncreaseCheckLayers
Unexecuted instantiation: ippair.c:PacketIncreaseCheckLayers
Unexecuted instantiation: ippair-queue.c:PacketIncreaseCheckLayers
Unexecuted instantiation: ippair-storage.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-eve-stream.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-filestore.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-alert.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-anomaly.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-bittorrent-dht.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-common.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-dcerpc.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-dhcp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-dnp3.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-dnp3-objects.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-dns.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-drop.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-email-common.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-file.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-flow.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-frame.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-ftp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-http2.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-http.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-ike.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-krb5.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-metadata.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-modbus.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-quic.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-mqtt.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-netflow.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-nfs.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-pgsql.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-rdp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-rfb.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-sip.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-smb.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-smtp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-snmp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-ssh.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-stats.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-template.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-tftp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-json-tls.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-eve-syslog.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-packet.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-stats.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-streaming.c:PacketIncreaseCheckLayers
Unexecuted instantiation: output-tx.c:PacketIncreaseCheckLayers
Unexecuted instantiation: packet-queue.c:PacketIncreaseCheckLayers
Unexecuted instantiation: respond-reject.c:PacketIncreaseCheckLayers
Unexecuted instantiation: respond-reject-libnet11.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-af-packet.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-af-xdp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-dpdk.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-erf-dag.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-erf-file.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-ipfw.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-napatech.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-netmap.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-nflog.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-nfq.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-pcap.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-pcap-file.c:PacketIncreaseCheckLayers
Unexecuted instantiation: runmode-pfring.c:PacketIncreaseCheckLayers
Unexecuted instantiation: rust-context.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-af-packet.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-af-xdp.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-dpdk.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-erf-dag.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-erf-file.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-ipfw.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-napatech.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-netmap.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-nflog.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-nfq.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-pcap.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-pcap-file.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-pcap-file-directory-helper.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-pcap-file-helper.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-pfring.c:PacketIncreaseCheckLayers
Unexecuted instantiation: source-windivert.c:PacketIncreaseCheckLayers
Unexecuted instantiation: stream-tcp-inline.c:PacketIncreaseCheckLayers
Unexecuted instantiation: tmqh-simple.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-action.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-classification-config.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-detect.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-file-decompression.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-file-swf-decompression.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-logopenfile.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-mpm-ac-bs.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-mpm-ac.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-mpm-ac-ks.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-reference-config.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-rule-vars.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-runmodes.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-port-interval-tree.c:PacketIncreaseCheckLayers
Unexecuted instantiation: alert-debuglog.c:PacketIncreaseCheckLayers
Unexecuted instantiation: alert-fastlog.c:PacketIncreaseCheckLayers
Unexecuted instantiation: alert-syslog.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-htp-body.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-htp-xff.c:PacketIncreaseCheckLayers
Unexecuted instantiation: app-layer-register.c:PacketIncreaseCheckLayers
decode-chdlc.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
44.7k
{
1073
44.7k
    p->nb_decoded_layers++;
1074
44.7k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
0
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
0
        return false;
1077
0
    }
1078
44.7k
    return true;
1079
44.7k
}
decode-esp.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
18.4k
{
1073
18.4k
    p->nb_decoded_layers++;
1074
18.4k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
60
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
60
        return false;
1077
60
    }
1078
18.3k
    return true;
1079
18.4k
}
decode-gre.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
57.9k
{
1073
57.9k
    p->nb_decoded_layers++;
1074
57.9k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
65
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
65
        return false;
1077
65
    }
1078
57.8k
    return true;
1079
57.9k
}
Unexecuted instantiation: decode-null.c:PacketIncreaseCheckLayers
Unexecuted instantiation: decode-raw.c:PacketIncreaseCheckLayers
decode-sll.c:PacketIncreaseCheckLayers
Line
Count
Source
1072
27.9k
{
1073
27.9k
    p->nb_decoded_layers++;
1074
27.9k
    if (p->nb_decoded_layers >= decoder_max_layers) {
1075
0
        ENGINE_SET_INVALID_EVENT(p, GENERIC_TOO_MANY_LAYERS);
1076
0
        return false;
1077
0
    }
1078
27.9k
    return true;
1079
27.9k
}
Unexecuted instantiation: detect-app-layer-event.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-app-layer-protocol.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-asn1.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-base64-data.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-base64-decode.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-bsize.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-bypass.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-byte.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-byte-extract.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-bytejump.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-bytemath.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-bytetest.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-cipservice.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-classtype.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-config.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-csum.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-datarep.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-dataset.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-dce-iface.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-dce-opnum.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-dce-stub-data.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-depth.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-detection-filter.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-distance.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-dnp3.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-dns-opcode.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-dns-query.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-analyzer.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-enip.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-event.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-engine-file.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-file-hash-common.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-accept.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-accept-enc.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-accept-lang.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-connection.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-content-len.c:PacketIncreaseCheckLayers
Unexecuted instantiation: detect-http-content-type.c:PacketIncreaseCheckLayers
Unexecuted instantiation: log-httplog.c:PacketIncreaseCheckLayers
Unexecuted instantiation: log-pcap.c:PacketIncreaseCheckLayers
Unexecuted instantiation: log-stats.c:PacketIncreaseCheckLayers
Unexecuted instantiation: log-tcp-data.c:PacketIncreaseCheckLayers
Unexecuted instantiation: log-tlslog.c:PacketIncreaseCheckLayers
Unexecuted instantiation: log-tlsstore.c:PacketIncreaseCheckLayers
Unexecuted instantiation: stream.c:PacketIncreaseCheckLayers
Unexecuted instantiation: fuzz_sigpcap_aware.c:PacketIncreaseCheckLayers
Unexecuted instantiation: util-unittest-helper.c:PacketIncreaseCheckLayers
Unexecuted instantiation: fuzz_decodepcapfile.c:PacketIncreaseCheckLayers
Unexecuted instantiation: fuzz_mimedecparseline.c:PacketIncreaseCheckLayers
Unexecuted instantiation: fuzz_siginit.c:PacketIncreaseCheckLayers
Unexecuted instantiation: fuzz_sigpcap.c:PacketIncreaseCheckLayers
Unexecuted instantiation: fuzz_applayerprotodetectgetproto.c:PacketIncreaseCheckLayers
Unexecuted instantiation: fuzz_predefpcap_aware.c:PacketIncreaseCheckLayers
1080
1081
/** \brief Set the No payload inspection Flag for the packet.
1082
 *
1083
 * \param p Packet to set the flag in
1084
 */
1085
static inline void DecodeSetNoPayloadInspectionFlag(Packet *p)
1086
566k
{
1087
566k
    p->flags |= PKT_NOPAYLOAD_INSPECTION;
1088
566k
}
Unexecuted instantiation: fuzz_applayerparserparse.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-parser.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-rdp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-rfb.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-sip.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-smb.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-smtp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-snmp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-ssh.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-ssl.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-tftp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-state.c:DecodeSetNoPayloadInspectionFlag
flow.c:DecodeSetNoPayloadInspectionFlag
Line
Count
Source
1086
523k
{
1087
523k
    p->flags |= PKT_NOPAYLOAD_INSPECTION;
1088
523k
}
Unexecuted instantiation: flow-hash.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: flow-manager.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: flow-queue.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: flow-spare-pool.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: flow-storage.c:DecodeSetNoPayloadInspectionFlag
flow-timeout.c:DecodeSetNoPayloadInspectionFlag
Line
Count
Source
1086
225
{
1087
225
    p->flags |= PKT_NOPAYLOAD_INSPECTION;
1088
225
}
Unexecuted instantiation: flow-util.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: host-timeout.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: ippair-timeout.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-file.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-filedata.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-flow.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: packet.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: pkt-var.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: reputation.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmodes.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-unix-socket.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-windivert.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: stream-tcp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: stream-tcp-list.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: stream-tcp-reassemble.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: stream-tcp-sack.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: suricata.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: tm-modules.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: tmqh-flow.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: tmqh-packetpool.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: tm-queuehandlers.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: tm-threads.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: unix-manager.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-checksum.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-datalink.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-debug.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-decode-mime.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-exception-policy.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-file.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-host-os-info.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-ioctl.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-ja3.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-landlock.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-macset.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-mpm.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-print.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-running-modes.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-streaming-buffer.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-threshold-config.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-time.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-var.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-var-name.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-detect-proto.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-dnp3.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-dnp3-objects.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-enip.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-enip-common.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-events.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-expectation.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-ftp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-frames.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-htp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-htp-file.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-htp-range.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-http2.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-ike.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-krb5.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-modbus.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-quic.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-mqtt.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-nfs-tcp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-nfs-udp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-ntp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: counters.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: datasets-string.c:DecodeSetNoPayloadInspectionFlag
decode.c:DecodeSetNoPayloadInspectionFlag
Line
Count
Source
1086
42.6k
{
1087
42.6k
    p->flags |= PKT_NOPAYLOAD_INSPECTION;
1088
42.6k
}
Unexecuted instantiation: decode-erspan.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-ethernet.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-geneve.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-icmpv4.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-icmpv6.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-ipv4.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-ipv6.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-mpls.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-nsh.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-ppp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-pppoe.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-sctp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-tcp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-teredo.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-udp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-vlan.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-vntag.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-vxlan.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: defrag.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: defrag-config.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: defrag-hash.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: defrag-queue.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: defrag-timeout.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-content.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-dsize.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-address.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-address-ipv4.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-address-ipv6.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-alert.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-build.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-content-inspection.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-frame.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-iponly.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-loader.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-mpm.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-payload.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-port.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-prefilter.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-prefilter-common.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-proto.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-register.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-siggroup.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-sigorder.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-tag.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-threshold.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-uint.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-fast-pattern.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-file-data.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-filemagic.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-filemd5.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-filename.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-filesha1.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-filesha256.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-filesize.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-filestore.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-flowbits.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-flow.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-flow-age.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-flowint.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-flowvar.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-fragbits.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-fragoffset.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-frame.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ftpbounce.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ftpdata.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-geoip.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-gid.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-hostbits.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http2.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-client-body.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-cookie.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-header.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-header-common.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-header-names.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-host.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-location.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-method.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-protocol.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-raw-header.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-referer.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-request-line.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-response-line.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-server-body.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-server.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-start.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-stat-code.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-stat-msg.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-ua.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-uri.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-icmp-id.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-icmp-seq.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-icmpv4hdr.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-icmpv6hdr.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-icmpv6-mtu.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-icode.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-id.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ike-exch-type.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ike-spi.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ike-vendor.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ike-chosen-sa.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ike-key-exchange-payload-length.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ike-nonce-payload-length.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ike-nonce-payload.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ike-key-exchange-payload.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ipaddr.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ipopts.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ipproto.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-iprep.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ipv4hdr.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ipv6hdr.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-isdataat.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-itype.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ja4-hash.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-krb5-cname.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-krb5-errcode.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-krb5-msgtype.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-krb5-sname.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-krb5-ticket-encryption.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-l3proto.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-lua.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mark.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-metadata.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-modbus.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-quic-sni.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-quic-ua.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-quic-version.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-quic-cyu-hash.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-quic-cyu-string.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-connack-sessionpresent.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-clientid.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-flags.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-password.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-username.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-willmessage.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-willtopic.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-flags.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-protocol-version.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-publish-message.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-publish-topic.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-qos.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-reason-code.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-subscribe-topic.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-type.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-mqtt-unsubscribe-topic.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-msg.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-nfs-procedure.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-nfs-version.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-noalert.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-nocase.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-offset.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-parse.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-pcre.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-pkt-data.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-pktvar.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-prefilter.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-priority.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-rawbytes.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-reference.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-replace.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-requires.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-rev.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-rfb-name.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-rfb-secresult.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-rfb-sectype.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-rpc.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-sameip.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-sid.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-sip-method.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-sip-protocol.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-sip-request-line.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-sip-response-line.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-sip-stat-code.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-sip-stat-msg.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-sip-uri.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-smb-ntlmssp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-smb-share.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-snmp-community.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-snmp-pdu_type.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-snmp-usm.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-snmp-version.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-dhcp-leasetime.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-dhcp-rebinding-time.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-dhcp-renewal-time.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ssh-hassh.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ssh-hassh-server.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ssh-hassh-server-string.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ssh-hassh-string.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ssh-proto.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ssh-proto-version.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ssh-software.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ssh-software-version.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ssl-state.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ssl-version.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-stream_size.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tag.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-target.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tcp-ack.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tcp-flags.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tcphdr.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tcpmss.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tcp-seq.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tcp-window.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-template2.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-template.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-template-rust-buffer.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-threshold.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-cert-fingerprint.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-cert-issuer.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-certs.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-cert-serial.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-cert-subject.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-cert-validity.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-ja3-hash.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-ja3s-hash.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-ja3s-string.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-ja3-string.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-sni.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-version.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tls-random.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-tos.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-casechange.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-compress-whitespace.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-dotprefix.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-header-lowercase.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-md5.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-pcrexform.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-sha1.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-sha256.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-strip-pseudo-headers.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-strip-whitespace.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-urldecode.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-transform-xor.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-ttl.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-udphdr.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-uricontent.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-urilen.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-within.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-xbits.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: flow-bit.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: flow-bypass.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: flow-var.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: flow-worker.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: host-bit.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: host.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: host-queue.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: host-storage.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: ippair-bit.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: ippair.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: ippair-queue.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: ippair-storage.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-eve-stream.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-filestore.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-alert.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-anomaly.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-bittorrent-dht.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-common.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-dcerpc.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-dhcp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-dnp3.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-dnp3-objects.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-dns.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-drop.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-email-common.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-file.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-flow.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-frame.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-ftp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-http2.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-http.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-ike.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-krb5.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-metadata.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-modbus.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-quic.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-mqtt.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-netflow.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-nfs.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-pgsql.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-rdp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-rfb.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-sip.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-smb.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-smtp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-snmp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-ssh.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-stats.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-template.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-tftp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-json-tls.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-eve-syslog.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-packet.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-stats.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-streaming.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: output-tx.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: packet-queue.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: respond-reject.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: respond-reject-libnet11.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-af-packet.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-af-xdp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-dpdk.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-erf-dag.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-erf-file.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-ipfw.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-napatech.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-netmap.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-nflog.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-nfq.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-pcap.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-pcap-file.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: runmode-pfring.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: rust-context.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-af-packet.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-af-xdp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-dpdk.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-erf-dag.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-erf-file.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-ipfw.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-napatech.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-netmap.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-nflog.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-nfq.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-pcap.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-pcap-file.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-pcap-file-directory-helper.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-pcap-file-helper.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-pfring.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: source-windivert.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: stream-tcp-inline.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: tmqh-simple.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-action.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-classification-config.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-detect.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-file-decompression.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-file-swf-decompression.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-logopenfile.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-mpm-ac-bs.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-mpm-ac.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-mpm-ac-ks.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-reference-config.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-rule-vars.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-runmodes.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-port-interval-tree.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: alert-debuglog.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: alert-fastlog.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: alert-syslog.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-htp-body.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-htp-xff.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: app-layer-register.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-chdlc.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-esp.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-gre.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-null.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-raw.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: decode-sll.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-app-layer-event.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-app-layer-protocol.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-asn1.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-base64-data.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-base64-decode.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-bsize.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-bypass.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-byte.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-byte-extract.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-bytejump.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-bytemath.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-bytetest.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-cipservice.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-classtype.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-config.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-csum.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-datarep.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-dataset.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-dce-iface.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-dce-opnum.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-dce-stub-data.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-depth.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-detection-filter.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-distance.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-dnp3.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-dns-opcode.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-dns-query.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-analyzer.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-enip.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-event.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-engine-file.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-file-hash-common.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-accept.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-accept-enc.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-accept-lang.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-connection.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-content-len.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: detect-http-content-type.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: log-httplog.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: log-pcap.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: log-stats.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: log-tcp-data.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: log-tlslog.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: log-tlsstore.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: stream.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: fuzz_sigpcap_aware.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: util-unittest-helper.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: fuzz_decodepcapfile.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: fuzz_mimedecparseline.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: fuzz_siginit.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: fuzz_sigpcap.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: fuzz_applayerprotodetectgetproto.c:DecodeSetNoPayloadInspectionFlag
Unexecuted instantiation: fuzz_predefpcap_aware.c:DecodeSetNoPayloadInspectionFlag
1089
1090
/** \brief Set the No packet inspection Flag for the packet.
1091
 *
1092
 * \param p Packet to set the flag in
1093
 */
1094
static inline void DecodeSetNoPacketInspectionFlag(Packet *p)
1095
27.9k
{
1096
27.9k
    p->flags |= PKT_NOPACKET_INSPECTION;
1097
27.9k
}
Unexecuted instantiation: fuzz_applayerparserparse.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-parser.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-rdp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-rfb.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-sip.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-smb.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-smtp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-snmp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-ssh.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-ssl.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-tftp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-state.c:DecodeSetNoPacketInspectionFlag
flow.c:DecodeSetNoPacketInspectionFlag
Line
Count
Source
1095
26.4k
{
1096
26.4k
    p->flags |= PKT_NOPACKET_INSPECTION;
1097
26.4k
}
Unexecuted instantiation: flow-hash.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: flow-manager.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: flow-queue.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: flow-spare-pool.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: flow-storage.c:DecodeSetNoPacketInspectionFlag
flow-timeout.c:DecodeSetNoPacketInspectionFlag
Line
Count
Source
1095
1.10k
{
1096
1.10k
    p->flags |= PKT_NOPACKET_INSPECTION;
1097
1.10k
}
Unexecuted instantiation: flow-util.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: host-timeout.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: ippair-timeout.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-file.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-filedata.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-flow.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: packet.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: pkt-var.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: reputation.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmodes.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-unix-socket.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-windivert.c:DecodeSetNoPacketInspectionFlag
stream-tcp.c:DecodeSetNoPacketInspectionFlag
Line
Count
Source
1095
420
{
1096
420
    p->flags |= PKT_NOPACKET_INSPECTION;
1097
420
}
Unexecuted instantiation: stream-tcp-list.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: stream-tcp-reassemble.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: stream-tcp-sack.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: suricata.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: tm-modules.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: tmqh-flow.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: tmqh-packetpool.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: tm-queuehandlers.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: tm-threads.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: unix-manager.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-checksum.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-datalink.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-debug.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-decode-mime.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-exception-policy.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-file.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-host-os-info.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-ioctl.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-ja3.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-landlock.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-macset.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-mpm.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-print.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-running-modes.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-streaming-buffer.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-threshold-config.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-time.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-var.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-var-name.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-detect-proto.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-dnp3.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-dnp3-objects.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-enip.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-enip-common.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-events.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-expectation.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-ftp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-frames.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-htp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-htp-file.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-htp-range.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-http2.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-ike.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-krb5.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-modbus.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-quic.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-mqtt.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-nfs-tcp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-nfs-udp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-ntp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: counters.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: datasets-string.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-erspan.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-ethernet.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-geneve.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-icmpv4.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-icmpv6.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-ipv4.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-ipv6.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-mpls.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-nsh.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-ppp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-pppoe.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-sctp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-tcp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-teredo.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-udp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-vlan.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-vntag.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-vxlan.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: defrag.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: defrag-config.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: defrag-hash.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: defrag-queue.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: defrag-timeout.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-content.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-dsize.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-address.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-address-ipv4.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-address-ipv6.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-alert.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-build.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-content-inspection.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-frame.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-iponly.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-loader.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-mpm.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-payload.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-port.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-prefilter.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-prefilter-common.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-proto.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-register.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-siggroup.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-sigorder.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-tag.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-threshold.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-uint.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-fast-pattern.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-file-data.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-filemagic.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-filemd5.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-filename.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-filesha1.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-filesha256.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-filesize.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-filestore.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-flowbits.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-flow.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-flow-age.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-flowint.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-flowvar.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-fragbits.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-fragoffset.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-frame.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ftpbounce.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ftpdata.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-geoip.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-gid.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-hostbits.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http2.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-client-body.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-cookie.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-header.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-header-common.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-header-names.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-host.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-location.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-method.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-protocol.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-raw-header.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-referer.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-request-line.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-response-line.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-server-body.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-server.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-start.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-stat-code.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-stat-msg.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-ua.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-uri.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-icmp-id.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-icmp-seq.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-icmpv4hdr.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-icmpv6hdr.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-icmpv6-mtu.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-icode.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-id.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ike-exch-type.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ike-spi.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ike-vendor.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ike-chosen-sa.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ike-key-exchange-payload-length.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ike-nonce-payload-length.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ike-nonce-payload.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ike-key-exchange-payload.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ipaddr.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ipopts.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ipproto.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-iprep.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ipv4hdr.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ipv6hdr.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-isdataat.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-itype.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ja4-hash.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-krb5-cname.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-krb5-errcode.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-krb5-msgtype.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-krb5-sname.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-krb5-ticket-encryption.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-l3proto.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-lua.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mark.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-metadata.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-modbus.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-quic-sni.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-quic-ua.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-quic-version.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-quic-cyu-hash.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-quic-cyu-string.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-connack-sessionpresent.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-clientid.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-flags.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-password.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-username.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-willmessage.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-connect-willtopic.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-flags.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-protocol-version.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-publish-message.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-publish-topic.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-qos.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-reason-code.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-subscribe-topic.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-type.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-mqtt-unsubscribe-topic.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-msg.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-nfs-procedure.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-nfs-version.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-noalert.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-nocase.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-offset.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-parse.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-pcre.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-pkt-data.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-pktvar.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-prefilter.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-priority.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-rawbytes.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-reference.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-replace.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-requires.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-rev.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-rfb-name.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-rfb-secresult.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-rfb-sectype.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-rpc.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-sameip.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-sid.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-sip-method.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-sip-protocol.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-sip-request-line.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-sip-response-line.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-sip-stat-code.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-sip-stat-msg.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-sip-uri.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-smb-ntlmssp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-smb-share.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-snmp-community.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-snmp-pdu_type.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-snmp-usm.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-snmp-version.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-dhcp-leasetime.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-dhcp-rebinding-time.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-dhcp-renewal-time.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ssh-hassh.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ssh-hassh-server.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ssh-hassh-server-string.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ssh-hassh-string.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ssh-proto.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ssh-proto-version.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ssh-software.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ssh-software-version.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ssl-state.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ssl-version.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-stream_size.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tag.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-target.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tcp-ack.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tcp-flags.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tcphdr.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tcpmss.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tcp-seq.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tcp-window.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-template2.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-template.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-template-rust-buffer.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-threshold.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-cert-fingerprint.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-cert-issuer.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-certs.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-cert-serial.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-cert-subject.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-cert-validity.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-ja3-hash.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-ja3s-hash.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-ja3s-string.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-ja3-string.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-sni.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-version.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tls-random.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-tos.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-casechange.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-compress-whitespace.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-dotprefix.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-header-lowercase.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-md5.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-pcrexform.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-sha1.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-sha256.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-strip-pseudo-headers.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-strip-whitespace.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-urldecode.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-transform-xor.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-ttl.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-udphdr.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-uricontent.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-urilen.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-within.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-xbits.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: flow-bit.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: flow-bypass.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: flow-var.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: flow-worker.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: host-bit.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: host.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: host-queue.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: host-storage.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: ippair-bit.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: ippair.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: ippair-queue.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: ippair-storage.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-eve-stream.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-filestore.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-alert.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-anomaly.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-bittorrent-dht.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-common.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-dcerpc.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-dhcp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-dnp3.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-dnp3-objects.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-dns.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-drop.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-email-common.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-file.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-flow.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-frame.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-ftp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-http2.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-http.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-ike.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-krb5.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-metadata.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-modbus.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-quic.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-mqtt.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-netflow.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-nfs.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-pgsql.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-rdp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-rfb.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-sip.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-smb.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-smtp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-snmp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-ssh.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-stats.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-template.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-tftp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-json-tls.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-eve-syslog.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-packet.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-stats.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-streaming.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: output-tx.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: packet-queue.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: respond-reject.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: respond-reject-libnet11.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-af-packet.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-af-xdp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-dpdk.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-erf-dag.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-erf-file.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-ipfw.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-napatech.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-netmap.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-nflog.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-nfq.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-pcap.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-pcap-file.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: runmode-pfring.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: rust-context.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-af-packet.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-af-xdp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-dpdk.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-erf-dag.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-erf-file.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-ipfw.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-napatech.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-netmap.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-nflog.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-nfq.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-pcap.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-pcap-file.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-pcap-file-directory-helper.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-pcap-file-helper.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-pfring.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: source-windivert.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: stream-tcp-inline.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: tmqh-simple.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-action.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-classification-config.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-detect.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-file-decompression.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-file-swf-decompression.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-logopenfile.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-mpm-ac-bs.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-mpm-ac.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-mpm-ac-ks.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-reference-config.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-rule-vars.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-runmodes.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-port-interval-tree.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: alert-debuglog.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: alert-fastlog.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: alert-syslog.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-htp-body.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-htp-xff.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: app-layer-register.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-chdlc.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-esp.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-gre.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-null.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-raw.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: decode-sll.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-app-layer-event.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-app-layer-protocol.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-asn1.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-base64-data.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-base64-decode.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-bsize.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-bypass.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-byte.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-byte-extract.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-bytejump.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-bytemath.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-bytetest.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-cipservice.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-classtype.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-config.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-csum.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-datarep.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-dataset.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-dce-iface.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-dce-opnum.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-dce-stub-data.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-depth.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-detection-filter.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-distance.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-dnp3.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-dns-opcode.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-dns-query.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-analyzer.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-enip.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-event.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-engine-file.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-file-hash-common.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-accept.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-accept-enc.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-accept-lang.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-connection.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-content-len.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: detect-http-content-type.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: log-httplog.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: log-pcap.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: log-stats.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: log-tcp-data.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: log-tlslog.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: log-tlsstore.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: stream.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: fuzz_sigpcap_aware.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: util-unittest-helper.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: fuzz_decodepcapfile.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: fuzz_mimedecparseline.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: fuzz_siginit.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: fuzz_sigpcap.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: fuzz_applayerprotodetectgetproto.c:DecodeSetNoPacketInspectionFlag
Unexecuted instantiation: fuzz_predefpcap_aware.c:DecodeSetNoPacketInspectionFlag
1098
1099
/** \brief return true if *this* packet needs to trigger a verdict.
1100
 *
1101
 *  If we have the root packet, and we have none outstanding,
1102
 *  we can verdict now.
1103
 *
1104
 *  If we have a upper layer packet, it's the only one and root
1105
 *  is already processed, we can verdict now.
1106
 *
1107
 *  Otherwise, a future packet will issue the verdict.
1108
 */
1109
static inline bool VerdictTunnelPacket(Packet *p)
1110
0
{
1111
0
    bool verdict = true;
1112
0
    SCSpinlock *lock = p->root ? &p->root->persistent.tunnel_lock : &p->persistent.tunnel_lock;
1113
0
    SCSpinLock(lock);
1114
0
    const uint16_t outstanding = TUNNEL_PKT_TPR(p) - TUNNEL_PKT_RTV(p);
1115
0
    SCLogDebug("tunnel: outstanding %u", outstanding);
1116
0
1117
0
    /* if there are packets outstanding, we won't verdict this one */
1118
0
    if (IS_TUNNEL_ROOT_PKT(p) && !IS_TUNNEL_PKT_VERDICTED(p) && !outstanding) {
1119
0
        // verdict
1120
0
        SCLogDebug("root %p: verdict", p);
1121
0
    } else if (!IS_TUNNEL_ROOT_PKT(p) && outstanding == 1 && p->root && IS_TUNNEL_PKT_VERDICTED(p->root)) {
1122
0
        // verdict
1123
0
        SCLogDebug("tunnel %p: verdict", p);
1124
0
    } else {
1125
0
        verdict = false;
1126
0
    }
1127
0
    SCSpinUnlock(lock);
1128
0
    return verdict;
1129
0
}
Unexecuted instantiation: fuzz_applayerparserparse.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-parser.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-rdp.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-rfb.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-sip.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-smb.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-smtp.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-snmp.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-ssh.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-ssl.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-tftp.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-state.c:VerdictTunnelPacket
Unexecuted instantiation: flow.c:VerdictTunnelPacket
Unexecuted instantiation: flow-hash.c:VerdictTunnelPacket
Unexecuted instantiation: flow-manager.c:VerdictTunnelPacket
Unexecuted instantiation: flow-queue.c:VerdictTunnelPacket
Unexecuted instantiation: flow-spare-pool.c:VerdictTunnelPacket
Unexecuted instantiation: flow-storage.c:VerdictTunnelPacket
Unexecuted instantiation: flow-timeout.c:VerdictTunnelPacket
Unexecuted instantiation: flow-util.c:VerdictTunnelPacket
Unexecuted instantiation: host-timeout.c:VerdictTunnelPacket
Unexecuted instantiation: ippair-timeout.c:VerdictTunnelPacket
Unexecuted instantiation: output-file.c:VerdictTunnelPacket
Unexecuted instantiation: output-filedata.c:VerdictTunnelPacket
Unexecuted instantiation: output-flow.c:VerdictTunnelPacket
Unexecuted instantiation: packet.c:VerdictTunnelPacket
Unexecuted instantiation: pkt-var.c:VerdictTunnelPacket
Unexecuted instantiation: reputation.c:VerdictTunnelPacket
Unexecuted instantiation: runmodes.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-unix-socket.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-windivert.c:VerdictTunnelPacket
Unexecuted instantiation: stream-tcp.c:VerdictTunnelPacket
Unexecuted instantiation: stream-tcp-list.c:VerdictTunnelPacket
Unexecuted instantiation: stream-tcp-reassemble.c:VerdictTunnelPacket
Unexecuted instantiation: stream-tcp-sack.c:VerdictTunnelPacket
Unexecuted instantiation: suricata.c:VerdictTunnelPacket
Unexecuted instantiation: tm-modules.c:VerdictTunnelPacket
Unexecuted instantiation: tmqh-flow.c:VerdictTunnelPacket
Unexecuted instantiation: tmqh-packetpool.c:VerdictTunnelPacket
Unexecuted instantiation: tm-queuehandlers.c:VerdictTunnelPacket
Unexecuted instantiation: tm-threads.c:VerdictTunnelPacket
Unexecuted instantiation: unix-manager.c:VerdictTunnelPacket
Unexecuted instantiation: util-checksum.c:VerdictTunnelPacket
Unexecuted instantiation: util-datalink.c:VerdictTunnelPacket
Unexecuted instantiation: util-debug.c:VerdictTunnelPacket
Unexecuted instantiation: util-decode-mime.c:VerdictTunnelPacket
Unexecuted instantiation: util-exception-policy.c:VerdictTunnelPacket
Unexecuted instantiation: util-file.c:VerdictTunnelPacket
Unexecuted instantiation: util-host-os-info.c:VerdictTunnelPacket
Unexecuted instantiation: util-ioctl.c:VerdictTunnelPacket
Unexecuted instantiation: util-ja3.c:VerdictTunnelPacket
Unexecuted instantiation: util-landlock.c:VerdictTunnelPacket
Unexecuted instantiation: util-macset.c:VerdictTunnelPacket
Unexecuted instantiation: util-mpm.c:VerdictTunnelPacket
Unexecuted instantiation: util-print.c:VerdictTunnelPacket
Unexecuted instantiation: util-running-modes.c:VerdictTunnelPacket
Unexecuted instantiation: util-streaming-buffer.c:VerdictTunnelPacket
Unexecuted instantiation: util-threshold-config.c:VerdictTunnelPacket
Unexecuted instantiation: util-time.c:VerdictTunnelPacket
Unexecuted instantiation: util-var.c:VerdictTunnelPacket
Unexecuted instantiation: util-var-name.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-detect-proto.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-dnp3.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-dnp3-objects.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-enip.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-enip-common.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-events.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-expectation.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-ftp.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-frames.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-htp.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-htp-file.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-htp-range.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-http2.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-ike.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-krb5.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-modbus.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-quic.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-mqtt.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-nfs-tcp.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-nfs-udp.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-ntp.c:VerdictTunnelPacket
Unexecuted instantiation: counters.c:VerdictTunnelPacket
Unexecuted instantiation: datasets-string.c:VerdictTunnelPacket
Unexecuted instantiation: decode.c:VerdictTunnelPacket
Unexecuted instantiation: decode-erspan.c:VerdictTunnelPacket
Unexecuted instantiation: decode-ethernet.c:VerdictTunnelPacket
Unexecuted instantiation: decode-geneve.c:VerdictTunnelPacket
Unexecuted instantiation: decode-icmpv4.c:VerdictTunnelPacket
Unexecuted instantiation: decode-icmpv6.c:VerdictTunnelPacket
Unexecuted instantiation: decode-ipv4.c:VerdictTunnelPacket
Unexecuted instantiation: decode-ipv6.c:VerdictTunnelPacket
Unexecuted instantiation: decode-mpls.c:VerdictTunnelPacket
Unexecuted instantiation: decode-nsh.c:VerdictTunnelPacket
Unexecuted instantiation: decode-ppp.c:VerdictTunnelPacket
Unexecuted instantiation: decode-pppoe.c:VerdictTunnelPacket
Unexecuted instantiation: decode-sctp.c:VerdictTunnelPacket
Unexecuted instantiation: decode-tcp.c:VerdictTunnelPacket
Unexecuted instantiation: decode-teredo.c:VerdictTunnelPacket
Unexecuted instantiation: decode-udp.c:VerdictTunnelPacket
Unexecuted instantiation: decode-vlan.c:VerdictTunnelPacket
Unexecuted instantiation: decode-vntag.c:VerdictTunnelPacket
Unexecuted instantiation: decode-vxlan.c:VerdictTunnelPacket
Unexecuted instantiation: defrag.c:VerdictTunnelPacket
Unexecuted instantiation: defrag-config.c:VerdictTunnelPacket
Unexecuted instantiation: defrag-hash.c:VerdictTunnelPacket
Unexecuted instantiation: defrag-queue.c:VerdictTunnelPacket
Unexecuted instantiation: defrag-timeout.c:VerdictTunnelPacket
Unexecuted instantiation: detect-content.c:VerdictTunnelPacket
Unexecuted instantiation: detect-dsize.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-address.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-address-ipv4.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-address-ipv6.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-alert.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-build.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-content-inspection.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-frame.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-iponly.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-loader.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-mpm.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-payload.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-port.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-prefilter.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-prefilter-common.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-proto.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-register.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-siggroup.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-sigorder.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-tag.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-threshold.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-uint.c:VerdictTunnelPacket
Unexecuted instantiation: detect-fast-pattern.c:VerdictTunnelPacket
Unexecuted instantiation: detect-file-data.c:VerdictTunnelPacket
Unexecuted instantiation: detect-filemagic.c:VerdictTunnelPacket
Unexecuted instantiation: detect-filemd5.c:VerdictTunnelPacket
Unexecuted instantiation: detect-filename.c:VerdictTunnelPacket
Unexecuted instantiation: detect-filesha1.c:VerdictTunnelPacket
Unexecuted instantiation: detect-filesha256.c:VerdictTunnelPacket
Unexecuted instantiation: detect-filesize.c:VerdictTunnelPacket
Unexecuted instantiation: detect-filestore.c:VerdictTunnelPacket
Unexecuted instantiation: detect-flowbits.c:VerdictTunnelPacket
Unexecuted instantiation: detect-flow.c:VerdictTunnelPacket
Unexecuted instantiation: detect-flow-age.c:VerdictTunnelPacket
Unexecuted instantiation: detect-flowint.c:VerdictTunnelPacket
Unexecuted instantiation: detect-flowvar.c:VerdictTunnelPacket
Unexecuted instantiation: detect-fragbits.c:VerdictTunnelPacket
Unexecuted instantiation: detect-fragoffset.c:VerdictTunnelPacket
Unexecuted instantiation: detect-frame.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ftpbounce.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ftpdata.c:VerdictTunnelPacket
Unexecuted instantiation: detect-geoip.c:VerdictTunnelPacket
Unexecuted instantiation: detect-gid.c:VerdictTunnelPacket
Unexecuted instantiation: detect-hostbits.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http2.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-client-body.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-cookie.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-header.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-header-common.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-header-names.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-host.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-location.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-method.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-protocol.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-raw-header.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-referer.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-request-line.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-response-line.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-server-body.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-server.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-start.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-stat-code.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-stat-msg.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-ua.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-uri.c:VerdictTunnelPacket
Unexecuted instantiation: detect-icmp-id.c:VerdictTunnelPacket
Unexecuted instantiation: detect-icmp-seq.c:VerdictTunnelPacket
Unexecuted instantiation: detect-icmpv4hdr.c:VerdictTunnelPacket
Unexecuted instantiation: detect-icmpv6hdr.c:VerdictTunnelPacket
Unexecuted instantiation: detect-icmpv6-mtu.c:VerdictTunnelPacket
Unexecuted instantiation: detect-icode.c:VerdictTunnelPacket
Unexecuted instantiation: detect-id.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ike-exch-type.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ike-spi.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ike-vendor.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ike-chosen-sa.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ike-key-exchange-payload-length.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ike-nonce-payload-length.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ike-nonce-payload.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ike-key-exchange-payload.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ipaddr.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ipopts.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ipproto.c:VerdictTunnelPacket
Unexecuted instantiation: detect-iprep.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ipv4hdr.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ipv6hdr.c:VerdictTunnelPacket
Unexecuted instantiation: detect-isdataat.c:VerdictTunnelPacket
Unexecuted instantiation: detect-itype.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ja4-hash.c:VerdictTunnelPacket
Unexecuted instantiation: detect-krb5-cname.c:VerdictTunnelPacket
Unexecuted instantiation: detect-krb5-errcode.c:VerdictTunnelPacket
Unexecuted instantiation: detect-krb5-msgtype.c:VerdictTunnelPacket
Unexecuted instantiation: detect-krb5-sname.c:VerdictTunnelPacket
Unexecuted instantiation: detect-krb5-ticket-encryption.c:VerdictTunnelPacket
Unexecuted instantiation: detect-l3proto.c:VerdictTunnelPacket
Unexecuted instantiation: detect-lua.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mark.c:VerdictTunnelPacket
Unexecuted instantiation: detect-metadata.c:VerdictTunnelPacket
Unexecuted instantiation: detect-modbus.c:VerdictTunnelPacket
Unexecuted instantiation: detect-quic-sni.c:VerdictTunnelPacket
Unexecuted instantiation: detect-quic-ua.c:VerdictTunnelPacket
Unexecuted instantiation: detect-quic-version.c:VerdictTunnelPacket
Unexecuted instantiation: detect-quic-cyu-hash.c:VerdictTunnelPacket
Unexecuted instantiation: detect-quic-cyu-string.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-connack-sessionpresent.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-connect-clientid.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-connect-flags.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-connect-password.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-connect-username.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-connect-willmessage.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-connect-willtopic.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-flags.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-protocol-version.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-publish-message.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-publish-topic.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-qos.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-reason-code.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-subscribe-topic.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-type.c:VerdictTunnelPacket
Unexecuted instantiation: detect-mqtt-unsubscribe-topic.c:VerdictTunnelPacket
Unexecuted instantiation: detect-msg.c:VerdictTunnelPacket
Unexecuted instantiation: detect-nfs-procedure.c:VerdictTunnelPacket
Unexecuted instantiation: detect-nfs-version.c:VerdictTunnelPacket
Unexecuted instantiation: detect-noalert.c:VerdictTunnelPacket
Unexecuted instantiation: detect-nocase.c:VerdictTunnelPacket
Unexecuted instantiation: detect-offset.c:VerdictTunnelPacket
Unexecuted instantiation: detect-parse.c:VerdictTunnelPacket
Unexecuted instantiation: detect-pcre.c:VerdictTunnelPacket
Unexecuted instantiation: detect-pkt-data.c:VerdictTunnelPacket
Unexecuted instantiation: detect-pktvar.c:VerdictTunnelPacket
Unexecuted instantiation: detect-prefilter.c:VerdictTunnelPacket
Unexecuted instantiation: detect-priority.c:VerdictTunnelPacket
Unexecuted instantiation: detect-rawbytes.c:VerdictTunnelPacket
Unexecuted instantiation: detect-reference.c:VerdictTunnelPacket
Unexecuted instantiation: detect-replace.c:VerdictTunnelPacket
Unexecuted instantiation: detect-requires.c:VerdictTunnelPacket
Unexecuted instantiation: detect-rev.c:VerdictTunnelPacket
Unexecuted instantiation: detect-rfb-name.c:VerdictTunnelPacket
Unexecuted instantiation: detect-rfb-secresult.c:VerdictTunnelPacket
Unexecuted instantiation: detect-rfb-sectype.c:VerdictTunnelPacket
Unexecuted instantiation: detect-rpc.c:VerdictTunnelPacket
Unexecuted instantiation: detect-sameip.c:VerdictTunnelPacket
Unexecuted instantiation: detect-sid.c:VerdictTunnelPacket
Unexecuted instantiation: detect-sip-method.c:VerdictTunnelPacket
Unexecuted instantiation: detect-sip-protocol.c:VerdictTunnelPacket
Unexecuted instantiation: detect-sip-request-line.c:VerdictTunnelPacket
Unexecuted instantiation: detect-sip-response-line.c:VerdictTunnelPacket
Unexecuted instantiation: detect-sip-stat-code.c:VerdictTunnelPacket
Unexecuted instantiation: detect-sip-stat-msg.c:VerdictTunnelPacket
Unexecuted instantiation: detect-sip-uri.c:VerdictTunnelPacket
Unexecuted instantiation: detect-smb-ntlmssp.c:VerdictTunnelPacket
Unexecuted instantiation: detect-smb-share.c:VerdictTunnelPacket
Unexecuted instantiation: detect-snmp-community.c:VerdictTunnelPacket
Unexecuted instantiation: detect-snmp-pdu_type.c:VerdictTunnelPacket
Unexecuted instantiation: detect-snmp-usm.c:VerdictTunnelPacket
Unexecuted instantiation: detect-snmp-version.c:VerdictTunnelPacket
Unexecuted instantiation: detect-dhcp-leasetime.c:VerdictTunnelPacket
Unexecuted instantiation: detect-dhcp-rebinding-time.c:VerdictTunnelPacket
Unexecuted instantiation: detect-dhcp-renewal-time.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ssh-hassh.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ssh-hassh-server.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ssh-hassh-server-string.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ssh-hassh-string.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ssh-proto.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ssh-proto-version.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ssh-software.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ssh-software-version.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ssl-state.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ssl-version.c:VerdictTunnelPacket
Unexecuted instantiation: detect-stream_size.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tag.c:VerdictTunnelPacket
Unexecuted instantiation: detect-target.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tcp-ack.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tcp-flags.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tcphdr.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tcpmss.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tcp-seq.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tcp-window.c:VerdictTunnelPacket
Unexecuted instantiation: detect-template2.c:VerdictTunnelPacket
Unexecuted instantiation: detect-template.c:VerdictTunnelPacket
Unexecuted instantiation: detect-template-rust-buffer.c:VerdictTunnelPacket
Unexecuted instantiation: detect-threshold.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-cert-fingerprint.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-cert-issuer.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-certs.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-cert-serial.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-cert-subject.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-cert-validity.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-ja3-hash.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-ja3s-hash.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-ja3s-string.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-ja3-string.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-sni.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-version.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tls-random.c:VerdictTunnelPacket
Unexecuted instantiation: detect-tos.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-casechange.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-compress-whitespace.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-dotprefix.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-header-lowercase.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-md5.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-pcrexform.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-sha1.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-sha256.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-strip-pseudo-headers.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-strip-whitespace.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-urldecode.c:VerdictTunnelPacket
Unexecuted instantiation: detect-transform-xor.c:VerdictTunnelPacket
Unexecuted instantiation: detect-ttl.c:VerdictTunnelPacket
Unexecuted instantiation: detect-udphdr.c:VerdictTunnelPacket
Unexecuted instantiation: detect-uricontent.c:VerdictTunnelPacket
Unexecuted instantiation: detect-urilen.c:VerdictTunnelPacket
Unexecuted instantiation: detect-within.c:VerdictTunnelPacket
Unexecuted instantiation: detect-xbits.c:VerdictTunnelPacket
Unexecuted instantiation: flow-bit.c:VerdictTunnelPacket
Unexecuted instantiation: flow-bypass.c:VerdictTunnelPacket
Unexecuted instantiation: flow-var.c:VerdictTunnelPacket
Unexecuted instantiation: flow-worker.c:VerdictTunnelPacket
Unexecuted instantiation: host-bit.c:VerdictTunnelPacket
Unexecuted instantiation: host.c:VerdictTunnelPacket
Unexecuted instantiation: host-queue.c:VerdictTunnelPacket
Unexecuted instantiation: host-storage.c:VerdictTunnelPacket
Unexecuted instantiation: ippair-bit.c:VerdictTunnelPacket
Unexecuted instantiation: ippair.c:VerdictTunnelPacket
Unexecuted instantiation: ippair-queue.c:VerdictTunnelPacket
Unexecuted instantiation: ippair-storage.c:VerdictTunnelPacket
Unexecuted instantiation: output.c:VerdictTunnelPacket
Unexecuted instantiation: output-eve-stream.c:VerdictTunnelPacket
Unexecuted instantiation: output-filestore.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-alert.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-anomaly.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-bittorrent-dht.c:VerdictTunnelPacket
Unexecuted instantiation: output-json.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-common.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-dcerpc.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-dhcp.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-dnp3.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-dnp3-objects.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-dns.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-drop.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-email-common.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-file.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-flow.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-frame.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-ftp.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-http2.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-http.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-ike.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-krb5.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-metadata.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-modbus.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-quic.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-mqtt.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-netflow.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-nfs.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-pgsql.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-rdp.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-rfb.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-sip.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-smb.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-smtp.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-snmp.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-ssh.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-stats.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-template.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-tftp.c:VerdictTunnelPacket
Unexecuted instantiation: output-json-tls.c:VerdictTunnelPacket
Unexecuted instantiation: output-eve-syslog.c:VerdictTunnelPacket
Unexecuted instantiation: output-packet.c:VerdictTunnelPacket
Unexecuted instantiation: output-stats.c:VerdictTunnelPacket
Unexecuted instantiation: output-streaming.c:VerdictTunnelPacket
Unexecuted instantiation: output-tx.c:VerdictTunnelPacket
Unexecuted instantiation: packet-queue.c:VerdictTunnelPacket
Unexecuted instantiation: respond-reject.c:VerdictTunnelPacket
Unexecuted instantiation: respond-reject-libnet11.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-af-packet.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-af-xdp.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-dpdk.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-erf-dag.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-erf-file.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-ipfw.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-napatech.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-netmap.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-nflog.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-nfq.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-pcap.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-pcap-file.c:VerdictTunnelPacket
Unexecuted instantiation: runmode-pfring.c:VerdictTunnelPacket
Unexecuted instantiation: rust-context.c:VerdictTunnelPacket
Unexecuted instantiation: source-af-packet.c:VerdictTunnelPacket
Unexecuted instantiation: source-af-xdp.c:VerdictTunnelPacket
Unexecuted instantiation: source-dpdk.c:VerdictTunnelPacket
Unexecuted instantiation: source-erf-dag.c:VerdictTunnelPacket
Unexecuted instantiation: source-erf-file.c:VerdictTunnelPacket
Unexecuted instantiation: source-ipfw.c:VerdictTunnelPacket
Unexecuted instantiation: source-napatech.c:VerdictTunnelPacket
Unexecuted instantiation: source-netmap.c:VerdictTunnelPacket
Unexecuted instantiation: source-nflog.c:VerdictTunnelPacket
Unexecuted instantiation: source-nfq.c:VerdictTunnelPacket
Unexecuted instantiation: source-pcap.c:VerdictTunnelPacket
Unexecuted instantiation: source-pcap-file.c:VerdictTunnelPacket
Unexecuted instantiation: source-pcap-file-directory-helper.c:VerdictTunnelPacket
Unexecuted instantiation: source-pcap-file-helper.c:VerdictTunnelPacket
Unexecuted instantiation: source-pfring.c:VerdictTunnelPacket
Unexecuted instantiation: source-windivert.c:VerdictTunnelPacket
Unexecuted instantiation: stream-tcp-inline.c:VerdictTunnelPacket
Unexecuted instantiation: tmqh-simple.c:VerdictTunnelPacket
Unexecuted instantiation: util-action.c:VerdictTunnelPacket
Unexecuted instantiation: util-classification-config.c:VerdictTunnelPacket
Unexecuted instantiation: util-detect.c:VerdictTunnelPacket
Unexecuted instantiation: util-file-decompression.c:VerdictTunnelPacket
Unexecuted instantiation: util-file-swf-decompression.c:VerdictTunnelPacket
Unexecuted instantiation: util-logopenfile.c:VerdictTunnelPacket
Unexecuted instantiation: util-mpm-ac-bs.c:VerdictTunnelPacket
Unexecuted instantiation: util-mpm-ac.c:VerdictTunnelPacket
Unexecuted instantiation: util-mpm-ac-ks.c:VerdictTunnelPacket
Unexecuted instantiation: util-reference-config.c:VerdictTunnelPacket
Unexecuted instantiation: util-rule-vars.c:VerdictTunnelPacket
Unexecuted instantiation: util-runmodes.c:VerdictTunnelPacket
Unexecuted instantiation: util-port-interval-tree.c:VerdictTunnelPacket
Unexecuted instantiation: alert-debuglog.c:VerdictTunnelPacket
Unexecuted instantiation: alert-fastlog.c:VerdictTunnelPacket
Unexecuted instantiation: alert-syslog.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-htp-body.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-htp-xff.c:VerdictTunnelPacket
Unexecuted instantiation: app-layer-register.c:VerdictTunnelPacket
Unexecuted instantiation: decode-chdlc.c:VerdictTunnelPacket
Unexecuted instantiation: decode-esp.c:VerdictTunnelPacket
Unexecuted instantiation: decode-gre.c:VerdictTunnelPacket
Unexecuted instantiation: decode-null.c:VerdictTunnelPacket
Unexecuted instantiation: decode-raw.c:VerdictTunnelPacket
Unexecuted instantiation: decode-sll.c:VerdictTunnelPacket
Unexecuted instantiation: detect-app-layer-event.c:VerdictTunnelPacket
Unexecuted instantiation: detect-app-layer-protocol.c:VerdictTunnelPacket
Unexecuted instantiation: detect-asn1.c:VerdictTunnelPacket
Unexecuted instantiation: detect-base64-data.c:VerdictTunnelPacket
Unexecuted instantiation: detect-base64-decode.c:VerdictTunnelPacket
Unexecuted instantiation: detect-bsize.c:VerdictTunnelPacket
Unexecuted instantiation: detect-bypass.c:VerdictTunnelPacket
Unexecuted instantiation: detect-byte.c:VerdictTunnelPacket
Unexecuted instantiation: detect-byte-extract.c:VerdictTunnelPacket
Unexecuted instantiation: detect-bytejump.c:VerdictTunnelPacket
Unexecuted instantiation: detect-bytemath.c:VerdictTunnelPacket
Unexecuted instantiation: detect-bytetest.c:VerdictTunnelPacket
Unexecuted instantiation: detect.c:VerdictTunnelPacket
Unexecuted instantiation: detect-cipservice.c:VerdictTunnelPacket
Unexecuted instantiation: detect-classtype.c:VerdictTunnelPacket
Unexecuted instantiation: detect-config.c:VerdictTunnelPacket
Unexecuted instantiation: detect-csum.c:VerdictTunnelPacket
Unexecuted instantiation: detect-datarep.c:VerdictTunnelPacket
Unexecuted instantiation: detect-dataset.c:VerdictTunnelPacket
Unexecuted instantiation: detect-dce-iface.c:VerdictTunnelPacket
Unexecuted instantiation: detect-dce-opnum.c:VerdictTunnelPacket
Unexecuted instantiation: detect-dce-stub-data.c:VerdictTunnelPacket
Unexecuted instantiation: detect-depth.c:VerdictTunnelPacket
Unexecuted instantiation: detect-detection-filter.c:VerdictTunnelPacket
Unexecuted instantiation: detect-distance.c:VerdictTunnelPacket
Unexecuted instantiation: detect-dnp3.c:VerdictTunnelPacket
Unexecuted instantiation: detect-dns-opcode.c:VerdictTunnelPacket
Unexecuted instantiation: detect-dns-query.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-analyzer.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-enip.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-event.c:VerdictTunnelPacket
Unexecuted instantiation: detect-engine-file.c:VerdictTunnelPacket
Unexecuted instantiation: detect-file-hash-common.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-accept.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-accept-enc.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-accept-lang.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-connection.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-content-len.c:VerdictTunnelPacket
Unexecuted instantiation: detect-http-content-type.c:VerdictTunnelPacket
Unexecuted instantiation: log-httplog.c:VerdictTunnelPacket
Unexecuted instantiation: log-pcap.c:VerdictTunnelPacket
Unexecuted instantiation: log-stats.c:VerdictTunnelPacket
Unexecuted instantiation: log-tcp-data.c:VerdictTunnelPacket
Unexecuted instantiation: log-tlslog.c:VerdictTunnelPacket
Unexecuted instantiation: log-tlsstore.c:VerdictTunnelPacket
Unexecuted instantiation: stream.c:VerdictTunnelPacket
Unexecuted instantiation: fuzz_sigpcap_aware.c:VerdictTunnelPacket
Unexecuted instantiation: util-unittest-helper.c:VerdictTunnelPacket
Unexecuted instantiation: fuzz_decodepcapfile.c:VerdictTunnelPacket
Unexecuted instantiation: fuzz_mimedecparseline.c:VerdictTunnelPacket
Unexecuted instantiation: fuzz_siginit.c:VerdictTunnelPacket
Unexecuted instantiation: fuzz_sigpcap.c:VerdictTunnelPacket
Unexecuted instantiation: fuzz_applayerprotodetectgetproto.c:VerdictTunnelPacket
Unexecuted instantiation: fuzz_predefpcap_aware.c:VerdictTunnelPacket
1130
1131
static inline void DecodeLinkLayer(ThreadVars *tv, DecodeThreadVars *dtv,
1132
        const int datalink, Packet *p, const uint8_t *data, const uint32_t len)
1133
0
{
1134
    /* call the decoder */
1135
0
    switch (datalink) {
1136
0
        case LINKTYPE_ETHERNET:
1137
0
            DecodeEthernet(tv, dtv, p, data, len);
1138
0
            break;
1139
0
        case LINKTYPE_LINUX_SLL:
1140
0
            DecodeSll(tv, dtv, p, data, len);
1141
0
            break;
1142
0
        case LINKTYPE_PPP:
1143
0
            DecodePPP(tv, dtv, p, data, len);
1144
0
            break;
1145
0
        case LINKTYPE_RAW:
1146
0
        case LINKTYPE_GRE_OVER_IP:
1147
0
            DecodeRaw(tv, dtv, p, data, len);
1148
0
            break;
1149
0
        case LINKTYPE_NULL:
1150
0
            DecodeNull(tv, dtv, p, data, len);
1151
0
            break;
1152
0
       case LINKTYPE_CISCO_HDLC:
1153
0
            DecodeCHDLC(tv, dtv, p, data, len);
1154
0
            break;
1155
0
        default:
1156
0
            SCLogError("datalink type "
1157
0
                       "%" PRId32 " not yet supported",
1158
0
                    datalink);
1159
0
            break;
1160
0
    }
1161
0
}
Unexecuted instantiation: fuzz_applayerparserparse.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-parser.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-rdp.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-rfb.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-sip.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-smb.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-smtp.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-snmp.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-ssh.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-ssl.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-tftp.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-state.c:DecodeLinkLayer
Unexecuted instantiation: flow.c:DecodeLinkLayer
Unexecuted instantiation: flow-hash.c:DecodeLinkLayer
Unexecuted instantiation: flow-manager.c:DecodeLinkLayer
Unexecuted instantiation: flow-queue.c:DecodeLinkLayer
Unexecuted instantiation: flow-spare-pool.c:DecodeLinkLayer
Unexecuted instantiation: flow-storage.c:DecodeLinkLayer
Unexecuted instantiation: flow-timeout.c:DecodeLinkLayer
Unexecuted instantiation: flow-util.c:DecodeLinkLayer
Unexecuted instantiation: host-timeout.c:DecodeLinkLayer
Unexecuted instantiation: ippair-timeout.c:DecodeLinkLayer
Unexecuted instantiation: output-file.c:DecodeLinkLayer
Unexecuted instantiation: output-filedata.c:DecodeLinkLayer
Unexecuted instantiation: output-flow.c:DecodeLinkLayer
Unexecuted instantiation: packet.c:DecodeLinkLayer
Unexecuted instantiation: pkt-var.c:DecodeLinkLayer
Unexecuted instantiation: reputation.c:DecodeLinkLayer
Unexecuted instantiation: runmodes.c:DecodeLinkLayer
Unexecuted instantiation: runmode-unix-socket.c:DecodeLinkLayer
Unexecuted instantiation: runmode-windivert.c:DecodeLinkLayer
Unexecuted instantiation: stream-tcp.c:DecodeLinkLayer
Unexecuted instantiation: stream-tcp-list.c:DecodeLinkLayer
Unexecuted instantiation: stream-tcp-reassemble.c:DecodeLinkLayer
Unexecuted instantiation: stream-tcp-sack.c:DecodeLinkLayer
Unexecuted instantiation: suricata.c:DecodeLinkLayer
Unexecuted instantiation: tm-modules.c:DecodeLinkLayer
Unexecuted instantiation: tmqh-flow.c:DecodeLinkLayer
Unexecuted instantiation: tmqh-packetpool.c:DecodeLinkLayer
Unexecuted instantiation: tm-queuehandlers.c:DecodeLinkLayer
Unexecuted instantiation: tm-threads.c:DecodeLinkLayer
Unexecuted instantiation: unix-manager.c:DecodeLinkLayer
Unexecuted instantiation: util-checksum.c:DecodeLinkLayer
Unexecuted instantiation: util-datalink.c:DecodeLinkLayer
Unexecuted instantiation: util-debug.c:DecodeLinkLayer
Unexecuted instantiation: util-decode-mime.c:DecodeLinkLayer
Unexecuted instantiation: util-exception-policy.c:DecodeLinkLayer
Unexecuted instantiation: util-file.c:DecodeLinkLayer
Unexecuted instantiation: util-host-os-info.c:DecodeLinkLayer
Unexecuted instantiation: util-ioctl.c:DecodeLinkLayer
Unexecuted instantiation: util-ja3.c:DecodeLinkLayer
Unexecuted instantiation: util-landlock.c:DecodeLinkLayer
Unexecuted instantiation: util-macset.c:DecodeLinkLayer
Unexecuted instantiation: util-mpm.c:DecodeLinkLayer
Unexecuted instantiation: util-print.c:DecodeLinkLayer
Unexecuted instantiation: util-running-modes.c:DecodeLinkLayer
Unexecuted instantiation: util-streaming-buffer.c:DecodeLinkLayer
Unexecuted instantiation: util-threshold-config.c:DecodeLinkLayer
Unexecuted instantiation: util-time.c:DecodeLinkLayer
Unexecuted instantiation: util-var.c:DecodeLinkLayer
Unexecuted instantiation: util-var-name.c:DecodeLinkLayer
Unexecuted instantiation: app-layer.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-detect-proto.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-dnp3.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-dnp3-objects.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-enip.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-enip-common.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-events.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-expectation.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-ftp.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-frames.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-htp.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-htp-file.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-htp-range.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-http2.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-ike.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-krb5.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-modbus.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-quic.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-mqtt.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-nfs-tcp.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-nfs-udp.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-ntp.c:DecodeLinkLayer
Unexecuted instantiation: counters.c:DecodeLinkLayer
Unexecuted instantiation: datasets-string.c:DecodeLinkLayer
Unexecuted instantiation: decode.c:DecodeLinkLayer
Unexecuted instantiation: decode-erspan.c:DecodeLinkLayer
Unexecuted instantiation: decode-ethernet.c:DecodeLinkLayer
Unexecuted instantiation: decode-geneve.c:DecodeLinkLayer
Unexecuted instantiation: decode-icmpv4.c:DecodeLinkLayer
Unexecuted instantiation: decode-icmpv6.c:DecodeLinkLayer
Unexecuted instantiation: decode-ipv4.c:DecodeLinkLayer
Unexecuted instantiation: decode-ipv6.c:DecodeLinkLayer
Unexecuted instantiation: decode-mpls.c:DecodeLinkLayer
Unexecuted instantiation: decode-nsh.c:DecodeLinkLayer
Unexecuted instantiation: decode-ppp.c:DecodeLinkLayer
Unexecuted instantiation: decode-pppoe.c:DecodeLinkLayer
Unexecuted instantiation: decode-sctp.c:DecodeLinkLayer
Unexecuted instantiation: decode-tcp.c:DecodeLinkLayer
Unexecuted instantiation: decode-teredo.c:DecodeLinkLayer
Unexecuted instantiation: decode-udp.c:DecodeLinkLayer
Unexecuted instantiation: decode-vlan.c:DecodeLinkLayer
Unexecuted instantiation: decode-vntag.c:DecodeLinkLayer
Unexecuted instantiation: decode-vxlan.c:DecodeLinkLayer
Unexecuted instantiation: defrag.c:DecodeLinkLayer
Unexecuted instantiation: defrag-config.c:DecodeLinkLayer
Unexecuted instantiation: defrag-hash.c:DecodeLinkLayer
Unexecuted instantiation: defrag-queue.c:DecodeLinkLayer
Unexecuted instantiation: defrag-timeout.c:DecodeLinkLayer
Unexecuted instantiation: detect-content.c:DecodeLinkLayer
Unexecuted instantiation: detect-dsize.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-address.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-address-ipv4.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-address-ipv6.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-alert.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-build.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-content-inspection.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-frame.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-iponly.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-loader.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-mpm.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-payload.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-port.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-prefilter.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-prefilter-common.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-proto.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-register.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-siggroup.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-sigorder.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-tag.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-threshold.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-uint.c:DecodeLinkLayer
Unexecuted instantiation: detect-fast-pattern.c:DecodeLinkLayer
Unexecuted instantiation: detect-file-data.c:DecodeLinkLayer
Unexecuted instantiation: detect-filemagic.c:DecodeLinkLayer
Unexecuted instantiation: detect-filemd5.c:DecodeLinkLayer
Unexecuted instantiation: detect-filename.c:DecodeLinkLayer
Unexecuted instantiation: detect-filesha1.c:DecodeLinkLayer
Unexecuted instantiation: detect-filesha256.c:DecodeLinkLayer
Unexecuted instantiation: detect-filesize.c:DecodeLinkLayer
Unexecuted instantiation: detect-filestore.c:DecodeLinkLayer
Unexecuted instantiation: detect-flowbits.c:DecodeLinkLayer
Unexecuted instantiation: detect-flow.c:DecodeLinkLayer
Unexecuted instantiation: detect-flow-age.c:DecodeLinkLayer
Unexecuted instantiation: detect-flowint.c:DecodeLinkLayer
Unexecuted instantiation: detect-flowvar.c:DecodeLinkLayer
Unexecuted instantiation: detect-fragbits.c:DecodeLinkLayer
Unexecuted instantiation: detect-fragoffset.c:DecodeLinkLayer
Unexecuted instantiation: detect-frame.c:DecodeLinkLayer
Unexecuted instantiation: detect-ftpbounce.c:DecodeLinkLayer
Unexecuted instantiation: detect-ftpdata.c:DecodeLinkLayer
Unexecuted instantiation: detect-geoip.c:DecodeLinkLayer
Unexecuted instantiation: detect-gid.c:DecodeLinkLayer
Unexecuted instantiation: detect-hostbits.c:DecodeLinkLayer
Unexecuted instantiation: detect-http2.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-client-body.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-cookie.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-header.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-header-common.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-header-names.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-host.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-location.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-method.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-protocol.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-raw-header.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-referer.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-request-line.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-response-line.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-server-body.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-server.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-start.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-stat-code.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-stat-msg.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-ua.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-uri.c:DecodeLinkLayer
Unexecuted instantiation: detect-icmp-id.c:DecodeLinkLayer
Unexecuted instantiation: detect-icmp-seq.c:DecodeLinkLayer
Unexecuted instantiation: detect-icmpv4hdr.c:DecodeLinkLayer
Unexecuted instantiation: detect-icmpv6hdr.c:DecodeLinkLayer
Unexecuted instantiation: detect-icmpv6-mtu.c:DecodeLinkLayer
Unexecuted instantiation: detect-icode.c:DecodeLinkLayer
Unexecuted instantiation: detect-id.c:DecodeLinkLayer
Unexecuted instantiation: detect-ike-exch-type.c:DecodeLinkLayer
Unexecuted instantiation: detect-ike-spi.c:DecodeLinkLayer
Unexecuted instantiation: detect-ike-vendor.c:DecodeLinkLayer
Unexecuted instantiation: detect-ike-chosen-sa.c:DecodeLinkLayer
Unexecuted instantiation: detect-ike-key-exchange-payload-length.c:DecodeLinkLayer
Unexecuted instantiation: detect-ike-nonce-payload-length.c:DecodeLinkLayer
Unexecuted instantiation: detect-ike-nonce-payload.c:DecodeLinkLayer
Unexecuted instantiation: detect-ike-key-exchange-payload.c:DecodeLinkLayer
Unexecuted instantiation: detect-ipaddr.c:DecodeLinkLayer
Unexecuted instantiation: detect-ipopts.c:DecodeLinkLayer
Unexecuted instantiation: detect-ipproto.c:DecodeLinkLayer
Unexecuted instantiation: detect-iprep.c:DecodeLinkLayer
Unexecuted instantiation: detect-ipv4hdr.c:DecodeLinkLayer
Unexecuted instantiation: detect-ipv6hdr.c:DecodeLinkLayer
Unexecuted instantiation: detect-isdataat.c:DecodeLinkLayer
Unexecuted instantiation: detect-itype.c:DecodeLinkLayer
Unexecuted instantiation: detect-ja4-hash.c:DecodeLinkLayer
Unexecuted instantiation: detect-krb5-cname.c:DecodeLinkLayer
Unexecuted instantiation: detect-krb5-errcode.c:DecodeLinkLayer
Unexecuted instantiation: detect-krb5-msgtype.c:DecodeLinkLayer
Unexecuted instantiation: detect-krb5-sname.c:DecodeLinkLayer
Unexecuted instantiation: detect-krb5-ticket-encryption.c:DecodeLinkLayer
Unexecuted instantiation: detect-l3proto.c:DecodeLinkLayer
Unexecuted instantiation: detect-lua.c:DecodeLinkLayer
Unexecuted instantiation: detect-mark.c:DecodeLinkLayer
Unexecuted instantiation: detect-metadata.c:DecodeLinkLayer
Unexecuted instantiation: detect-modbus.c:DecodeLinkLayer
Unexecuted instantiation: detect-quic-sni.c:DecodeLinkLayer
Unexecuted instantiation: detect-quic-ua.c:DecodeLinkLayer
Unexecuted instantiation: detect-quic-version.c:DecodeLinkLayer
Unexecuted instantiation: detect-quic-cyu-hash.c:DecodeLinkLayer
Unexecuted instantiation: detect-quic-cyu-string.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-connack-sessionpresent.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-connect-clientid.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-connect-flags.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-connect-password.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-connect-username.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-connect-willmessage.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-connect-willtopic.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-flags.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-protocol-version.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-publish-message.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-publish-topic.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-qos.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-reason-code.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-subscribe-topic.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-type.c:DecodeLinkLayer
Unexecuted instantiation: detect-mqtt-unsubscribe-topic.c:DecodeLinkLayer
Unexecuted instantiation: detect-msg.c:DecodeLinkLayer
Unexecuted instantiation: detect-nfs-procedure.c:DecodeLinkLayer
Unexecuted instantiation: detect-nfs-version.c:DecodeLinkLayer
Unexecuted instantiation: detect-noalert.c:DecodeLinkLayer
Unexecuted instantiation: detect-nocase.c:DecodeLinkLayer
Unexecuted instantiation: detect-offset.c:DecodeLinkLayer
Unexecuted instantiation: detect-parse.c:DecodeLinkLayer
Unexecuted instantiation: detect-pcre.c:DecodeLinkLayer
Unexecuted instantiation: detect-pkt-data.c:DecodeLinkLayer
Unexecuted instantiation: detect-pktvar.c:DecodeLinkLayer
Unexecuted instantiation: detect-prefilter.c:DecodeLinkLayer
Unexecuted instantiation: detect-priority.c:DecodeLinkLayer
Unexecuted instantiation: detect-rawbytes.c:DecodeLinkLayer
Unexecuted instantiation: detect-reference.c:DecodeLinkLayer
Unexecuted instantiation: detect-replace.c:DecodeLinkLayer
Unexecuted instantiation: detect-requires.c:DecodeLinkLayer
Unexecuted instantiation: detect-rev.c:DecodeLinkLayer
Unexecuted instantiation: detect-rfb-name.c:DecodeLinkLayer
Unexecuted instantiation: detect-rfb-secresult.c:DecodeLinkLayer
Unexecuted instantiation: detect-rfb-sectype.c:DecodeLinkLayer
Unexecuted instantiation: detect-rpc.c:DecodeLinkLayer
Unexecuted instantiation: detect-sameip.c:DecodeLinkLayer
Unexecuted instantiation: detect-sid.c:DecodeLinkLayer
Unexecuted instantiation: detect-sip-method.c:DecodeLinkLayer
Unexecuted instantiation: detect-sip-protocol.c:DecodeLinkLayer
Unexecuted instantiation: detect-sip-request-line.c:DecodeLinkLayer
Unexecuted instantiation: detect-sip-response-line.c:DecodeLinkLayer
Unexecuted instantiation: detect-sip-stat-code.c:DecodeLinkLayer
Unexecuted instantiation: detect-sip-stat-msg.c:DecodeLinkLayer
Unexecuted instantiation: detect-sip-uri.c:DecodeLinkLayer
Unexecuted instantiation: detect-smb-ntlmssp.c:DecodeLinkLayer
Unexecuted instantiation: detect-smb-share.c:DecodeLinkLayer
Unexecuted instantiation: detect-snmp-community.c:DecodeLinkLayer
Unexecuted instantiation: detect-snmp-pdu_type.c:DecodeLinkLayer
Unexecuted instantiation: detect-snmp-usm.c:DecodeLinkLayer
Unexecuted instantiation: detect-snmp-version.c:DecodeLinkLayer
Unexecuted instantiation: detect-dhcp-leasetime.c:DecodeLinkLayer
Unexecuted instantiation: detect-dhcp-rebinding-time.c:DecodeLinkLayer
Unexecuted instantiation: detect-dhcp-renewal-time.c:DecodeLinkLayer
Unexecuted instantiation: detect-ssh-hassh.c:DecodeLinkLayer
Unexecuted instantiation: detect-ssh-hassh-server.c:DecodeLinkLayer
Unexecuted instantiation: detect-ssh-hassh-server-string.c:DecodeLinkLayer
Unexecuted instantiation: detect-ssh-hassh-string.c:DecodeLinkLayer
Unexecuted instantiation: detect-ssh-proto.c:DecodeLinkLayer
Unexecuted instantiation: detect-ssh-proto-version.c:DecodeLinkLayer
Unexecuted instantiation: detect-ssh-software.c:DecodeLinkLayer
Unexecuted instantiation: detect-ssh-software-version.c:DecodeLinkLayer
Unexecuted instantiation: detect-ssl-state.c:DecodeLinkLayer
Unexecuted instantiation: detect-ssl-version.c:DecodeLinkLayer
Unexecuted instantiation: detect-stream_size.c:DecodeLinkLayer
Unexecuted instantiation: detect-tag.c:DecodeLinkLayer
Unexecuted instantiation: detect-target.c:DecodeLinkLayer
Unexecuted instantiation: detect-tcp-ack.c:DecodeLinkLayer
Unexecuted instantiation: detect-tcp-flags.c:DecodeLinkLayer
Unexecuted instantiation: detect-tcphdr.c:DecodeLinkLayer
Unexecuted instantiation: detect-tcpmss.c:DecodeLinkLayer
Unexecuted instantiation: detect-tcp-seq.c:DecodeLinkLayer
Unexecuted instantiation: detect-tcp-window.c:DecodeLinkLayer
Unexecuted instantiation: detect-template2.c:DecodeLinkLayer
Unexecuted instantiation: detect-template.c:DecodeLinkLayer
Unexecuted instantiation: detect-template-rust-buffer.c:DecodeLinkLayer
Unexecuted instantiation: detect-threshold.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-cert-fingerprint.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-cert-issuer.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-certs.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-cert-serial.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-cert-subject.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-cert-validity.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-ja3-hash.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-ja3s-hash.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-ja3s-string.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-ja3-string.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-sni.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-version.c:DecodeLinkLayer
Unexecuted instantiation: detect-tls-random.c:DecodeLinkLayer
Unexecuted instantiation: detect-tos.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-casechange.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-compress-whitespace.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-dotprefix.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-header-lowercase.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-md5.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-pcrexform.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-sha1.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-sha256.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-strip-pseudo-headers.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-strip-whitespace.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-urldecode.c:DecodeLinkLayer
Unexecuted instantiation: detect-transform-xor.c:DecodeLinkLayer
Unexecuted instantiation: detect-ttl.c:DecodeLinkLayer
Unexecuted instantiation: detect-udphdr.c:DecodeLinkLayer
Unexecuted instantiation: detect-uricontent.c:DecodeLinkLayer
Unexecuted instantiation: detect-urilen.c:DecodeLinkLayer
Unexecuted instantiation: detect-within.c:DecodeLinkLayer
Unexecuted instantiation: detect-xbits.c:DecodeLinkLayer
Unexecuted instantiation: flow-bit.c:DecodeLinkLayer
Unexecuted instantiation: flow-bypass.c:DecodeLinkLayer
Unexecuted instantiation: flow-var.c:DecodeLinkLayer
Unexecuted instantiation: flow-worker.c:DecodeLinkLayer
Unexecuted instantiation: host-bit.c:DecodeLinkLayer
Unexecuted instantiation: host.c:DecodeLinkLayer
Unexecuted instantiation: host-queue.c:DecodeLinkLayer
Unexecuted instantiation: host-storage.c:DecodeLinkLayer
Unexecuted instantiation: ippair-bit.c:DecodeLinkLayer
Unexecuted instantiation: ippair.c:DecodeLinkLayer
Unexecuted instantiation: ippair-queue.c:DecodeLinkLayer
Unexecuted instantiation: ippair-storage.c:DecodeLinkLayer
Unexecuted instantiation: output.c:DecodeLinkLayer
Unexecuted instantiation: output-eve-stream.c:DecodeLinkLayer
Unexecuted instantiation: output-filestore.c:DecodeLinkLayer
Unexecuted instantiation: output-json-alert.c:DecodeLinkLayer
Unexecuted instantiation: output-json-anomaly.c:DecodeLinkLayer
Unexecuted instantiation: output-json-bittorrent-dht.c:DecodeLinkLayer
Unexecuted instantiation: output-json.c:DecodeLinkLayer
Unexecuted instantiation: output-json-common.c:DecodeLinkLayer
Unexecuted instantiation: output-json-dcerpc.c:DecodeLinkLayer
Unexecuted instantiation: output-json-dhcp.c:DecodeLinkLayer
Unexecuted instantiation: output-json-dnp3.c:DecodeLinkLayer
Unexecuted instantiation: output-json-dnp3-objects.c:DecodeLinkLayer
Unexecuted instantiation: output-json-dns.c:DecodeLinkLayer
Unexecuted instantiation: output-json-drop.c:DecodeLinkLayer
Unexecuted instantiation: output-json-email-common.c:DecodeLinkLayer
Unexecuted instantiation: output-json-file.c:DecodeLinkLayer
Unexecuted instantiation: output-json-flow.c:DecodeLinkLayer
Unexecuted instantiation: output-json-frame.c:DecodeLinkLayer
Unexecuted instantiation: output-json-ftp.c:DecodeLinkLayer
Unexecuted instantiation: output-json-http2.c:DecodeLinkLayer
Unexecuted instantiation: output-json-http.c:DecodeLinkLayer
Unexecuted instantiation: output-json-ike.c:DecodeLinkLayer
Unexecuted instantiation: output-json-krb5.c:DecodeLinkLayer
Unexecuted instantiation: output-json-metadata.c:DecodeLinkLayer
Unexecuted instantiation: output-json-modbus.c:DecodeLinkLayer
Unexecuted instantiation: output-json-quic.c:DecodeLinkLayer
Unexecuted instantiation: output-json-mqtt.c:DecodeLinkLayer
Unexecuted instantiation: output-json-netflow.c:DecodeLinkLayer
Unexecuted instantiation: output-json-nfs.c:DecodeLinkLayer
Unexecuted instantiation: output-json-pgsql.c:DecodeLinkLayer
Unexecuted instantiation: output-json-rdp.c:DecodeLinkLayer
Unexecuted instantiation: output-json-rfb.c:DecodeLinkLayer
Unexecuted instantiation: output-json-sip.c:DecodeLinkLayer
Unexecuted instantiation: output-json-smb.c:DecodeLinkLayer
Unexecuted instantiation: output-json-smtp.c:DecodeLinkLayer
Unexecuted instantiation: output-json-snmp.c:DecodeLinkLayer
Unexecuted instantiation: output-json-ssh.c:DecodeLinkLayer
Unexecuted instantiation: output-json-stats.c:DecodeLinkLayer
Unexecuted instantiation: output-json-template.c:DecodeLinkLayer
Unexecuted instantiation: output-json-tftp.c:DecodeLinkLayer
Unexecuted instantiation: output-json-tls.c:DecodeLinkLayer
Unexecuted instantiation: output-eve-syslog.c:DecodeLinkLayer
Unexecuted instantiation: output-packet.c:DecodeLinkLayer
Unexecuted instantiation: output-stats.c:DecodeLinkLayer
Unexecuted instantiation: output-streaming.c:DecodeLinkLayer
Unexecuted instantiation: output-tx.c:DecodeLinkLayer
Unexecuted instantiation: packet-queue.c:DecodeLinkLayer
Unexecuted instantiation: respond-reject.c:DecodeLinkLayer
Unexecuted instantiation: respond-reject-libnet11.c:DecodeLinkLayer
Unexecuted instantiation: runmode-af-packet.c:DecodeLinkLayer
Unexecuted instantiation: runmode-af-xdp.c:DecodeLinkLayer
Unexecuted instantiation: runmode-dpdk.c:DecodeLinkLayer
Unexecuted instantiation: runmode-erf-dag.c:DecodeLinkLayer
Unexecuted instantiation: runmode-erf-file.c:DecodeLinkLayer
Unexecuted instantiation: runmode-ipfw.c:DecodeLinkLayer
Unexecuted instantiation: runmode-napatech.c:DecodeLinkLayer
Unexecuted instantiation: runmode-netmap.c:DecodeLinkLayer
Unexecuted instantiation: runmode-nflog.c:DecodeLinkLayer
Unexecuted instantiation: runmode-nfq.c:DecodeLinkLayer
Unexecuted instantiation: runmode-pcap.c:DecodeLinkLayer
Unexecuted instantiation: runmode-pcap-file.c:DecodeLinkLayer
Unexecuted instantiation: runmode-pfring.c:DecodeLinkLayer
Unexecuted instantiation: rust-context.c:DecodeLinkLayer
Unexecuted instantiation: source-af-packet.c:DecodeLinkLayer
Unexecuted instantiation: source-af-xdp.c:DecodeLinkLayer
Unexecuted instantiation: source-dpdk.c:DecodeLinkLayer
Unexecuted instantiation: source-erf-dag.c:DecodeLinkLayer
Unexecuted instantiation: source-erf-file.c:DecodeLinkLayer
Unexecuted instantiation: source-ipfw.c:DecodeLinkLayer
Unexecuted instantiation: source-napatech.c:DecodeLinkLayer
Unexecuted instantiation: source-netmap.c:DecodeLinkLayer
Unexecuted instantiation: source-nflog.c:DecodeLinkLayer
Unexecuted instantiation: source-nfq.c:DecodeLinkLayer
Unexecuted instantiation: source-pcap.c:DecodeLinkLayer
Unexecuted instantiation: source-pcap-file.c:DecodeLinkLayer
Unexecuted instantiation: source-pcap-file-directory-helper.c:DecodeLinkLayer
Unexecuted instantiation: source-pcap-file-helper.c:DecodeLinkLayer
Unexecuted instantiation: source-pfring.c:DecodeLinkLayer
Unexecuted instantiation: source-windivert.c:DecodeLinkLayer
Unexecuted instantiation: stream-tcp-inline.c:DecodeLinkLayer
Unexecuted instantiation: tmqh-simple.c:DecodeLinkLayer
Unexecuted instantiation: util-action.c:DecodeLinkLayer
Unexecuted instantiation: util-classification-config.c:DecodeLinkLayer
Unexecuted instantiation: util-detect.c:DecodeLinkLayer
Unexecuted instantiation: util-file-decompression.c:DecodeLinkLayer
Unexecuted instantiation: util-file-swf-decompression.c:DecodeLinkLayer
Unexecuted instantiation: util-logopenfile.c:DecodeLinkLayer
Unexecuted instantiation: util-mpm-ac-bs.c:DecodeLinkLayer
Unexecuted instantiation: util-mpm-ac.c:DecodeLinkLayer
Unexecuted instantiation: util-mpm-ac-ks.c:DecodeLinkLayer
Unexecuted instantiation: util-reference-config.c:DecodeLinkLayer
Unexecuted instantiation: util-rule-vars.c:DecodeLinkLayer
Unexecuted instantiation: util-runmodes.c:DecodeLinkLayer
Unexecuted instantiation: util-port-interval-tree.c:DecodeLinkLayer
Unexecuted instantiation: alert-debuglog.c:DecodeLinkLayer
Unexecuted instantiation: alert-fastlog.c:DecodeLinkLayer
Unexecuted instantiation: alert-syslog.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-htp-body.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-htp-xff.c:DecodeLinkLayer
Unexecuted instantiation: app-layer-register.c:DecodeLinkLayer
Unexecuted instantiation: decode-chdlc.c:DecodeLinkLayer
Unexecuted instantiation: decode-esp.c:DecodeLinkLayer
Unexecuted instantiation: decode-gre.c:DecodeLinkLayer
Unexecuted instantiation: decode-null.c:DecodeLinkLayer
Unexecuted instantiation: decode-raw.c:DecodeLinkLayer
Unexecuted instantiation: decode-sll.c:DecodeLinkLayer
Unexecuted instantiation: detect-app-layer-event.c:DecodeLinkLayer
Unexecuted instantiation: detect-app-layer-protocol.c:DecodeLinkLayer
Unexecuted instantiation: detect-asn1.c:DecodeLinkLayer
Unexecuted instantiation: detect-base64-data.c:DecodeLinkLayer
Unexecuted instantiation: detect-base64-decode.c:DecodeLinkLayer
Unexecuted instantiation: detect-bsize.c:DecodeLinkLayer
Unexecuted instantiation: detect-bypass.c:DecodeLinkLayer
Unexecuted instantiation: detect-byte.c:DecodeLinkLayer
Unexecuted instantiation: detect-byte-extract.c:DecodeLinkLayer
Unexecuted instantiation: detect-bytejump.c:DecodeLinkLayer
Unexecuted instantiation: detect-bytemath.c:DecodeLinkLayer
Unexecuted instantiation: detect-bytetest.c:DecodeLinkLayer
Unexecuted instantiation: detect.c:DecodeLinkLayer
Unexecuted instantiation: detect-cipservice.c:DecodeLinkLayer
Unexecuted instantiation: detect-classtype.c:DecodeLinkLayer
Unexecuted instantiation: detect-config.c:DecodeLinkLayer
Unexecuted instantiation: detect-csum.c:DecodeLinkLayer
Unexecuted instantiation: detect-datarep.c:DecodeLinkLayer
Unexecuted instantiation: detect-dataset.c:DecodeLinkLayer
Unexecuted instantiation: detect-dce-iface.c:DecodeLinkLayer
Unexecuted instantiation: detect-dce-opnum.c:DecodeLinkLayer
Unexecuted instantiation: detect-dce-stub-data.c:DecodeLinkLayer
Unexecuted instantiation: detect-depth.c:DecodeLinkLayer
Unexecuted instantiation: detect-detection-filter.c:DecodeLinkLayer
Unexecuted instantiation: detect-distance.c:DecodeLinkLayer
Unexecuted instantiation: detect-dnp3.c:DecodeLinkLayer
Unexecuted instantiation: detect-dns-opcode.c:DecodeLinkLayer
Unexecuted instantiation: detect-dns-query.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-analyzer.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-enip.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-event.c:DecodeLinkLayer
Unexecuted instantiation: detect-engine-file.c:DecodeLinkLayer
Unexecuted instantiation: detect-file-hash-common.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-accept.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-accept-enc.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-accept-lang.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-connection.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-content-len.c:DecodeLinkLayer
Unexecuted instantiation: detect-http-content-type.c:DecodeLinkLayer
Unexecuted instantiation: log-httplog.c:DecodeLinkLayer
Unexecuted instantiation: log-pcap.c:DecodeLinkLayer
Unexecuted instantiation: log-stats.c:DecodeLinkLayer
Unexecuted instantiation: log-tcp-data.c:DecodeLinkLayer
Unexecuted instantiation: log-tlslog.c:DecodeLinkLayer
Unexecuted instantiation: log-tlsstore.c:DecodeLinkLayer
Unexecuted instantiation: stream.c:DecodeLinkLayer
Unexecuted instantiation: fuzz_sigpcap_aware.c:DecodeLinkLayer
Unexecuted instantiation: util-unittest-helper.c:DecodeLinkLayer
Unexecuted instantiation: fuzz_decodepcapfile.c:DecodeLinkLayer
Unexecuted instantiation: fuzz_mimedecparseline.c:DecodeLinkLayer
Unexecuted instantiation: fuzz_siginit.c:DecodeLinkLayer
Unexecuted instantiation: fuzz_sigpcap.c:DecodeLinkLayer
Unexecuted instantiation: fuzz_applayerprotodetectgetproto.c:DecodeLinkLayer
Unexecuted instantiation: fuzz_predefpcap_aware.c:DecodeLinkLayer
1162
1163
/** \brief decode network layer
1164
 *  \retval bool true if successful, false if unknown */
1165
static inline bool DecodeNetworkLayer(ThreadVars *tv, DecodeThreadVars *dtv,
1166
        const uint16_t proto, Packet *p, const uint8_t *data, const uint32_t len)
1167
3.66M
{
1168
3.66M
    switch (proto) {
1169
2.77M
        case ETHERNET_TYPE_IP: {
1170
2.77M
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1171
2.77M
            DecodeIPV4(tv, dtv, p, data, ip_len);
1172
2.77M
            break;
1173
0
        }
1174
216k
        case ETHERNET_TYPE_IPV6: {
1175
216k
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1176
216k
            DecodeIPV6(tv, dtv, p, data, ip_len);
1177
216k
            break;
1178
0
        }
1179
9.89k
        case ETHERNET_TYPE_PPPOE_SESS:
1180
9.89k
            DecodePPPOESession(tv, dtv, p, data, len);
1181
9.89k
            break;
1182
2.56k
        case ETHERNET_TYPE_PPPOE_DISC:
1183
2.56k
            DecodePPPOEDiscovery(tv, dtv, p, data, len);
1184
2.56k
            break;
1185
111k
        case ETHERNET_TYPE_VLAN:
1186
116k
        case ETHERNET_TYPE_8021AD:
1187
122k
        case ETHERNET_TYPE_8021QINQ:
1188
122k
            if (p->vlan_idx > VLAN_MAX_LAYER_IDX) {
1189
1.16k
                ENGINE_SET_EVENT(p,VLAN_HEADER_TOO_MANY_LAYERS);
1190
121k
            } else {
1191
121k
                DecodeVLAN(tv, dtv, p, data, len);
1192
121k
            }
1193
122k
            break;
1194
3.27k
        case ETHERNET_TYPE_8021AH:
1195
3.27k
            DecodeIEEE8021ah(tv, dtv, p, data, len);
1196
3.27k
            break;
1197
8.11k
        case ETHERNET_TYPE_ARP:
1198
8.11k
            StatsIncr(tv, dtv->counter_arp);
1199
8.11k
            break;
1200
4.76k
        case ETHERNET_TYPE_MPLS_UNICAST:
1201
8.41k
        case ETHERNET_TYPE_MPLS_MULTICAST:
1202
8.41k
            DecodeMPLS(tv, dtv, p, data, len);
1203
8.41k
            break;
1204
7.07k
        case ETHERNET_TYPE_DCE:
1205
7.07k
            if (unlikely(len < ETHERNET_DCE_HEADER_LEN)) {
1206
1.16k
                ENGINE_SET_INVALID_EVENT(p, DCE_PKT_TOO_SMALL);
1207
5.91k
            } else {
1208
                // DCE layer is ethernet + 2 bytes, followed by another ethernet
1209
5.91k
                DecodeEthernet(tv, dtv, p, data + 2, len - 2);
1210
5.91k
            }
1211
7.07k
            break;
1212
10.9k
        case ETHERNET_TYPE_VNTAG:
1213
10.9k
            DecodeVNTag(tv, dtv, p, data, len);
1214
10.9k
            break;
1215
5.12k
        case ETHERNET_TYPE_NSH:
1216
5.12k
            DecodeNSH(tv, dtv, p, data, len);
1217
5.12k
            break;
1218
495k
        default:
1219
495k
            SCLogDebug("unknown ether type: %" PRIx16 "", proto);
1220
495k
            StatsIncr(tv, dtv->counter_ethertype_unknown);
1221
495k
            return false;
1222
3.66M
    }
1223
3.17M
    return true;
1224
3.66M
}
Unexecuted instantiation: fuzz_applayerparserparse.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-parser.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-rdp.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-rfb.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-sip.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-smb.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-smtp.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-snmp.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-ssh.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-ssl.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-tftp.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-state.c:DecodeNetworkLayer
Unexecuted instantiation: flow.c:DecodeNetworkLayer
Unexecuted instantiation: flow-hash.c:DecodeNetworkLayer
Unexecuted instantiation: flow-manager.c:DecodeNetworkLayer
Unexecuted instantiation: flow-queue.c:DecodeNetworkLayer
Unexecuted instantiation: flow-spare-pool.c:DecodeNetworkLayer
Unexecuted instantiation: flow-storage.c:DecodeNetworkLayer
Unexecuted instantiation: flow-timeout.c:DecodeNetworkLayer
Unexecuted instantiation: flow-util.c:DecodeNetworkLayer
Unexecuted instantiation: host-timeout.c:DecodeNetworkLayer
Unexecuted instantiation: ippair-timeout.c:DecodeNetworkLayer
Unexecuted instantiation: output-file.c:DecodeNetworkLayer
Unexecuted instantiation: output-filedata.c:DecodeNetworkLayer
Unexecuted instantiation: output-flow.c:DecodeNetworkLayer
Unexecuted instantiation: packet.c:DecodeNetworkLayer
Unexecuted instantiation: pkt-var.c:DecodeNetworkLayer
Unexecuted instantiation: reputation.c:DecodeNetworkLayer
Unexecuted instantiation: runmodes.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-unix-socket.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-windivert.c:DecodeNetworkLayer
Unexecuted instantiation: stream-tcp.c:DecodeNetworkLayer
Unexecuted instantiation: stream-tcp-list.c:DecodeNetworkLayer
Unexecuted instantiation: stream-tcp-reassemble.c:DecodeNetworkLayer
Unexecuted instantiation: stream-tcp-sack.c:DecodeNetworkLayer
Unexecuted instantiation: suricata.c:DecodeNetworkLayer
Unexecuted instantiation: tm-modules.c:DecodeNetworkLayer
Unexecuted instantiation: tmqh-flow.c:DecodeNetworkLayer
Unexecuted instantiation: tmqh-packetpool.c:DecodeNetworkLayer
Unexecuted instantiation: tm-queuehandlers.c:DecodeNetworkLayer
Unexecuted instantiation: tm-threads.c:DecodeNetworkLayer
Unexecuted instantiation: unix-manager.c:DecodeNetworkLayer
Unexecuted instantiation: util-checksum.c:DecodeNetworkLayer
Unexecuted instantiation: util-datalink.c:DecodeNetworkLayer
Unexecuted instantiation: util-debug.c:DecodeNetworkLayer
Unexecuted instantiation: util-decode-mime.c:DecodeNetworkLayer
Unexecuted instantiation: util-exception-policy.c:DecodeNetworkLayer
Unexecuted instantiation: util-file.c:DecodeNetworkLayer
Unexecuted instantiation: util-host-os-info.c:DecodeNetworkLayer
Unexecuted instantiation: util-ioctl.c:DecodeNetworkLayer
Unexecuted instantiation: util-ja3.c:DecodeNetworkLayer
Unexecuted instantiation: util-landlock.c:DecodeNetworkLayer
Unexecuted instantiation: util-macset.c:DecodeNetworkLayer
Unexecuted instantiation: util-mpm.c:DecodeNetworkLayer
Unexecuted instantiation: util-print.c:DecodeNetworkLayer
Unexecuted instantiation: util-running-modes.c:DecodeNetworkLayer
Unexecuted instantiation: util-streaming-buffer.c:DecodeNetworkLayer
Unexecuted instantiation: util-threshold-config.c:DecodeNetworkLayer
Unexecuted instantiation: util-time.c:DecodeNetworkLayer
Unexecuted instantiation: util-var.c:DecodeNetworkLayer
Unexecuted instantiation: util-var-name.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-detect-proto.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-dnp3.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-dnp3-objects.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-enip.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-enip-common.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-events.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-expectation.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-ftp.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-frames.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-htp.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-htp-file.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-htp-range.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-http2.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-ike.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-krb5.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-modbus.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-quic.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-mqtt.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-nfs-tcp.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-nfs-udp.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-ntp.c:DecodeNetworkLayer
Unexecuted instantiation: counters.c:DecodeNetworkLayer
Unexecuted instantiation: datasets-string.c:DecodeNetworkLayer
Unexecuted instantiation: decode.c:DecodeNetworkLayer
Unexecuted instantiation: decode-erspan.c:DecodeNetworkLayer
decode-ethernet.c:DecodeNetworkLayer
Line
Count
Source
1167
3.50M
{
1168
3.50M
    switch (proto) {
1169
2.67M
        case ETHERNET_TYPE_IP: {
1170
2.67M
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1171
2.67M
            DecodeIPV4(tv, dtv, p, data, ip_len);
1172
2.67M
            break;
1173
0
        }
1174
214k
        case ETHERNET_TYPE_IPV6: {
1175
214k
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1176
214k
            DecodeIPV6(tv, dtv, p, data, ip_len);
1177
214k
            break;
1178
0
        }
1179
2.44k
        case ETHERNET_TYPE_PPPOE_SESS:
1180
2.44k
            DecodePPPOESession(tv, dtv, p, data, len);
1181
2.44k
            break;
1182
215
        case ETHERNET_TYPE_PPPOE_DISC:
1183
215
            DecodePPPOEDiscovery(tv, dtv, p, data, len);
1184
215
            break;
1185
102k
        case ETHERNET_TYPE_VLAN:
1186
102k
        case ETHERNET_TYPE_8021AD:
1187
106k
        case ETHERNET_TYPE_8021QINQ:
1188
106k
            if (p->vlan_idx > VLAN_MAX_LAYER_IDX) {
1189
251
                ENGINE_SET_EVENT(p,VLAN_HEADER_TOO_MANY_LAYERS);
1190
106k
            } else {
1191
106k
                DecodeVLAN(tv, dtv, p, data, len);
1192
106k
            }
1193
106k
            break;
1194
478
        case ETHERNET_TYPE_8021AH:
1195
478
            DecodeIEEE8021ah(tv, dtv, p, data, len);
1196
478
            break;
1197
6.95k
        case ETHERNET_TYPE_ARP:
1198
6.95k
            StatsIncr(tv, dtv->counter_arp);
1199
6.95k
            break;
1200
2.89k
        case ETHERNET_TYPE_MPLS_UNICAST:
1201
4.32k
        case ETHERNET_TYPE_MPLS_MULTICAST:
1202
4.32k
            DecodeMPLS(tv, dtv, p, data, len);
1203
4.32k
            break;
1204
3.97k
        case ETHERNET_TYPE_DCE:
1205
3.97k
            if (unlikely(len < ETHERNET_DCE_HEADER_LEN)) {
1206
214
                ENGINE_SET_INVALID_EVENT(p, DCE_PKT_TOO_SMALL);
1207
3.76k
            } else {
1208
                // DCE layer is ethernet + 2 bytes, followed by another ethernet
1209
3.76k
                DecodeEthernet(tv, dtv, p, data + 2, len - 2);
1210
3.76k
            }
1211
3.97k
            break;
1212
2.21k
        case ETHERNET_TYPE_VNTAG:
1213
2.21k
            DecodeVNTag(tv, dtv, p, data, len);
1214
2.21k
            break;
1215
1.64k
        case ETHERNET_TYPE_NSH:
1216
1.64k
            DecodeNSH(tv, dtv, p, data, len);
1217
1.64k
            break;
1218
483k
        default:
1219
483k
            SCLogDebug("unknown ether type: %" PRIx16 "", proto);
1220
483k
            StatsIncr(tv, dtv->counter_ethertype_unknown);
1221
483k
            return false;
1222
3.50M
    }
1223
3.01M
    return true;
1224
3.50M
}
Unexecuted instantiation: decode-geneve.c:DecodeNetworkLayer
Unexecuted instantiation: decode-icmpv4.c:DecodeNetworkLayer
Unexecuted instantiation: decode-icmpv6.c:DecodeNetworkLayer
Unexecuted instantiation: decode-ipv4.c:DecodeNetworkLayer
Unexecuted instantiation: decode-ipv6.c:DecodeNetworkLayer
Unexecuted instantiation: decode-mpls.c:DecodeNetworkLayer
Unexecuted instantiation: decode-nsh.c:DecodeNetworkLayer
Unexecuted instantiation: decode-ppp.c:DecodeNetworkLayer
Unexecuted instantiation: decode-pppoe.c:DecodeNetworkLayer
Unexecuted instantiation: decode-sctp.c:DecodeNetworkLayer
Unexecuted instantiation: decode-tcp.c:DecodeNetworkLayer
Unexecuted instantiation: decode-teredo.c:DecodeNetworkLayer
Unexecuted instantiation: decode-udp.c:DecodeNetworkLayer
decode-vlan.c:DecodeNetworkLayer
Line
Count
Source
1167
124k
{
1168
124k
    switch (proto) {
1169
98.7k
        case ETHERNET_TYPE_IP: {
1170
98.7k
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1171
98.7k
            DecodeIPV4(tv, dtv, p, data, ip_len);
1172
98.7k
            break;
1173
0
        }
1174
316
        case ETHERNET_TYPE_IPV6: {
1175
316
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1176
316
            DecodeIPV6(tv, dtv, p, data, ip_len);
1177
316
            break;
1178
0
        }
1179
406
        case ETHERNET_TYPE_PPPOE_SESS:
1180
406
            DecodePPPOESession(tv, dtv, p, data, len);
1181
406
            break;
1182
552
        case ETHERNET_TYPE_PPPOE_DISC:
1183
552
            DecodePPPOEDiscovery(tv, dtv, p, data, len);
1184
552
            break;
1185
7.46k
        case ETHERNET_TYPE_VLAN:
1186
9.78k
        case ETHERNET_TYPE_8021AD:
1187
10.5k
        case ETHERNET_TYPE_8021QINQ:
1188
10.5k
            if (p->vlan_idx > VLAN_MAX_LAYER_IDX) {
1189
777
                ENGINE_SET_EVENT(p,VLAN_HEADER_TOO_MANY_LAYERS);
1190
9.73k
            } else {
1191
9.73k
                DecodeVLAN(tv, dtv, p, data, len);
1192
9.73k
            }
1193
10.5k
            break;
1194
1.62k
        case ETHERNET_TYPE_8021AH:
1195
1.62k
            DecodeIEEE8021ah(tv, dtv, p, data, len);
1196
1.62k
            break;
1197
465
        case ETHERNET_TYPE_ARP:
1198
465
            StatsIncr(tv, dtv->counter_arp);
1199
465
            break;
1200
529
        case ETHERNET_TYPE_MPLS_UNICAST:
1201
737
        case ETHERNET_TYPE_MPLS_MULTICAST:
1202
737
            DecodeMPLS(tv, dtv, p, data, len);
1203
737
            break;
1204
1.32k
        case ETHERNET_TYPE_DCE:
1205
1.32k
            if (unlikely(len < ETHERNET_DCE_HEADER_LEN)) {
1206
205
                ENGINE_SET_INVALID_EVENT(p, DCE_PKT_TOO_SMALL);
1207
1.12k
            } else {
1208
                // DCE layer is ethernet + 2 bytes, followed by another ethernet
1209
1.12k
                DecodeEthernet(tv, dtv, p, data + 2, len - 2);
1210
1.12k
            }
1211
1.32k
            break;
1212
1.51k
        case ETHERNET_TYPE_VNTAG:
1213
1.51k
            DecodeVNTag(tv, dtv, p, data, len);
1214
1.51k
            break;
1215
221
        case ETHERNET_TYPE_NSH:
1216
221
            DecodeNSH(tv, dtv, p, data, len);
1217
221
            break;
1218
7.87k
        default:
1219
7.87k
            SCLogDebug("unknown ether type: %" PRIx16 "", proto);
1220
7.87k
            StatsIncr(tv, dtv->counter_ethertype_unknown);
1221
7.87k
            return false;
1222
124k
    }
1223
116k
    return true;
1224
124k
}
decode-vntag.c:DecodeNetworkLayer
Line
Count
Source
1167
10.4k
{
1168
10.4k
    switch (proto) {
1169
910
        case ETHERNET_TYPE_IP: {
1170
910
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1171
910
            DecodeIPV4(tv, dtv, p, data, ip_len);
1172
910
            break;
1173
0
        }
1174
114
        case ETHERNET_TYPE_IPV6: {
1175
114
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1176
114
            DecodeIPV6(tv, dtv, p, data, ip_len);
1177
114
            break;
1178
0
        }
1179
195
        case ETHERNET_TYPE_PPPOE_SESS:
1180
195
            DecodePPPOESession(tv, dtv, p, data, len);
1181
195
            break;
1182
75
        case ETHERNET_TYPE_PPPOE_DISC:
1183
75
            DecodePPPOEDiscovery(tv, dtv, p, data, len);
1184
75
            break;
1185
451
        case ETHERNET_TYPE_VLAN:
1186
1.03k
        case ETHERNET_TYPE_8021AD:
1187
1.42k
        case ETHERNET_TYPE_8021QINQ:
1188
1.42k
            if (p->vlan_idx > VLAN_MAX_LAYER_IDX) {
1189
133
                ENGINE_SET_EVENT(p,VLAN_HEADER_TOO_MANY_LAYERS);
1190
1.29k
            } else {
1191
1.29k
                DecodeVLAN(tv, dtv, p, data, len);
1192
1.29k
            }
1193
1.42k
            break;
1194
357
        case ETHERNET_TYPE_8021AH:
1195
357
            DecodeIEEE8021ah(tv, dtv, p, data, len);
1196
357
            break;
1197
251
        case ETHERNET_TYPE_ARP:
1198
251
            StatsIncr(tv, dtv->counter_arp);
1199
251
            break;
1200
211
        case ETHERNET_TYPE_MPLS_UNICAST:
1201
454
        case ETHERNET_TYPE_MPLS_MULTICAST:
1202
454
            DecodeMPLS(tv, dtv, p, data, len);
1203
454
            break;
1204
609
        case ETHERNET_TYPE_DCE:
1205
609
            if (unlikely(len < ETHERNET_DCE_HEADER_LEN)) {
1206
195
                ENGINE_SET_INVALID_EVENT(p, DCE_PKT_TOO_SMALL);
1207
414
            } else {
1208
                // DCE layer is ethernet + 2 bytes, followed by another ethernet
1209
414
                DecodeEthernet(tv, dtv, p, data + 2, len - 2);
1210
414
            }
1211
609
            break;
1212
4.88k
        case ETHERNET_TYPE_VNTAG:
1213
4.88k
            DecodeVNTag(tv, dtv, p, data, len);
1214
4.88k
            break;
1215
426
        case ETHERNET_TYPE_NSH:
1216
426
            DecodeNSH(tv, dtv, p, data, len);
1217
426
            break;
1218
727
        default:
1219
727
            SCLogDebug("unknown ether type: %" PRIx16 "", proto);
1220
727
            StatsIncr(tv, dtv->counter_ethertype_unknown);
1221
727
            return false;
1222
10.4k
    }
1223
9.70k
    return true;
1224
10.4k
}
Unexecuted instantiation: decode-vxlan.c:DecodeNetworkLayer
Unexecuted instantiation: defrag.c:DecodeNetworkLayer
Unexecuted instantiation: defrag-config.c:DecodeNetworkLayer
Unexecuted instantiation: defrag-hash.c:DecodeNetworkLayer
Unexecuted instantiation: defrag-queue.c:DecodeNetworkLayer
Unexecuted instantiation: defrag-timeout.c:DecodeNetworkLayer
Unexecuted instantiation: detect-content.c:DecodeNetworkLayer
Unexecuted instantiation: detect-dsize.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-address.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-address-ipv4.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-address-ipv6.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-alert.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-build.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-content-inspection.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-frame.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-iponly.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-loader.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-mpm.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-payload.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-port.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-prefilter.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-prefilter-common.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-proto.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-register.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-siggroup.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-sigorder.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-tag.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-threshold.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-uint.c:DecodeNetworkLayer
Unexecuted instantiation: detect-fast-pattern.c:DecodeNetworkLayer
Unexecuted instantiation: detect-file-data.c:DecodeNetworkLayer
Unexecuted instantiation: detect-filemagic.c:DecodeNetworkLayer
Unexecuted instantiation: detect-filemd5.c:DecodeNetworkLayer
Unexecuted instantiation: detect-filename.c:DecodeNetworkLayer
Unexecuted instantiation: detect-filesha1.c:DecodeNetworkLayer
Unexecuted instantiation: detect-filesha256.c:DecodeNetworkLayer
Unexecuted instantiation: detect-filesize.c:DecodeNetworkLayer
Unexecuted instantiation: detect-filestore.c:DecodeNetworkLayer
Unexecuted instantiation: detect-flowbits.c:DecodeNetworkLayer
Unexecuted instantiation: detect-flow.c:DecodeNetworkLayer
Unexecuted instantiation: detect-flow-age.c:DecodeNetworkLayer
Unexecuted instantiation: detect-flowint.c:DecodeNetworkLayer
Unexecuted instantiation: detect-flowvar.c:DecodeNetworkLayer
Unexecuted instantiation: detect-fragbits.c:DecodeNetworkLayer
Unexecuted instantiation: detect-fragoffset.c:DecodeNetworkLayer
Unexecuted instantiation: detect-frame.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ftpbounce.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ftpdata.c:DecodeNetworkLayer
Unexecuted instantiation: detect-geoip.c:DecodeNetworkLayer
Unexecuted instantiation: detect-gid.c:DecodeNetworkLayer
Unexecuted instantiation: detect-hostbits.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http2.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-client-body.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-cookie.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-header.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-header-common.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-header-names.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-host.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-location.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-method.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-protocol.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-raw-header.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-referer.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-request-line.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-response-line.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-server-body.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-server.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-start.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-stat-code.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-stat-msg.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-ua.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-uri.c:DecodeNetworkLayer
Unexecuted instantiation: detect-icmp-id.c:DecodeNetworkLayer
Unexecuted instantiation: detect-icmp-seq.c:DecodeNetworkLayer
Unexecuted instantiation: detect-icmpv4hdr.c:DecodeNetworkLayer
Unexecuted instantiation: detect-icmpv6hdr.c:DecodeNetworkLayer
Unexecuted instantiation: detect-icmpv6-mtu.c:DecodeNetworkLayer
Unexecuted instantiation: detect-icode.c:DecodeNetworkLayer
Unexecuted instantiation: detect-id.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ike-exch-type.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ike-spi.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ike-vendor.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ike-chosen-sa.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ike-key-exchange-payload-length.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ike-nonce-payload-length.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ike-nonce-payload.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ike-key-exchange-payload.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ipaddr.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ipopts.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ipproto.c:DecodeNetworkLayer
Unexecuted instantiation: detect-iprep.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ipv4hdr.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ipv6hdr.c:DecodeNetworkLayer
Unexecuted instantiation: detect-isdataat.c:DecodeNetworkLayer
Unexecuted instantiation: detect-itype.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ja4-hash.c:DecodeNetworkLayer
Unexecuted instantiation: detect-krb5-cname.c:DecodeNetworkLayer
Unexecuted instantiation: detect-krb5-errcode.c:DecodeNetworkLayer
Unexecuted instantiation: detect-krb5-msgtype.c:DecodeNetworkLayer
Unexecuted instantiation: detect-krb5-sname.c:DecodeNetworkLayer
Unexecuted instantiation: detect-krb5-ticket-encryption.c:DecodeNetworkLayer
Unexecuted instantiation: detect-l3proto.c:DecodeNetworkLayer
Unexecuted instantiation: detect-lua.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mark.c:DecodeNetworkLayer
Unexecuted instantiation: detect-metadata.c:DecodeNetworkLayer
Unexecuted instantiation: detect-modbus.c:DecodeNetworkLayer
Unexecuted instantiation: detect-quic-sni.c:DecodeNetworkLayer
Unexecuted instantiation: detect-quic-ua.c:DecodeNetworkLayer
Unexecuted instantiation: detect-quic-version.c:DecodeNetworkLayer
Unexecuted instantiation: detect-quic-cyu-hash.c:DecodeNetworkLayer
Unexecuted instantiation: detect-quic-cyu-string.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-connack-sessionpresent.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-connect-clientid.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-connect-flags.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-connect-password.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-connect-username.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-connect-willmessage.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-connect-willtopic.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-flags.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-protocol-version.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-publish-message.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-publish-topic.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-qos.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-reason-code.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-subscribe-topic.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-type.c:DecodeNetworkLayer
Unexecuted instantiation: detect-mqtt-unsubscribe-topic.c:DecodeNetworkLayer
Unexecuted instantiation: detect-msg.c:DecodeNetworkLayer
Unexecuted instantiation: detect-nfs-procedure.c:DecodeNetworkLayer
Unexecuted instantiation: detect-nfs-version.c:DecodeNetworkLayer
Unexecuted instantiation: detect-noalert.c:DecodeNetworkLayer
Unexecuted instantiation: detect-nocase.c:DecodeNetworkLayer
Unexecuted instantiation: detect-offset.c:DecodeNetworkLayer
Unexecuted instantiation: detect-parse.c:DecodeNetworkLayer
Unexecuted instantiation: detect-pcre.c:DecodeNetworkLayer
Unexecuted instantiation: detect-pkt-data.c:DecodeNetworkLayer
Unexecuted instantiation: detect-pktvar.c:DecodeNetworkLayer
Unexecuted instantiation: detect-prefilter.c:DecodeNetworkLayer
Unexecuted instantiation: detect-priority.c:DecodeNetworkLayer
Unexecuted instantiation: detect-rawbytes.c:DecodeNetworkLayer
Unexecuted instantiation: detect-reference.c:DecodeNetworkLayer
Unexecuted instantiation: detect-replace.c:DecodeNetworkLayer
Unexecuted instantiation: detect-requires.c:DecodeNetworkLayer
Unexecuted instantiation: detect-rev.c:DecodeNetworkLayer
Unexecuted instantiation: detect-rfb-name.c:DecodeNetworkLayer
Unexecuted instantiation: detect-rfb-secresult.c:DecodeNetworkLayer
Unexecuted instantiation: detect-rfb-sectype.c:DecodeNetworkLayer
Unexecuted instantiation: detect-rpc.c:DecodeNetworkLayer
Unexecuted instantiation: detect-sameip.c:DecodeNetworkLayer
Unexecuted instantiation: detect-sid.c:DecodeNetworkLayer
Unexecuted instantiation: detect-sip-method.c:DecodeNetworkLayer
Unexecuted instantiation: detect-sip-protocol.c:DecodeNetworkLayer
Unexecuted instantiation: detect-sip-request-line.c:DecodeNetworkLayer
Unexecuted instantiation: detect-sip-response-line.c:DecodeNetworkLayer
Unexecuted instantiation: detect-sip-stat-code.c:DecodeNetworkLayer
Unexecuted instantiation: detect-sip-stat-msg.c:DecodeNetworkLayer
Unexecuted instantiation: detect-sip-uri.c:DecodeNetworkLayer
Unexecuted instantiation: detect-smb-ntlmssp.c:DecodeNetworkLayer
Unexecuted instantiation: detect-smb-share.c:DecodeNetworkLayer
Unexecuted instantiation: detect-snmp-community.c:DecodeNetworkLayer
Unexecuted instantiation: detect-snmp-pdu_type.c:DecodeNetworkLayer
Unexecuted instantiation: detect-snmp-usm.c:DecodeNetworkLayer
Unexecuted instantiation: detect-snmp-version.c:DecodeNetworkLayer
Unexecuted instantiation: detect-dhcp-leasetime.c:DecodeNetworkLayer
Unexecuted instantiation: detect-dhcp-rebinding-time.c:DecodeNetworkLayer
Unexecuted instantiation: detect-dhcp-renewal-time.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ssh-hassh.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ssh-hassh-server.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ssh-hassh-server-string.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ssh-hassh-string.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ssh-proto.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ssh-proto-version.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ssh-software.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ssh-software-version.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ssl-state.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ssl-version.c:DecodeNetworkLayer
Unexecuted instantiation: detect-stream_size.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tag.c:DecodeNetworkLayer
Unexecuted instantiation: detect-target.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tcp-ack.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tcp-flags.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tcphdr.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tcpmss.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tcp-seq.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tcp-window.c:DecodeNetworkLayer
Unexecuted instantiation: detect-template2.c:DecodeNetworkLayer
Unexecuted instantiation: detect-template.c:DecodeNetworkLayer
Unexecuted instantiation: detect-template-rust-buffer.c:DecodeNetworkLayer
Unexecuted instantiation: detect-threshold.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-cert-fingerprint.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-cert-issuer.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-certs.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-cert-serial.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-cert-subject.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-cert-validity.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-ja3-hash.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-ja3s-hash.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-ja3s-string.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-ja3-string.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-sni.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-version.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tls-random.c:DecodeNetworkLayer
Unexecuted instantiation: detect-tos.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-casechange.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-compress-whitespace.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-dotprefix.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-header-lowercase.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-md5.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-pcrexform.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-sha1.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-sha256.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-strip-pseudo-headers.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-strip-whitespace.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-urldecode.c:DecodeNetworkLayer
Unexecuted instantiation: detect-transform-xor.c:DecodeNetworkLayer
Unexecuted instantiation: detect-ttl.c:DecodeNetworkLayer
Unexecuted instantiation: detect-udphdr.c:DecodeNetworkLayer
Unexecuted instantiation: detect-uricontent.c:DecodeNetworkLayer
Unexecuted instantiation: detect-urilen.c:DecodeNetworkLayer
Unexecuted instantiation: detect-within.c:DecodeNetworkLayer
Unexecuted instantiation: detect-xbits.c:DecodeNetworkLayer
Unexecuted instantiation: flow-bit.c:DecodeNetworkLayer
Unexecuted instantiation: flow-bypass.c:DecodeNetworkLayer
Unexecuted instantiation: flow-var.c:DecodeNetworkLayer
Unexecuted instantiation: flow-worker.c:DecodeNetworkLayer
Unexecuted instantiation: host-bit.c:DecodeNetworkLayer
Unexecuted instantiation: host.c:DecodeNetworkLayer
Unexecuted instantiation: host-queue.c:DecodeNetworkLayer
Unexecuted instantiation: host-storage.c:DecodeNetworkLayer
Unexecuted instantiation: ippair-bit.c:DecodeNetworkLayer
Unexecuted instantiation: ippair.c:DecodeNetworkLayer
Unexecuted instantiation: ippair-queue.c:DecodeNetworkLayer
Unexecuted instantiation: ippair-storage.c:DecodeNetworkLayer
Unexecuted instantiation: output.c:DecodeNetworkLayer
Unexecuted instantiation: output-eve-stream.c:DecodeNetworkLayer
Unexecuted instantiation: output-filestore.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-alert.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-anomaly.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-bittorrent-dht.c:DecodeNetworkLayer
Unexecuted instantiation: output-json.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-common.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-dcerpc.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-dhcp.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-dnp3.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-dnp3-objects.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-dns.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-drop.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-email-common.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-file.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-flow.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-frame.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-ftp.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-http2.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-http.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-ike.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-krb5.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-metadata.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-modbus.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-quic.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-mqtt.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-netflow.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-nfs.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-pgsql.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-rdp.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-rfb.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-sip.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-smb.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-smtp.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-snmp.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-ssh.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-stats.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-template.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-tftp.c:DecodeNetworkLayer
Unexecuted instantiation: output-json-tls.c:DecodeNetworkLayer
Unexecuted instantiation: output-eve-syslog.c:DecodeNetworkLayer
Unexecuted instantiation: output-packet.c:DecodeNetworkLayer
Unexecuted instantiation: output-stats.c:DecodeNetworkLayer
Unexecuted instantiation: output-streaming.c:DecodeNetworkLayer
Unexecuted instantiation: output-tx.c:DecodeNetworkLayer
Unexecuted instantiation: packet-queue.c:DecodeNetworkLayer
Unexecuted instantiation: respond-reject.c:DecodeNetworkLayer
Unexecuted instantiation: respond-reject-libnet11.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-af-packet.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-af-xdp.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-dpdk.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-erf-dag.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-erf-file.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-ipfw.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-napatech.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-netmap.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-nflog.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-nfq.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-pcap.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-pcap-file.c:DecodeNetworkLayer
Unexecuted instantiation: runmode-pfring.c:DecodeNetworkLayer
Unexecuted instantiation: rust-context.c:DecodeNetworkLayer
Unexecuted instantiation: source-af-packet.c:DecodeNetworkLayer
Unexecuted instantiation: source-af-xdp.c:DecodeNetworkLayer
Unexecuted instantiation: source-dpdk.c:DecodeNetworkLayer
Unexecuted instantiation: source-erf-dag.c:DecodeNetworkLayer
Unexecuted instantiation: source-erf-file.c:DecodeNetworkLayer
Unexecuted instantiation: source-ipfw.c:DecodeNetworkLayer
Unexecuted instantiation: source-napatech.c:DecodeNetworkLayer
Unexecuted instantiation: source-netmap.c:DecodeNetworkLayer
Unexecuted instantiation: source-nflog.c:DecodeNetworkLayer
Unexecuted instantiation: source-nfq.c:DecodeNetworkLayer
Unexecuted instantiation: source-pcap.c:DecodeNetworkLayer
Unexecuted instantiation: source-pcap-file.c:DecodeNetworkLayer
Unexecuted instantiation: source-pcap-file-directory-helper.c:DecodeNetworkLayer
Unexecuted instantiation: source-pcap-file-helper.c:DecodeNetworkLayer
Unexecuted instantiation: source-pfring.c:DecodeNetworkLayer
Unexecuted instantiation: source-windivert.c:DecodeNetworkLayer
Unexecuted instantiation: stream-tcp-inline.c:DecodeNetworkLayer
Unexecuted instantiation: tmqh-simple.c:DecodeNetworkLayer
Unexecuted instantiation: util-action.c:DecodeNetworkLayer
Unexecuted instantiation: util-classification-config.c:DecodeNetworkLayer
Unexecuted instantiation: util-detect.c:DecodeNetworkLayer
Unexecuted instantiation: util-file-decompression.c:DecodeNetworkLayer
Unexecuted instantiation: util-file-swf-decompression.c:DecodeNetworkLayer
Unexecuted instantiation: util-logopenfile.c:DecodeNetworkLayer
Unexecuted instantiation: util-mpm-ac-bs.c:DecodeNetworkLayer
Unexecuted instantiation: util-mpm-ac.c:DecodeNetworkLayer
Unexecuted instantiation: util-mpm-ac-ks.c:DecodeNetworkLayer
Unexecuted instantiation: util-reference-config.c:DecodeNetworkLayer
Unexecuted instantiation: util-rule-vars.c:DecodeNetworkLayer
Unexecuted instantiation: util-runmodes.c:DecodeNetworkLayer
Unexecuted instantiation: util-port-interval-tree.c:DecodeNetworkLayer
Unexecuted instantiation: alert-debuglog.c:DecodeNetworkLayer
Unexecuted instantiation: alert-fastlog.c:DecodeNetworkLayer
Unexecuted instantiation: alert-syslog.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-htp-body.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-htp-xff.c:DecodeNetworkLayer
Unexecuted instantiation: app-layer-register.c:DecodeNetworkLayer
decode-chdlc.c:DecodeNetworkLayer
Line
Count
Source
1167
22.5k
{
1168
22.5k
    switch (proto) {
1169
837
        case ETHERNET_TYPE_IP: {
1170
837
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1171
837
            DecodeIPV4(tv, dtv, p, data, ip_len);
1172
837
            break;
1173
0
        }
1174
1.26k
        case ETHERNET_TYPE_IPV6: {
1175
1.26k
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1176
1.26k
            DecodeIPV6(tv, dtv, p, data, ip_len);
1177
1.26k
            break;
1178
0
        }
1179
5.79k
        case ETHERNET_TYPE_PPPOE_SESS:
1180
5.79k
            DecodePPPOESession(tv, dtv, p, data, len);
1181
5.79k
            break;
1182
1.50k
        case ETHERNET_TYPE_PPPOE_DISC:
1183
1.50k
            DecodePPPOEDiscovery(tv, dtv, p, data, len);
1184
1.50k
            break;
1185
778
        case ETHERNET_TYPE_VLAN:
1186
2.76k
        case ETHERNET_TYPE_8021AD:
1187
3.37k
        case ETHERNET_TYPE_8021QINQ:
1188
3.37k
            if (p->vlan_idx > VLAN_MAX_LAYER_IDX) {
1189
0
                ENGINE_SET_EVENT(p,VLAN_HEADER_TOO_MANY_LAYERS);
1190
3.37k
            } else {
1191
3.37k
                DecodeVLAN(tv, dtv, p, data, len);
1192
3.37k
            }
1193
3.37k
            break;
1194
626
        case ETHERNET_TYPE_8021AH:
1195
626
            DecodeIEEE8021ah(tv, dtv, p, data, len);
1196
626
            break;
1197
210
        case ETHERNET_TYPE_ARP:
1198
210
            StatsIncr(tv, dtv->counter_arp);
1199
210
            break;
1200
887
        case ETHERNET_TYPE_MPLS_UNICAST:
1201
2.46k
        case ETHERNET_TYPE_MPLS_MULTICAST:
1202
2.46k
            DecodeMPLS(tv, dtv, p, data, len);
1203
2.46k
            break;
1204
656
        case ETHERNET_TYPE_DCE:
1205
656
            if (unlikely(len < ETHERNET_DCE_HEADER_LEN)) {
1206
351
                ENGINE_SET_INVALID_EVENT(p, DCE_PKT_TOO_SMALL);
1207
351
            } else {
1208
                // DCE layer is ethernet + 2 bytes, followed by another ethernet
1209
305
                DecodeEthernet(tv, dtv, p, data + 2, len - 2);
1210
305
            }
1211
656
            break;
1212
1.84k
        case ETHERNET_TYPE_VNTAG:
1213
1.84k
            DecodeVNTag(tv, dtv, p, data, len);
1214
1.84k
            break;
1215
2.63k
        case ETHERNET_TYPE_NSH:
1216
2.63k
            DecodeNSH(tv, dtv, p, data, len);
1217
2.63k
            break;
1218
1.29k
        default:
1219
1.29k
            SCLogDebug("unknown ether type: %" PRIx16 "", proto);
1220
1.29k
            StatsIncr(tv, dtv->counter_ethertype_unknown);
1221
1.29k
            return false;
1222
22.5k
    }
1223
21.2k
    return true;
1224
22.5k
}
Unexecuted instantiation: decode-esp.c:DecodeNetworkLayer
Unexecuted instantiation: decode-gre.c:DecodeNetworkLayer
Unexecuted instantiation: decode-null.c:DecodeNetworkLayer
Unexecuted instantiation: decode-raw.c:DecodeNetworkLayer
decode-sll.c:DecodeNetworkLayer
Line
Count
Source
1167
9.05k
{
1168
9.05k
    switch (proto) {
1169
3.01k
        case ETHERNET_TYPE_IP: {
1170
3.01k
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1171
3.01k
            DecodeIPV4(tv, dtv, p, data, ip_len);
1172
3.01k
            break;
1173
0
        }
1174
226
        case ETHERNET_TYPE_IPV6: {
1175
226
            uint16_t ip_len = (len < USHRT_MAX) ? (uint16_t)len : (uint16_t)USHRT_MAX;
1176
226
            DecodeIPV6(tv, dtv, p, data, ip_len);
1177
226
            break;
1178
0
        }
1179
1.04k
        case ETHERNET_TYPE_PPPOE_SESS:
1180
1.04k
            DecodePPPOESession(tv, dtv, p, data, len);
1181
1.04k
            break;
1182
220
        case ETHERNET_TYPE_PPPOE_DISC:
1183
220
            DecodePPPOEDiscovery(tv, dtv, p, data, len);
1184
220
            break;
1185
205
        case ETHERNET_TYPE_VLAN:
1186
384
        case ETHERNET_TYPE_8021AD:
1187
585
        case ETHERNET_TYPE_8021QINQ:
1188
585
            if (p->vlan_idx > VLAN_MAX_LAYER_IDX) {
1189
0
                ENGINE_SET_EVENT(p,VLAN_HEADER_TOO_MANY_LAYERS);
1190
585
            } else {
1191
585
                DecodeVLAN(tv, dtv, p, data, len);
1192
585
            }
1193
585
            break;
1194
196
        case ETHERNET_TYPE_8021AH:
1195
196
            DecodeIEEE8021ah(tv, dtv, p, data, len);
1196
196
            break;
1197
226
        case ETHERNET_TYPE_ARP:
1198
226
            StatsIncr(tv, dtv->counter_arp);
1199
226
            break;
1200
243
        case ETHERNET_TYPE_MPLS_UNICAST:
1201
437
        case ETHERNET_TYPE_MPLS_MULTICAST:
1202
437
            DecodeMPLS(tv, dtv, p, data, len);
1203
437
            break;
1204
503
        case ETHERNET_TYPE_DCE:
1205
503
            if (unlikely(len < ETHERNET_DCE_HEADER_LEN)) {
1206
199
                ENGINE_SET_INVALID_EVENT(p, DCE_PKT_TOO_SMALL);
1207
304
            } else {
1208
                // DCE layer is ethernet + 2 bytes, followed by another ethernet
1209
304
                DecodeEthernet(tv, dtv, p, data + 2, len - 2);
1210
304
            }
1211
503
            break;
1212
463
        case ETHERNET_TYPE_VNTAG:
1213
463
            DecodeVNTag(tv, dtv, p, data, len);
1214
463
            break;
1215
202
        case ETHERNET_TYPE_NSH:
1216
202
            DecodeNSH(tv, dtv, p, data, len);
1217
202
            break;
1218
1.93k
        default:
1219
1.93k
            SCLogDebug("unknown ether type: %" PRIx16 "", proto);
1220
1.93k
            StatsIncr(tv, dtv->counter_ethertype_unknown);
1221
1.93k
            return false;
1222
9.05k
    }
1223
7.11k
    return true;
1224
9.05k
}
Unexecuted instantiation: detect-app-layer-event.c:DecodeNetworkLayer
Unexecuted instantiation: detect-app-layer-protocol.c:DecodeNetworkLayer
Unexecuted instantiation: detect-asn1.c:DecodeNetworkLayer
Unexecuted instantiation: detect-base64-data.c:DecodeNetworkLayer
Unexecuted instantiation: detect-base64-decode.c:DecodeNetworkLayer
Unexecuted instantiation: detect-bsize.c:DecodeNetworkLayer
Unexecuted instantiation: detect-bypass.c:DecodeNetworkLayer
Unexecuted instantiation: detect-byte.c:DecodeNetworkLayer
Unexecuted instantiation: detect-byte-extract.c:DecodeNetworkLayer
Unexecuted instantiation: detect-bytejump.c:DecodeNetworkLayer
Unexecuted instantiation: detect-bytemath.c:DecodeNetworkLayer
Unexecuted instantiation: detect-bytetest.c:DecodeNetworkLayer
Unexecuted instantiation: detect.c:DecodeNetworkLayer
Unexecuted instantiation: detect-cipservice.c:DecodeNetworkLayer
Unexecuted instantiation: detect-classtype.c:DecodeNetworkLayer
Unexecuted instantiation: detect-config.c:DecodeNetworkLayer
Unexecuted instantiation: detect-csum.c:DecodeNetworkLayer
Unexecuted instantiation: detect-datarep.c:DecodeNetworkLayer
Unexecuted instantiation: detect-dataset.c:DecodeNetworkLayer
Unexecuted instantiation: detect-dce-iface.c:DecodeNetworkLayer
Unexecuted instantiation: detect-dce-opnum.c:DecodeNetworkLayer
Unexecuted instantiation: detect-dce-stub-data.c:DecodeNetworkLayer
Unexecuted instantiation: detect-depth.c:DecodeNetworkLayer
Unexecuted instantiation: detect-detection-filter.c:DecodeNetworkLayer
Unexecuted instantiation: detect-distance.c:DecodeNetworkLayer
Unexecuted instantiation: detect-dnp3.c:DecodeNetworkLayer
Unexecuted instantiation: detect-dns-opcode.c:DecodeNetworkLayer
Unexecuted instantiation: detect-dns-query.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-analyzer.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-enip.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-event.c:DecodeNetworkLayer
Unexecuted instantiation: detect-engine-file.c:DecodeNetworkLayer
Unexecuted instantiation: detect-file-hash-common.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-accept.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-accept-enc.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-accept-lang.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-connection.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-content-len.c:DecodeNetworkLayer
Unexecuted instantiation: detect-http-content-type.c:DecodeNetworkLayer
Unexecuted instantiation: log-httplog.c:DecodeNetworkLayer
Unexecuted instantiation: log-pcap.c:DecodeNetworkLayer
Unexecuted instantiation: log-stats.c:DecodeNetworkLayer
Unexecuted instantiation: log-tcp-data.c:DecodeNetworkLayer
Unexecuted instantiation: log-tlslog.c:DecodeNetworkLayer
Unexecuted instantiation: log-tlsstore.c:DecodeNetworkLayer
Unexecuted instantiation: stream.c:DecodeNetworkLayer
Unexecuted instantiation: fuzz_sigpcap_aware.c:DecodeNetworkLayer
Unexecuted instantiation: util-unittest-helper.c:DecodeNetworkLayer
Unexecuted instantiation: fuzz_decodepcapfile.c:DecodeNetworkLayer
Unexecuted instantiation: fuzz_mimedecparseline.c:DecodeNetworkLayer
Unexecuted instantiation: fuzz_siginit.c:DecodeNetworkLayer
Unexecuted instantiation: fuzz_sigpcap.c:DecodeNetworkLayer
Unexecuted instantiation: fuzz_applayerprotodetectgetproto.c:DecodeNetworkLayer
Unexecuted instantiation: fuzz_predefpcap_aware.c:DecodeNetworkLayer
1225
1226
#endif /* __DECODE_H__ */