summaryrefslogtreecommitdiff
path: root/trafgen_l4.h
blob: 9537cbf3f49eb4d98025ed68533dacbaa92ff69d (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef TRAFGEN_L4_H
#define TRAFGEN_L4_H

enum udp_field {
	UDP_SPORT,
	UDP_DPORT,
	UDP_LEN,
	UDP_CSUM,
};

enum tcp_field {
	TCP_SPORT,
	TCP_DPORT,
	TCP_SEQ,
	TCP_ACK_SEQ,
	TCP_DOFF,
	TCP_CWR,
	TCP_ECE,
	TCP_URG,
	TCP_ACK,
	TCP_PSH,
	TCP_RST,
	TCP_SYN,
	TCP_FIN,
	TCP_WINDOW,
	TCP_CSUM,
	TCP_URG_PTR,
};

enum icmpv4_field {
	ICMPV4_TYPE,
	ICMPV4_CODE,
	ICMPV4_CSUM,
	ICMPV4_ID,
	ICMPV4_SEQ,
	ICMPV4_REDIR_ADDR,
	ICMPV4_MTU,
};

enum icmpv6_field {
	ICMPV6_TYPE,
	ICMPV6_CODE,
	ICMPV6_CSUM,
};

extern void protos_l4_init(void);

#endif /* TRAFGEN_L4_H */
t_rbtree.c?id=0b5a78749260560f41e3b7c1f60f2c7dd9aff4f0'>net/netfilter/nft_set_rbtree.c1
4 files changed, 21 insertions, 5 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h