projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
interface: allow an interface to specify device configs even when there are other...
[project/netifd.git]
/
device.h
diff --git
a/device.h
b/device.h
index
4b36641
..
753e1fa
100644
(file)
--- a/
device.h
+++ b/
device.h
@@
-21,6
+21,7
@@
struct device;
struct device_user;
struct device_hotplug_ops;
struct device;
struct device_user;
struct device_hotplug_ops;
+struct interface;
typedef int (*device_state_cb)(struct device *, bool up);
typedef int (*device_state_cb)(struct device *, bool up);
@@
-165,6
+166,8
@@
struct device {
bool default_config;
bool wireless;
bool default_config;
bool wireless;
+ struct interface *config_iface;
+
/* set interface up or down */
device_state_cb set_state;
/* set interface up or down */
device_state_cb set_state;