15 lines
439 B
C
15 lines
439 B
C
#ifndef _XT_QTAGUID_MATCH_H
|
|
#define _XT_QTAGUID_MATCH_H
|
|
|
|
/* For now we just replace the xt_owner.
|
|
* FIXME: make iptables aware of qtaguid. */
|
|
#include <linux/netfilter/xt_owner.h>
|
|
|
|
#define XT_QTAGUID_UID XT_OWNER_UID
|
|
#define XT_QTAGUID_GID XT_OWNER_GID
|
|
#define XT_QTAGUID_SOCKET XT_OWNER_SOCKET
|
|
#define xt_qtaguid_match_info xt_owner_match_info
|
|
|
|
int qtaguid_untag(struct socket *sock, bool kernel);
|
|
#endif /* _XT_QTAGUID_MATCH_H */
|