aboutsummaryrefslogtreecommitdiff
path: root/include/linux/netfilter/nf_conntrack_irc.h
blob: ce07250afb4e9e798ff9952145cb568970909d01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _NF_CONNTRACK_IRC_H
#define _NF_CONNTRACK_IRC_H

#include <linux/netfilter.h>
#include <linux/skbuff.h>
#include <net/netfilter/nf_conntrack_expect.h>

#define IRC_PORT	6667

typedef unsigned int
nf_nat_irc_hook_fn(struct sk_buff *skb,
		   enum ip_conntrack_info ctinfo,
		   unsigned int protoff,
		   unsigned int matchoff,
		   unsigned int matchlen,
		   struct nf_conntrack_expect *exp);

extern nf_nat_irc_hook_fn __rcu *nf_nat_irc_hook;

#endif /* _NF_CONNTRACK_IRC_H */