trafgen: remove write-only variable pkt
[netsniff-ng-new.git] / trafgen_l7.h
blobcf19fa4f17ab090275b5c50e11e9d4b430201873
1 #ifndef TRAFGEN_L7_H
2 #define TRAFGEN_L7_H
4 enum dns_field {
5 DNS_ID,
6 DNS_QR,
7 DNS_OPCODE,
8 DNS_AA,
9 DNS_TC,
10 DNS_RD,
11 DNS_RA,
12 DNS_ZERO,
13 DNS_RCODE,
14 DNS_QD_COUNT,
15 DNS_AN_COUNT,
16 DNS_NS_COUNT,
17 DNS_AR_COUNT,
20 enum dns_header {
21 DNS_UNDEF_HDR,
22 DNS_QUERY_HDR,
23 DNS_ANSWER_HDR,
24 DNS_AUTH_HDR,
25 DNS_ADD_HDR,
28 enum dns_query_field {
29 DNS_QUERY_NAME,
30 DNS_QUERY_TYPE,
31 DNS_QUERY_CLASS,
34 enum dns_rrecord_field {
35 DNS_RRECORD_NAME,
36 DNS_RRECORD_TYPE,
37 DNS_RRECORD_CLASS,
38 DNS_RRECORD_TTL,
39 DNS_RRECORD_LEN,
40 DNS_RRECORD_DATA,
43 extern void protos_l7_init(void);
45 #endif /* TRAFGEN_L7_H */