blob: dbe1f98bcca489923ae0880e59852f10f1dba5ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
@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)
|