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

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