DEV_ATTR_RPS,
DEV_ATTR_XPS,
DEV_ATTR_DADTRANSMITS,
+ DEV_ATTR_MULTICAST_TO_UNICAST,
+ DEV_ATTR_MULTICAST_ROUTER,
+ DEV_ATTR_MULTICAST,
+ DEV_ATTR_LEARNING,
+ DEV_ATTR_UNICAST_FLOOD,
+ DEV_ATTR_NEIGHGCSTALETIME,
__DEV_ATTR_MAX,
};
struct list_head list;
const char *name;
- bool keep_link_status;
-
const struct uci_blob_param_list *config_params;
struct device *(*create)(const char *name, struct blob_attr *attr);
DEV_OPT_XPS = (1 << 11),
DEV_OPT_MTU6 = (1 << 12),
DEV_OPT_DADTRANSMITS = (1 << 13),
+ DEV_OPT_MULTICAST_TO_UNICAST = (1 << 14),
+ DEV_OPT_MULTICAST_ROUTER = (1 << 15),
+ DEV_OPT_MULTICAST = (1 << 16),
+ DEV_OPT_LEARNING = (1 << 17),
+ DEV_OPT_UNICAST_FLOOD = (1 << 18),
+ DEV_OPT_NEIGHGCSTALETIME = (1 << 19),
};
/* events broadcasted to all users of a device */
struct device_settings {
unsigned int flags;
+ unsigned int valid_flags;
unsigned int mtu;
unsigned int mtu6;
unsigned int txqueuelen;
unsigned int mldversion;
unsigned int neigh4reachabletime;
unsigned int neigh6reachabletime;
+ unsigned int neigh4gcstaletime;
+ unsigned int neigh6gcstaletime;
bool rps;
bool xps;
unsigned int dadtransmits;
+ bool multicast_to_unicast;
+ unsigned int multicast_router;
+ bool multicast;
+ bool learning;
+ bool unicast_flood;
};
/*
bool iface_config;
bool default_config;
bool wireless;
+ bool wireless_ap;
bool wireless_isolate;
struct interface *config_iface;