summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-03 16:50:51 +0200
committerFelix Fietkau <nbd@openwrt.org>2013-10-03 16:51:05 +0200
commit5dd87fd8ad3a42c71d90a8fecc893af973e552bf (patch)
treee0255fd31ccfa52e96df6c6f9ca2a02d3b7d4702 /device.h
parent9585227f1141d9da5a3186df5e10c4521e65083e (diff)
device: add macvlan support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'device.h')
-rw-r--r--device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.h b/device.h
index a1eee7f..dbcaf77 100644
--- a/device.h
+++ b/device.h
@@ -103,7 +103,7 @@ struct device_settings {
uint8_t macaddr[6];
};
-/*
+/*
* link layer device. typically represents a linux network device.
* can be used to support VLANs as well
*/
@@ -152,6 +152,7 @@ extern const struct uci_blob_param_list device_attr_list;
extern const struct device_type simple_device_type;
extern const struct device_type bridge_device_type;
extern const struct device_type tunnel_device_type;
+extern const struct device_type macvlan_device_type;
void device_lock(void);
void device_unlock(void);