X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=device.h;h=dbcaf771e73ac2e04a8bb591f219a381f435b78d;hp=a1eee7fc532629e65533aa959aee594aadd82ea8;hb=5dd87fd8ad3a42c71d90a8fecc893af973e552bf;hpb=9585227f1141d9da5a3186df5e10c4521e65083e 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);