linux/net/ipv4/udplite.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  UDPLITE     An implementation of the UDP-Lite protocol (RFC 3828).
 *
 *  Authors:    Gerrit Renker       <[email protected]>
 *
 *  Changes:
 *  Fixes:
 */

#define pr_fmt(fmt)

#include <linux/export.h>
#include <linux/proc_fs.h>
#include "udp_impl.h"

struct udp_table 	udplite_table __read_mostly;
EXPORT_SYMBOL();

/* Designate sk as UDP-Lite socket */
static int udplite_sk_init(struct sock *sk)
{}

static int udplite_rcv(struct sk_buff *skb)
{}

static int udplite_err(struct sk_buff *skb, u32 info)
{}

static const struct net_protocol udplite_protocol =;

struct proto 	udplite_prot =;
EXPORT_SYMBOL();

static struct inet_protosw udplite4_protosw =;

#ifdef CONFIG_PROC_FS
static struct udp_seq_afinfo udplite4_seq_afinfo =;

static int __net_init udplite4_proc_init_net(struct net *net)
{}

static void __net_exit udplite4_proc_exit_net(struct net *net)
{}

static struct pernet_operations udplite4_net_ops =;

static __init int udplite4_proc_init(void)
{}
#else
static inline int udplite4_proc_init(void)
{
	return 0;
}
#endif

void __init udplite4_register(void)
{}