linux/drivers/net/netdevsim/udp_tunnels.c

// SPDX-License-Identifier: GPL-2.0-only
// Copyright (c) 2020 Facebook Inc.

#include <linux/debugfs.h>
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <net/udp_tunnel.h>

#include "netdevsim.h"

static int
nsim_udp_tunnel_set_port(struct net_device *dev, unsigned int table,
			 unsigned int entry, struct udp_tunnel_info *ti)
{}

static int
nsim_udp_tunnel_unset_port(struct net_device *dev, unsigned int table,
			   unsigned int entry, struct udp_tunnel_info *ti)
{}

static int
nsim_udp_tunnel_sync_table(struct net_device *dev, unsigned int table)
{}

static const struct udp_tunnel_nic_info nsim_udp_tunnel_info =;

static ssize_t
nsim_udp_tunnels_info_reset_write(struct file *file, const char __user *data,
				  size_t count, loff_t *ppos)
{}

static const struct file_operations nsim_udp_tunnels_info_reset_fops =;

int nsim_udp_tunnels_info_create(struct nsim_dev *nsim_dev,
				 struct net_device *dev)
{}

void nsim_udp_tunnels_info_destroy(struct net_device *dev)
{}

void nsim_udp_tunnels_debugfs_create(struct nsim_dev *nsim_dev)
{}