]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/network/netdev/macvlan.h
Use consistent spelling of systemd.condition_first_boot argument
[thirdparty/systemd.git] / src / network / netdev / macvlan.h
CommitLineData
db9ecf05 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
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;
dca0a4e1
SS
15
16 uint32_t bc_queue_length;
9adafedd 17 int32_t bc_queue_threshold;
aa9f1140
TG
18};
19
634f0f98
ZJS
20DEFINE_NETDEV_CAST(MACVLAN, MacVlan);
21DEFINE_NETDEV_CAST(MACVTAP, MacVlan);
aa9f1140 22extern const NetDevVTable macvlan_vtable;
f33ff02b 23extern const NetDevVTable macvtap_vtable;
aa9f1140 24
538f15cf 25CONFIG_PARSER_PROTOTYPE(config_parse_macvlan_mode);
dca0a4e1 26CONFIG_PARSER_PROTOTYPE(config_parse_macvlan_broadcast_queue_size);
9adafedd 27CONFIG_PARSER_PROTOTYPE(config_parse_macvlan_broadcast_queue_threshold);