projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[swconfig] add "swconfig list" support
[openwrt.git]
/
package
/
network
/
config
/
swconfig
/
src
/
swlib.h
diff --git
a/package/network/config/swconfig/src/swlib.h
b/package/network/config/swconfig/src/swlib.h
index
ff73969
..
02fa456
100644
(file)
--- a/
package/network/config/swconfig/src/swlib.h
+++ b/
package/network/config/swconfig/src/swlib.h
@@
-155,6
+155,11
@@
struct switch_port {
};
/**
+ * swlib_list: list all switches
+ */
+void swlib_list(void);
+
+/**
* swlib_connect: connect to the switch through netlink
* @name: name of the ethernet interface,
*