summaryrefslogtreecommitdiffstats
path: root/include/internal/extern.h
blob: 405c9cabe41a3f7dde701a22e095e22532e0a126 (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
#ifndef _NFCT_EXTERN_H_
#define _NFCT_EXTERN_H_

extern const set_attr 	set_attr_array[];
extern const get_attr 	get_attr_array[];
extern const copy_attr 	copy_attr_array[];
extern const filter_attr 	filter_attr_array[];
extern const set_attr_grp	set_attr_grp_array[];
extern const get_attr_grp	get_attr_grp_array[];

extern const set_exp_attr	set_exp_attr_array[];
extern const get_exp_attr	get_exp_attr_array[];

extern const struct attr_grp_bitmask {
        uint32_t bitmask[__NFCT_BITSET];
        uint32_t type;
} attr_grp_bitmask[ATTR_GRP_MAX];

extern const set_filter_dump_attr	set_filter_dump_attr_array[];

/* for the snprintf infrastructure */
extern const char *const l3proto2str[AF_MAX];
extern const char *const proto2str[IPPROTO_MAX];
extern const char *const states[TCP_CONNTRACK_MAX];
extern const char *const sctp_states[SCTP_CONNTRACK_MAX];
extern const char *const dccp_states[DCCP_CONNTRACK_MAX];

#endif