X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=device.h;h=3001f1045a7313b7990210f89f588d8fb778506f;hp=753e1fae55bcd16fe79e0fa0418e2de05b710206;hb=edb414294c06fb9d275c9f3be2282283453a46d0;hpb=b0720e584f750073a4bc81c889abdaf08983e0ce diff --git a/device.h b/device.h index 753e1fa..3001f10 100644 --- a/device.h +++ b/device.h @@ -78,6 +78,8 @@ enum { DEV_OPT_IGMPVERSION = (1 << 7), DEV_OPT_MLDVERSION = (1 << 8), DEV_OPT_NEIGHREACHABLETIME = (1 << 9), + DEV_OPT_RPS = (1 << 10), + DEV_OPT_XPS = (1 << 11), }; /* events broadcasted to all users of a device */ @@ -206,6 +208,7 @@ device_apply_config(struct device *dev, const struct device_type *type, void device_reset_config(void); void device_reset_old(void); +void device_set_default_ps(bool state); void device_init_virtual(struct device *dev, const struct device_type *type, const char *name); int device_init(struct device *iface, const struct device_type *type, const char *ifname);