Victor Julien
78da4cfcae
counters: regular counter Incr API update
11 months ago
Jason Ish
22b77b0c56
conf: prefix conf API with SC
2 years ago
Victor Julien
5c3036bea8
decode/udp: add and use PacketIsUDP inline func
...
Replace PKT_IS_UDP macro with PacketIsUDP inline function.
For better readability and type checking.
Ticket: #5517 .
3 years ago
Victor Julien
2001ddc583
decode: use macro's instead of direct ptr checks
...
To prepare future changes to the Packet header pointers.
Ticket: #5517 .
3 years ago
Victor Julien
79d5caacd0
decode: spelling
4 years ago
Victor Julien
b31ffde6f4
output: remove error codes from output
4 years ago
Victor Julien
6dc53447f1
decode/geneve/tests: don't memset packet
...
Packet is already initialized.
4 years ago
Victor Julien
39cf5b151a
src: includes cleanup
...
Work towards making `suricata-common.h` only introduce system headers
and other things that are independent of complex internal Suricata
data structures.
Update files to compile after this.
Remove special DPDK handling for strlcpy and strlcat, as this caused
many compilation failures w/o including DPDK headers for all files.
Remove packet macros from decode.h and move them into their own file,
turn them into functions and rename them to match our function naming
policy.
4 years ago
Philippe Antoine
73ed780095
decode: fix integer warnings
...
Ticket: 4516
5 years ago
Jeff Lucovsky
83067e5a55
decode: Eliminate NULL pkt checks
...
This commit removes the NULL pkt check that each decoder performs as
this is a "can't happen" case.
5 years ago
Philippe Antoine
7500c29300
decode: limits the number of decoded layers
...
so as to avoid overrecursion leading to stack exhaustion
6 years ago
Ali Jad Khalil
5d955c1836
decode/geneve: Add Geneve decoding functionality
...
These changes are in response to feature request 3063. Geneve is
very similar to VXLAN, but uses a slightly different encapsulation
scheme.
6 years ago