summaryrefslogtreecommitdiff
path: root/trafgen_l2.h
blob: 7643bc3189a15b4b856c2aa3503a80cf672f0381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef TRAFGEN_L2_H
#define TRAFGEN_L2_H

enum eth_field {
	ETH_DST_ADDR,
	ETH_SRC_ADDR,
	ETH_PROTO_ID,
};

enum arp_field {
	ARP_HTYPE,
	ARP_PTYPE,
	ARP_HLEN,
	ARP_PLEN,
	ARP_OPER,
	ARP_SHA,
	ARP_SPA,
	ARP_THA,
	ARP_TPA,
};

extern void protos_l2_init(void);

#endif /* TRAFGEN_L2_H */