summaryrefslogtreecommitdiff
path: root/package/network/config/swconfig/src
Commit message (Collapse)AuthorAge
* swconfig: replace the shared library with a static oneFelix Fietkau2016-12-14
| | | | | | Reduces binary size Signed-off-by: Felix Fietkau <nbd@nbd.name>
* swconfig: revert the portmapping patches, they seem to cause a segfaultJohn Crispin2016-08-16
| | | | | | | | | | | | Revert "kernel/swconfig: remove obsolete portmapping feature from swconfig" This reverts commit 675407baa44a8700de20b6b2857009a552a807ba. Revert "swconfig: remove obsolete portmapping feature" This reverts commit fca1eb349ef31b133a62880cbd562d6bf17500aa. Signed-off-by: John Crispin <john@phrozen.org>
* swconfig: remove obsolete portmapping featureJohn Crispin2016-08-15
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* swconfig: improve failure reportingJo-Philipp Wich2016-06-11
| | | | | | Report the translated error to the user if a get/set netlink operation failed. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-07
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* swconfig: support setting SWITCH_TYPE_LINK attributesRafał Miłecki2016-02-03
| | | | | | | | | | Supported syntax is inspired by ethtool. Example usages: swconfig dev switch0 port 2 set link "duplex half speed 100" swconfig dev switch0 port 2 set link "autoneg on" Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48624
* swconfig: support sending SWITCH_TYPE_LINK to kernelRafał Miłecki2016-01-06
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48141
* swconfig: support receiving SWITCH_TYPE_LINK from kernelJohn Crispin2015-12-23
| | | | | | | | | When using cli, print link state the same way kernel used to do it. This will allow kernel switching PORT_LINK from SWITCH_TYPE_STRING. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47998
* swconfig: Split libsw out of swconfig for reuse in other packagesJohn Crispin2015-07-14
| | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 46358
* swconfig: swlib.c: Fix another memleakFelix Fietkau2015-07-08
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 46275
* swconfig: swlib.c: free name and description of attributesJohn Crispin2015-07-07
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46232
* swconfig: swlib.c: free portmaps in swlib_free()John Crispin2015-07-07
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46231
* swconfig: swlib.c: remove const qualifier for val.s since this is supposed ↵John Crispin2015-07-07
| | | | | | | | to be free'd Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46230
* swconfig: swlib.c: free device name and aliasJohn Crispin2015-07-07
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46229
* swconfig: improve usability when switch device incorrectJohn Crispin2014-01-12
| | | | | | | | http://patchwork.openwrt.org/patch/4701/ Signed-off-by: Andreas Mohr <andim2@users.sf.net> SVN-Revision: 39229
* swconfig: remove useless variables, return -1 on errorsJohn Crispin2013-12-27
| | | | | | | | spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 39170
* add portmap support to userlandJohn Crispin2013-04-09
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36284
* add "swconfig list" supportJohn Crispin2013-04-09
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36282
* move lots of kernel related packages to the new system/ folderJohn Crispin2012-10-17
SVN-Revision: 33830