vxlan.h (4f2c0a4acffbec01079c28f839422e64ddeff004) vxlan.h (a3a48de5eade770e911d35291217bdd69ce04ef1)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __NET_VXLAN_H
3#define __NET_VXLAN_H 1
4
5#include <linux/if_vlan.h>
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __NET_VXLAN_H
3#define __NET_VXLAN_H 1
4
5#include <linux/if_vlan.h>
6#include <linux/rhashtable-types.h>
6#include <net/udp_tunnel.h>
7#include <net/dst_metadata.h>
8#include <net/rtnetlink.h>
9#include <net/switchdev.h>
10#include <net/nexthop.h>
11
12#define IANA_VXLAN_UDP_PORT 4789
13#define IANA_VXLAN_GPE_UDP_PORT 4790

--- 283 unchanged lines hidden (view full) ---

297 unsigned int addrcnt;
298 struct gro_cells gro_cells;
299
300 struct vxlan_config cfg;
301
302 struct vxlan_vni_group __rcu *vnigrp;
303
304 struct hlist_head fdb_head[FDB_HASH_SIZE];
7#include <net/udp_tunnel.h>
8#include <net/dst_metadata.h>
9#include <net/rtnetlink.h>
10#include <net/switchdev.h>
11#include <net/nexthop.h>
12
13#define IANA_VXLAN_UDP_PORT 4789
14#define IANA_VXLAN_GPE_UDP_PORT 4790

--- 283 unchanged lines hidden (view full) ---

298 unsigned int addrcnt;
299 struct gro_cells gro_cells;
300
301 struct vxlan_config cfg;
302
303 struct vxlan_vni_group __rcu *vnigrp;
304
305 struct hlist_head fdb_head[FDB_HASH_SIZE];
306
307 struct rhashtable mdb_tbl;
308 struct hlist_head mdb_list;
309 unsigned int mdb_seq;
305};
306
307#define VXLAN_F_LEARN 0x01
308#define VXLAN_F_PROXY 0x02
309#define VXLAN_F_RSC 0x04
310#define VXLAN_F_L2MISS 0x08
311#define VXLAN_F_L3MISS 0x10
312#define VXLAN_F_IPV6 0x20

--- 257 unchanged lines hidden ---
310};
311
312#define VXLAN_F_LEARN 0x01
313#define VXLAN_F_PROXY 0x02
314#define VXLAN_F_RSC 0x04
315#define VXLAN_F_L2MISS 0x08
316#define VXLAN_F_L3MISS 0x10
317#define VXLAN_F_IPV6 0x20

--- 257 unchanged lines hidden ---