Commit Graph

14 Commits (dc44447ce6cf9dc676e08ef0302b6b613ae6ea12)

Author SHA1 Message Date
Victor Julien 114fc37294 detect/address: constify ipv6 cmp funcs 2 years ago
Jason Ish 44388f1b69 src: make include guards more library friendly
Include guards for libraries should use a prefix that is meaningful for
the library to avoid conflicts with other user code. For Suricata, use
SURICATA.

Additionally, remove the pattern of leading and trailing underscores as
these are reserved for the language implementation per the C and C++
standards.
2 years ago
Victor Julien 42d112e7b6 detect/address: dead code removal and style cleanups 7 years ago
Victor Julien ab1200fbd7 compiler: more strict compiler warnings
Set flags by default:

    -Wmissing-prototypes
    -Wmissing-declarations
    -Wstrict-prototypes
    -Wwrite-strings
    -Wcast-align
    -Wbad-function-cast
    -Wformat-security
    -Wno-format-nonliteral
    -Wmissing-format-attribute
    -funsigned-char

Fix minor compiler warnings for these new flags on gcc and clang.
9 years ago
Victor Julien 1eec149f5e Use Address structure in DetectAddress struct. 16 years ago
William Metcalf ce01927515 Import of GPLv2 Header 050410 17 years ago
Anoop Saldanha e25696afce engine address ipv6 refactored 17 years ago
Victor Julien de8caa7964 Rename DetectAddressGroup* to DetectAddress* 17 years ago
Victor Julien e4c98c562c Merge DetectAddressData and DetectAddressGroup 17 years ago
Victor Julien b26b5aa462 More cleanups. 17 years ago
Brian Rectanus fa5939ca91 64 bit cleanup part2 17 years ago
Victor Julien 5df5b35e90 Put all globals in the detection engine ctx. Add HashList type, a hash that also stores the items ina list to it can be traversed. Many cleanups. 17 years ago
Victor Julien 3f7195454b Big detection engine update. 17 years ago
Victor Julien 8b3d06fd92 Rename some detection engine related files. 17 years ago