linux/net/netfilter/xt_sctp.c

// SPDX-License-Identifier: GPL-2.0-only
#define pr_fmt(fmt)
#include <linux/module.h>
#include <linux/skbuff.h>
#include <net/ip.h>
#include <net/ipv6.h>
#include <linux/sctp.h>

#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/xt_sctp.h>
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv6/ip6_tables.h>

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_ALIAS();
MODULE_ALIAS();

#define SCCHECK(cond, option, flag, invflag)

static bool
match_flags(const struct xt_sctp_flag_info *flag_info,
	    const int flag_count,
	    u_int8_t chunktype,
	    u_int8_t chunkflags)
{}

static inline bool
match_packet(const struct sk_buff *skb,
	     unsigned int offset,
	     const struct xt_sctp_info *info,
	     bool *hotdrop)
{}

static bool
sctp_mt(const struct sk_buff *skb, struct xt_action_param *par)
{}

static int sctp_mt_check(const struct xt_mtchk_param *par)
{}

static struct xt_match sctp_mt_reg[] __read_mostly =;

static int __init sctp_mt_init(void)
{}

static void __exit sctp_mt_exit(void)
{}

module_init();
module_exit(sctp_mt_exit);