]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/network/netdev/bridge.h
3edc93a767a3fdefd34c980f95881505bece1c44
[thirdparty/systemd.git] / src / network / netdev / bridge.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include "netdev/netdev.h"
5
6 typedef struct Bridge {
7 NetDev meta;
8
9 int mcast_querier;
10 int mcast_snooping;
11 int vlan_filtering;
12 int stp;
13 uint16_t priority;
14 uint16_t group_fwd_mask;
15 uint16_t default_pvid;
16
17 usec_t forward_delay;
18 usec_t hello_time;
19 usec_t max_age;
20 usec_t ageing_time;
21 } Bridge;
22
23 DEFINE_NETDEV_CAST(BRIDGE, Bridge);
24 extern const NetDevVTable bridge_vtable;