root/include/linux/netfilter/nf_conntrack_irc.h
/* 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 */