repo.or.cz
/
netsniff-ng-new.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
AUTHORS: update authors
[netsniff-ng-new.git]
/
trafgen_l3.h
blob
e0c9a1cc3dbf0235aa49232a7a8d5f6c1154c6bc
1
#ifndef TRAFGEN_L3_H
2
#define TRAFGEN_L3_H
3
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_MF
,
14
IP4_DF
,
15
IP4_FRAG_OFFS
,
16
IP4_TTL
,
17
IP4_PROTO
,
18
IP4_CSUM
,
19
IP4_SADDR
,
20
IP4_DADDR
,
21
};
22
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
,
32
};
33
34
extern
void
protos_l3_init
(
void
);
35
36
#endif
/* TRAFGEN_L2_H */