mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
248 B
Plaintext
16 lines
248 B
Plaintext
14 years ago
|
@directpacket@
|
||
|
identifier p;
|
||
|
typedef Packet;
|
||
|
position p1;
|
||
|
@@
|
||
|
|
||
|
Packet p@p1;
|
||
|
|
||
|
@ script:python @
|
||
|
p1 << directpacket.p1;
|
||
|
@@
|
||
|
|
||
|
print "Invalid Packet definition, explicit allocation must be used at %s:%s" % (p1[0].file, p1[0].line)
|
||
|
import sys
|
||
|
sys.exit(1)
|