trafgen: Allow to compile without libnl
[netsniff-ng.git] / trafgen_l3.h
bloba1b1523ae68d7d18c3a2c04a03d255fd0b4ec18c
1 #ifndef TRAFGEN_L3_H
2 #define TRAFGEN_L3_H
4 enum ip4_field {
5 IP4_VER,
6 IP4_IHL,
7 IP4_DSCP,
8 IP4_ECN,
9 IP4_TOS,
10 IP4_LEN,
11 IP4_ID,
12 IP4_FLAGS,
13 IP4_FRAG_OFFS,
14 IP4_TTL,
15 IP4_PROTO,
16 IP4_CSUM,
17 IP4_SADDR,
18 IP4_DADDR,
19 IP4_DF,
20 IP4_MF,
23 enum ip6_field {
24 IP6_VER,
25 IP6_CLASS,
26 IP6_FLOW_LBL,
27 IP6_LEN,
28 IP6_NEXT_HDR,
29 IP6_HOP_LIMIT,
30 IP6_SADDR,
31 IP6_DADDR,
34 extern void protos_l3_init(void);
36 #endif /* TRAFGEN_L2_H */