X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=device.h;h=4b366412b2bc2bfff29e8bf268950fd2379e0d38;hp=cddb340cf36851e015ff1c6988fda7af0cc27f5e;hb=9cb272f5b12cf23205f361244a9ceef1097d3cba;hpb=60f57b2bfb87c463fc271a9c3e8e1f97feaecdca diff --git a/device.h b/device.h index cddb340..4b36641 100644 --- a/device.h +++ b/device.h @@ -26,7 +26,6 @@ typedef int (*device_state_cb)(struct device *, bool up); enum { DEV_ATTR_TYPE, - DEV_ATTR_IFNAME, DEV_ATTR_MTU, DEV_ATTR_MACADDR, DEV_ATTR_TXQUEUELEN, @@ -38,6 +37,8 @@ enum { DEV_ATTR_IGMPVERSION, DEV_ATTR_MLDVERSION, DEV_ATTR_NEIGHREACHABLETIME, + DEV_ATTR_RPS, + DEV_ATTR_XPS, __DEV_ATTR_MAX, }; @@ -129,6 +130,8 @@ struct device_settings { unsigned int mldversion; unsigned int neigh4reachabletime; unsigned int neigh6reachabletime; + bool rps; + bool xps; }; /* @@ -158,6 +161,7 @@ struct device { bool hidden; bool current_config; + bool iface_config; bool default_config; bool wireless;