linux/net/ethtool/tunnels.c

// SPDX-License-Identifier: GPL-2.0-only

#include <linux/ethtool_netlink.h>
#include <net/udp_tunnel.h>
#include <net/vxlan.h>

#include "bitset.h"
#include "common.h"
#include "netlink.h"

const struct nla_policy ethnl_tunnel_info_get_policy[] =;

static_assert();
static_assert();
static_assert();

static ssize_t ethnl_udp_table_reply_size(unsigned int types, bool compact)
{}

static ssize_t
ethnl_tunnel_info_reply_size(const struct ethnl_req_info *req_base,
			     struct netlink_ext_ack *extack)
{}

static int
ethnl_tunnel_info_fill_reply(const struct ethnl_req_info *req_base,
			     struct sk_buff *skb)
{}

int ethnl_tunnel_info_doit(struct sk_buff *skb, struct genl_info *info)
{}

struct ethnl_tunnel_info_dump_ctx {};

int ethnl_tunnel_info_start(struct netlink_callback *cb)
{}

int ethnl_tunnel_info_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
{}