diff options
author | John Crispin <john@phrozen.org> | 2016-08-12 14:54:26 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-08-15 15:32:36 +0200 |
commit | fca1eb349ef31b133a62880cbd562d6bf17500aa (patch) | |
tree | 96e11a569ccf66d510d60640796c83eabee912e0 /package/network/config/swconfig/src/swlib.h | |
parent | 675407baa44a8700de20b6b2857009a552a807ba (diff) | |
download | mtk-20170518-fca1eb349ef31b133a62880cbd562d6bf17500aa.zip mtk-20170518-fca1eb349ef31b133a62880cbd562d6bf17500aa.tar.gz mtk-20170518-fca1eb349ef31b133a62880cbd562d6bf17500aa.tar.bz2 |
swconfig: remove obsolete portmapping feature
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'package/network/config/swconfig/src/swlib.h')
-rw-r--r-- | package/network/config/swconfig/src/swlib.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/package/network/config/swconfig/src/swlib.h b/package/network/config/swconfig/src/swlib.h index 3826a5e..89dbba7 100644 --- a/package/network/config/swconfig/src/swlib.h +++ b/package/network/config/swconfig/src/swlib.h @@ -129,7 +129,6 @@ struct switch_dev { struct switch_attr *ops; struct switch_attr *port_ops; struct switch_attr *vlan_ops; - struct switch_portmap *maps; struct switch_dev *next; void *priv; }; @@ -162,11 +161,6 @@ struct switch_port { unsigned int flags; }; -struct switch_portmap { - unsigned int virt; - char *segment; -}; - struct switch_port_link { int link:1; int duplex:1; @@ -184,12 +178,6 @@ struct switch_port_link { void swlib_list(void); /** - * swlib_print_portmap: get portmap - * @dev: switch device struct - */ -void swlib_print_portmap(struct switch_dev *dev, char *segment); - -/** * swlib_connect: connect to the switch through netlink * @name: name of the ethernet interface, * |