net: bridge: vlan: add basic option dumping support
[linux-block.git] / net / bridge / br_vlan_options.c
CommitLineData
7a53e718
NA
1// SPDX-License-Identifier: GPL-2.0-only
2// Copyright (c) 2020, Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
3#include <linux/kernel.h>
4#include <linux/netdevice.h>
5#include <linux/rtnetlink.h>
6#include <linux/slab.h>
7
8#include "br_private.h"
9
10/* check if the options between two vlans are equal */
11bool br_vlan_opts_eq(const struct net_bridge_vlan *v1,
12 const struct net_bridge_vlan *v2)
13{
14 return true;
15}
16
17bool br_vlan_opts_fill(struct sk_buff *skb, const struct net_bridge_vlan *v)
18{
19 return true;
20}
21
22size_t br_vlan_opts_nl_size(void)
23{
24 return 0;
25}