hush/networking
Denys Vlasenko 57727d478d telnet: code shrink
put_iac2(w,c) is mostly used with constants, fold them into one arg

function                                             old     new   delta
put_iac2_merged                                        -      46     +46
telnet_main                                         1603    1583     -20
con_escape                                           285     257     -28
put_iac2                                              50       -     -50
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/2 up/down: 46/-98)            Total: -52 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-10-12 20:42:58 +02:00
..
libiproute libnetlink: fix alignment of netlink messages 2016-09-18 22:55:47 +02:00
ssl_helper networking/ssl_helper: experimental matrixssl-based ssl helper 2014-02-23 23:31:13 +01:00
ssl_helper-wolfssl wget/ssl_helper: update to wolfssl-3.9.8 2016-08-21 03:39:39 +02:00
udhcp dhcp: merge leases.c and static_leases.c into dhcpd.c 2016-10-04 00:56:58 +02:00
arp.c arp: fix buffer overflow. Closes 9071 2016-07-04 17:38:01 +02:00
arping.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
brctl.c libiproute: rename invarg(a,b) to invarg_1_to_2(a,b) 2015-10-14 13:21:01 +02:00
Config.src traceroute: cleanup and fixes for packet size calculations 2016-09-28 18:44:48 +02:00
dnsd.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
ether-wake.c ether-wake: shorten help text, reduce packet buffer size 2013-10-14 19:04:20 +02:00
ftpd.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
ftpgetput.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
hostname.c hostname: do not use gethostbyname() for "hostname -s" 2013-12-17 19:13:45 +01:00
httpd_indexcgi.c httpd_indexcgi.c: fix compile failure 2012-09-03 12:20:10 +02:00
httpd_post_upload.txt httpd_post_upload.txt example: handle binary files too 2009-11-13 09:37:50 +01:00
httpd_ssi.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
httpd.c *: hopefully all setup_common_bufsiz() are in place 2016-04-21 18:38:51 +02:00
ifconfig.c fix build error with musl libc due to if_slip.h 2013-08-15 09:54:51 +02:00
ifenslave.c join some common strings, -400 bytes 2015-10-08 11:24:44 +02:00
ifplugd.c ifplugd: if SIOCSIFFLAGS fails with ENODEV, don't die 2016-08-16 20:39:52 +02:00
ifupdown.c ifupdown: rewrite state file atomically 2016-10-09 23:04:16 +02:00
inetd.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
interface.c Revert "networking: properly initialize ipv6 scope id for printing it" 2016-03-29 19:27:00 +02:00
ip.c networking: add 'ip neigh' command 2015-10-14 12:53:47 +02:00
ipcalc.c ipcalc: fix trivial usage message 2015-08-15 21:15:27 +02:00
isrv_identd.c *: hopefully all setup_common_bufsiz() are in place 2016-04-21 18:38:51 +02:00
isrv.c libbb: introduce kernel-style BUILD_BUG_ON() 2015-10-13 14:50:20 +02:00
isrv.h fixlet for the previous commit #2 2014-01-09 20:09:43 +01:00
Kbuild.src wget: make openssl/ssl_helper choice configurable 2015-10-07 01:39:40 +02:00
nameif.c libbb: introduce and use is_prefixed_with() 2015-03-12 17:48:34 +01:00
nbd-client.c *: more BUILD_BUG_ON conversions 2015-10-13 17:17:34 +02:00
nc_bloaty.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
nc.c *: hopefully all setup_common_bufsiz() are in place 2016-04-21 18:38:51 +02:00
netstat.c typo fixes 2015-05-25 13:46:36 +02:00
nslookup.c nslookup: set default DNS server again. Hopefully helps with 675 2013-06-27 01:09:51 +02:00
ntpd.c ntpd: respond only to client and symmetric active packets 2016-08-01 20:25:06 +02:00
ntpd.diff ntpd: add experimental patch 2016-03-04 07:36:04 +01:00
ping.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
pscan.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
route.c typo fixes 2016-07-19 17:48:55 +02:00
slattach.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
tc.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
tcpudp_perhost.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tcpudp_perhost.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tcpudp.c tcpsvd: don't keep shared fd open if fd limit is reached. closes 9331 2016-10-07 15:56:47 +02:00
telnet.c telnet: code shrink 2016-10-12 20:42:58 +02:00
telnetd.c telnetd: add another handshake example in comments, no code changes 2016-10-12 20:09:22 +02:00
telnetd.ctrlSQ.patch *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
telnetd.IAC_test.sh telnetd: fix corner case of input processing of 0xff bytes 2016-10-12 19:13:46 +02:00
tftp.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00
traceroute.c traceroute: cleanup and fixes for packet size calculations 2016-09-28 18:44:48 +02:00
tunctl.c Replace a few more bb_info_msg's by bb_error_msg or printf 2016-03-30 16:20:28 +02:00
vconfig.c vconfig: fix help text; small code shrink. Closes 4658 2012-01-16 04:00:37 +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 getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
zcip.c *: add most of the required setup_common_bufsiz() calls 2016-04-21 18:18:48 +02:00