mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Pablo Neira Ayuso](/assets/img/avatar_default.png)
This patch moves NFULNL_COPY_PACKET definition from linux/netfilter/nfnetlink_log.h to net/netfilter/nfnetlink_log.h since this copy mode is only for internal use. I have also changed the value from 0x03 to 0xff. Thus, we avoid a gap from user-space that may confuse users if we add new copy modes in the future. This change was introduced in: http://www.spinics.net/lists/netfilter-devel/msg13535.html Since this change is not included in any stable Linux kernel, I think it's safe to make this change now. Anyway, this copy mode does not make any sense from user-space, so this patch should not break any existing setup. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Patrick McHardy <kaber@trash.net>
16 lines
356 B
C
16 lines
356 B
C
#ifndef _KER_NFNETLINK_LOG_H
|
|
#define _KER_NFNETLINK_LOG_H
|
|
|
|
void
|
|
nfulnl_log_packet(u_int8_t pf,
|
|
unsigned int hooknum,
|
|
const struct sk_buff *skb,
|
|
const struct net_device *in,
|
|
const struct net_device *out,
|
|
const struct nf_loginfo *li_user,
|
|
const char *prefix);
|
|
|
|
#define NFULNL_COPY_DISABLED 0xff
|
|
|
|
#endif /* _KER_NFNETLINK_LOG_H */
|
|
|