]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/network/netdev/macvlan.h
Merge pull request #16145 from poettering/qrcode-dlopen
[thirdparty/systemd.git] / src / network / netdev / macvlan.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
0ef6f454
LP
2#pragma once
3
aa9f1140 4typedef struct MacVlan MacVlan;
3be1d7e0 5
d5167480 6#include "macvlan-util.h"
737f1405 7#include "netdev.h"
0d0de133 8#include "set.h"
3be1d7e0 9
aa9f1140
TG
10struct MacVlan {
11 NetDev meta;
12
13 MacVlanMode mode;
0d0de133 14 Set *match_source_mac;
aa9f1140
TG
15};
16
634f0f98
ZJS
17DEFINE_NETDEV_CAST(MACVLAN, MacVlan);
18DEFINE_NETDEV_CAST(MACVTAP, MacVlan);
aa9f1140 19extern const NetDevVTable macvlan_vtable;
f33ff02b 20extern const NetDevVTable macvtap_vtable;
aa9f1140 21
538f15cf 22CONFIG_PARSER_PROTOTYPE(config_parse_macvlan_mode);