Revert "netifd: Link layer state support on device level"
[project/netifd.git] / device.h
index a1eee7f..d63ffe3 100644 (file)
--- a/device.h
+++ b/device.h
@@ -59,7 +59,7 @@ struct device_type {
 enum {
        DEV_OPT_MTU             = (1 << 0),
        DEV_OPT_MACADDR         = (1 << 1),
-       DEV_OPT_TXQUEUELEN      = (1 << 2)
+       DEV_OPT_TXQUEUELEN      = (1 << 2),
 };
 
 /* events broadcasted to all users of a device */
@@ -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);