blob: 1b974e968311cfae2b71e25b8a2d410d16e4d72d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef _ORIGIN_H_
#define _ORIGIN_H_
enum {
CTD_ORIGIN_NOT_ME = 0, /* this event comes from the kernel or
any process, but not conntrackd */
CTD_ORIGIN_COMMIT, /* event comes from committer */
CTD_ORIGIN_FLUSH, /* event comes from flush */
CTD_ORIGIN_INJECT, /* event comes from direct inject */
};
int origin_register(struct nfct_handle *h, int origin_type);
int origin_find(const struct nlmsghdr *nlh);
int origin_unregister(struct nfct_handle *h);
#endif
|