summaryrefslogtreecommitdiff
path: root/include/origin.h
blob: 89308f36cdd63210a90f343645632834e11cec35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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 */
};

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