X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/17a8f7b655ab85979781db15290784fcd3c496f2..df5c1e6f54ed167ec4b2298f70ac9beb100065ca:/package/swconfig/src/swlib.h diff --git a/package/swconfig/src/swlib.h b/package/swconfig/src/swlib.h index b3c6769de..ff73969c8 100644 --- a/package/swconfig/src/swlib.h +++ b/package/swconfig/src/swlib.h @@ -114,10 +114,12 @@ struct uci_package; struct switch_dev { int id; + char dev_name[IFNAMSIZ]; const char *name; - const char *dev_name; + const char *alias; int ports; int vlans; + int cpu_port; struct switch_attr *ops; struct switch_attr *port_ops; struct switch_attr *vlan_ops;