hush/networking
Lukasz Nowak b42107f215 libiproute: handle table ids larger than 255
Linux kernel, starting from 2.6.19 allows ip table ids to have 32-bit values.
In order to preserve compatibility, the old 8-bit field: rtm_table is still
in use when table id is lower than 256.

Add support for the 32-bit table id (RTA_TABLE attribute) in:
- ip route print
- ip route modify
- ip rule print
- ip rule modify

Add printing of table ids to ip route.

Changes are compatible with the mainline iproute2 utilities.

These changes are required for compatibility with ConnMan, which by default
uses table ids greater than 255.

function                                             old     new   delta
print_route                                         1588    1637     +49
do_iproute                                          2187    2222     +35
do_iprule                                            955     987     +32
print_rule                                           617     630     +13
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 129/0)             Total: 129 bytes

Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-12-18 18:56:49 +01:00
..
libiproute libiproute: handle table ids larger than 255 2016-12-18 18:56:49 +01:00
ssl_helper
ssl_helper-wolfssl wget/ssl_helper: update to wolfssl-3.9.8 2016-08-21 03:39:39 +02:00
udhcp Convert all udhcp applets to "new style" applet definitions 2016-11-23 18:54:59 +01:00
arp.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
arping.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
brctl.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
Config.src tc: consolidate its disabled bits 2016-11-23 09:51:33 +01:00
dnsd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ether-wake.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ftpd.c Rename FEATURE_FTP_WRITE and FEATURE_FTP_AUTHENTICATION to *_FTPD_* 2016-11-23 09:07:44 +01:00
ftpgetput.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
hostname.c dnsdomainname: split it from "hostname", make it independently selectable 2016-11-13 22:35:10 +01:00
httpd_indexcgi.c
httpd_post_upload.txt
httpd_ssi.c
httpd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ifconfig.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ifenslave.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ifplugd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ifupdown.c Make ifup and ifdown individually selectable. 2016-11-14 18:31:07 +01:00
inetd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
interface.c Code style fixes, no code changes 2016-11-28 01:22:57 +01:00
ip.c ipneigh: add this shortcur similar to other "ip <CMD>" shortcuts 2016-11-23 09:18:05 +01:00
ipcalc.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
isrv_identd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
isrv.c
isrv.h
Kbuild.src Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
nameif.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
nbd-client.c
nc_bloaty.c
nc.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
netstat.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
nslookup.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ntpd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ntpd.diff
ping.c Make ping6 and traceroute6 selectable independently from ping/traceroute 2016-11-23 09:25:57 +01:00
pscan.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
route.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
slattach.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
tc.c Code style fixes, no code changes 2016-11-28 01:22:57 +01:00
tcpudp_perhost.c
tcpudp_perhost.h
tcpudp.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
telnet.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
telnetd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
telnetd.ctrlSQ.patch
telnetd.IAC_test.sh telnetd: fix corner case of input processing of 0xff bytes 2016-10-12 19:13:46 +02:00
tftp.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
traceroute.c Make ping6 and traceroute6 selectable independently from ping/traceroute 2016-11-23 09:25:57 +01:00
tunctl.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
vconfig.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
wget.c wget: there is no -s option in GNU Wget 1.18, we should be compatible 2016-10-04 04:23:09 +02:00
whois.c
zcip.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00