mirror of https://github.com/OISF/suricata
Added support for the csum-<protocol> rules keyword to the detection engine. Keywords added are ipv4-csum, tcpv4-csum, tcpv6-csum, udpv4-csum, udpv6-csum, icmpv4-csum and icmpv6-csum
parent
39724df664
commit
22c0ec2bc5
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,16 @@
|
||||
#ifndef __DETECT_CSUM_H__
|
||||
#define __DETECT_CSUM_H__
|
||||
|
||||
#define DETECT_CSUM_VALID "valid"
|
||||
#define DETECT_CSUM_INVALID "invalid"
|
||||
|
||||
typedef struct DetectCsumData_ {
|
||||
/* Indicates if the csum-<protocol> keyword in a rule holds the
|
||||
keyvalue "valid" or "invalid" */
|
||||
int16_t valid;
|
||||
} DetectCsumData;
|
||||
|
||||
void DetectCsumRegister(void);
|
||||
|
||||
#endif /* __DETECT_CSUM_H__ */
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue