aboutsummaryrefslogtreecommitdiff
path: root/networking
AgeCommit message (Collapse)Author
2008-11-05inetd: fix a case when we have zero servicesDenis Vlasenko
2008-11-04nslookup: tiny shrink (-5 bytes); add comment about res_initDenis Vlasenko
inet_common: cosmetics, no code changes
2008-11-01tftpd: show help if stdin is not a socketDenis Vlasenko
2008-11-01iplink: accept shorthands for "address" keyword here:Denis Vlasenko
"ip link set address 00:11:22:33:44:55" ifupdown: use "addr" instead of "address"
2008-10-30- minor shrinkage (~-60)Bernhard Reutner-Fischer
2008-10-30- support ip link set eth1 address 00:11:22:33:44:55Bernhard Reutner-Fischer
and not only the shorthand "addr". Thanks to ncopa for noticing
2008-10-29randomconfig fixesDenis Vlasenko
2008-10-27udhcp: simplify SO_BINDTODEVICE callDenis Vlasenko
2008-10-27ping: trivial code shrinkDenis Vlasenko
function old new delta ping6_main 31 30 -1 ping_main 405 370 -35
2008-10-21- fix ip route rejecting dotted quads as prefixBernhard Reutner-Fischer
- adjust error message for wrong prefix not to mention address Previously e.g. ip route add 127.0.0.0/255.0.0.0 dev dummy0 was rejected, saying ip: an inet address is expected rather than "127.0.0.0/255.0.0.0" function old new delta get_prefix_1 201 309 +108 get_prefix 55 73 +18 get_addr 55 73 +18 get_addr32 48 58 +10 get_addr_1 249 204 -45 .rodata 114569 114524 -45 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/2 up/down: 154/-90) Total: 64 bytes
2008-10-10zcip: code size optimizations, improved help text and commentsDenis Vlasenko
function old new delta packed_usage 24750 24787 +37 run 658 655 -3 pick 40 34 -6 arp 186 177 -9 zcip_main 1402 1356 -46 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/4 up/down: 37/-64) Total: -27 bytes
2008-10-07- route metric support (Natanael Copa)Bernhard Reutner-Fischer
Adds about 75b
2008-10-02- wrap overlong lineBernhard Reutner-Fischer
2008-09-30inetd: use config parser. by VladimirDenis Vlasenko
function old new delta reread_config_file 1092 2154 +1062 next_line 98 33 -65 next_word 197 57 -140 parse_one_line 1202 - -1202 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/2 up/down: 1062/-1407) Total: -345 bytes
2008-09-28route: fix for 64-bit BE machines by Seonghun Lim (wariua AT gmail.com)Denis Vlasenko
2008-09-28sendmail: update by VladimirDenis Vlasenko
2008-09-27sendmail: compat update by VladimirDenis Vlasenko
function old new delta sendgetmail_main 1889 2091 +202 putchar_unlocked - 43 +43 putchar - 43 +43 packed_usage 24868 24910 +42 smtp_checkp 102 111 +9 uuencode 235 227 -8 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 3/1 up/down: 339/-8) Total: 331 bytes
2008-09-26udhcp: add inline docs; small code shrinkDenis Vlasenko
function old new delta send_packet 103 87 -16 udhcpc_main 2359 2323 -36
2008-09-26udhcpc: fixlet for previous commitDenis Vlasenko
2008-09-26udhcp: added some FIXMEs; code shrink. -49 bytesDenis Vlasenko
2008-09-26dhcp: add FAST_FUNC as appropriate. -160 bytes.Denis Vlasenko
2008-09-26dhcpc: treat "discover...select...discover..." loop the same wayDenis Vlasenko
as "discover...discover...discover..."
2008-09-25- update my name. No obj-code changes ;)Bernhard Reutner-Fischer
2008-09-20init: set stderr to NONBLOCKDenis Vlasenko
*: s/setenv(a,b,1)/xsetenv(a,b)/ function old new delta init_main 856 895 +39 message 146 144 -2 crond_main 1418 1416 -2 run 661 658 -3 zcip_main 1409 1403 -6 edit_file 910 901 -9 environment 20 - -20
2008-09-16slattach: preserve speed in non-raw mode. +39 bytes.Denis Vlasenko
by Matthieu CASTET (matthieu.castet AT parrot.com)
2008-09-11runsvd: shrink by VladimirDenis Vlasenko
*: use unified trivial signal handler function old new delta record_signo - 10 +10 process_stdin 433 443 +10 bbunpack 383 391 +8 wc_main 598 605 +7 conescape 293 296 +3 nmeter_main 670 672 +2 fallbackSort 1717 1719 +2 bb_got_signal - 1 +1 microcom_main 713 712 -1 signalled 2 - -2 pack_gzip 1661 1659 -2 evalvar 1376 1374 -2 compare_keys 737 735 -2 parse_command 1460 1456 -4 expand 1748 1744 -4 s_term 37 29 -8 s_hangup 8 - -8 fgotsig 10 - -10 find_pair 187 169 -18 signal_handler 190 170 -20 runsvdir_main 1701 1583 -118 ------------------------------------------------------------------------------ (add/remove: 2/3 grow/shrink: 6/10 up/down: 43/-199) Total: -156 bytes
2008-09-06ifenslave: on uclibc at least, net/if.h + linux/if_bonding.h dont coexistDenis Vlasenko
2008-09-06ifenslave: wants net/if.hDenis Vlasenko
2008-09-06modprobe-small: make insmod command line compatibleDenis Vlasenko
function old new delta modprobe_main 326 435 +109 moderror - 52 +52 process_module 577 530 -47
2008-09-04- add WIP stub for tc.Bernhard Reutner-Fischer
Printing worked at some point. Modify/Delete needs some refacturing.
2008-09-01- pass "Accept:" and "Accept-Language:" header to CGI scripts (Alina ↵Bernhard Reutner-Fischer
Friedrichsen) Alina writes: With this patch the BusyBox httpd pass the "Accept:" and "Accept-Language:" header by the environment variables to the CGI-Script, so this can make Content Negotiation to deliver the page in the language, which was selected by the user in the browser settings, and/or serve the XHTML page with the right MIME-Type application/xhtml+xml to user agents which support it und text/html which don't. (Needed e.g. for OpenWrt LuCI.) Signed-off-by: Alina Friedrichsen <x-alina at gmx dot net>
2008-08-27insmod: shrinkDenis Vlasenko
function old new delta obj_allocate_commons 488 462 -26 insmod_main 3830 3714 -116
2008-08-24ping: SO_RCVBUF must be bigger than packet size,Denis Vlasenko
otherwise large ping packets might fail to be received.
2008-08-19ifupdown: fixes for shutdown of DHCP-managed interfacesDenis Vlasenko
from Wade Berrier <wberrier AT gmail.com>
2008-08-15arp: without -H <type>, assume "ether". closes 4564Denis Vlasenko
2008-08-12ifupdown: fixes for custom MAC address, by Wade Berrier <wberrier AT gmail.com>Denis Vlasenko
2008-08-10sendmail: work around (bogus) gcc warningDenis Vlasenko
2008-08-01nameif: shrink (by Vladimir)Denis Vlasenko
function old new delta nameif_main 668 636 -32
2008-07-29hush: add #defines to switch off break/continue if loops are not supportedDenis Vlasenko
*: remove a few inline keywords no code changes
2008-07-27netstat: code shrinkDenis Vlasenko
function old new delta print_inet_line - 193 +193 scan_inet_proc_line - 130 +130 unix_do_one 519 503 -16 do_info 145 97 -48 netstat_main 601 548 -53 tcp_do_one 462 61 -401 raw_do_one 513 107 -406 udp_do_one 533 119 -414 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/6 up/down: 323/-1338) Total: -1015 bytes
2008-07-27style fix, no code changesDenis Vlasenko
2008-07-27netstat: optional -p support by L. Gabriel Somlo <somlo AT cmu.edu>Denis Vlasenko
Without FEATURE_NETSTAT_PRG: function old new delta recursive_action 416 425 +9 tcp_do_one 420 428 +8 udp_do_one 492 499 +7 raw_do_one 472 479 +7 expand 1697 1701 +4 netstat_main 489 492 +3 unix_do_one 486 488 +2 flags 1 - -1 qgravechar 109 106 -3 net_conn_line 4 - -4 bbunpack 391 383 -8 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 7/2 up/down: 40/-16) Total: 24 bytes With FEATURE_NETSTAT_PRG: file_act - 213 +213 dir_act - 192 +192 netstat_main 489 601 +112 prg_cache_get - 50 +50 tcp_do_one 420 462 +42 udp_do_one 492 533 +41 raw_do_one 472 513 +41 unix_do_one 486 519 +33 recursive_action 416 425 +9 expand 1697 1701 +4 flags 1 - -1 qgravechar 109 106 -3 net_conn_line 4 - -4 bbunpack 391 383 -8 packed_usage 24586 24572 -14 ------------------------------------------------------------------------------ (add/remove: 3/2 grow/shrink: 7/3 up/down: 737/-30) Total: 707 bytes
2008-07-26fix several problems with config parser:Denis Vlasenko
a bug where it underflows the string a bug where it never frees parser_t struct make read_config() return 0 if parser is NULL, make config_close() accept and ignore NULL parser - eliminates many if() blocks reverse the sense of parser bit flags - negative flags are harder to grok. hexdump: revert the change to use config parser, it is BIGGER and also requires additional quirks in parser *: explicitly use PARSER_NORMAL instead of 0 function old new delta login_main 1575 1596 +21 config_close 18 29 +11 bbunpack 383 391 +8 qgravechar 106 109 +3 rtnl_tab_initialize 121 117 -4 expand 1697 1693 -4 man_main 717 712 -5 nameif_main 674 668 -6 hexdump_main 597 591 -6 read_config 217 209 -8 dnsd_main 1478 1470 -8 sysctl_main 203 189 -14 config_open2 44 25 -19 make_device 1177 1141 -36 config_read 597 549 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/11 up/down: 43/-158) Total: -115 bytes
2008-07-24*: conversion to config parserDenis Vlasenko
function old new delta config_read 540 597 +57 config_open2 41 44 +3 rtnl_rtprot_initialize 70 66 -4 rtnl_rttable_initialize 78 73 -5 rtnl_rtscope_initialize 88 83 -5 rtnl_rtrealm_initialize 48 43 -5 rtnl_rtdsfield_initialize 48 43 -5 process_module 566 560 -6 bbunpack 391 383 -8 rtnl_tab_initialize 279 121 -158 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/8 up/down: 60/-196) Total: -136 bytes
2008-07-22inetd: do not trash errno in signal handlers;Denis Vlasenko
in CHLD handler, stop looping through services when pid is found function old new delta reread_config_file 1072 1092 +20 retry_network_setup 55 69 +14 reap_child 132 130 -2
2008-07-22- wrap overlong lines (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer
- s/\. /. /g;# (me)
2008-07-21libbb: [x]fopen_for_{read,write} introduced and used.Denis Vlasenko
(by Valdimir) function old new delta config_open2 - 41 +41 config_read 507 542 +35 find_pair 169 187 +18 fopen_for_write - 14 +14 fopen_for_read - 14 +14 find_main 406 418 +12 xfopen_for_write - 10 +10 xfopen_for_read - 10 +10 popstring 134 140 +6 parse_inittab 396 401 +5 next_token 923 928 +5 pack_gzip 1659 1661 +2 bb__parsespent 117 119 +2 fallbackSort 1719 1717 -2 evalvar 1376 1374 -2 qrealloc 36 33 -3 ... ... ... ... singlemount 4579 4569 -10 process_stdin 443 433 -10 patch_main 1111 1101 -10 ifupdown_main 2175 2165 -10 file_action_grep 90 80 -10 uuidcache_init 649 637 -12 hush_main 797 785 -12 read_config 230 217 -13 dpkg_main 3835 3820 -15 read_line_input 3134 3110 -24 sysctl_main 232 203 -29 config_open 40 10 -30 WARN_BAD_LINE 44 - -44 login_main 1714 1575 -139 ------------------------------------------------------------------------------ (add/remove: 5/1 grow/shrink: 8/74 up/down: 174/-737) Total: -563 bytes
2008-07-21- first pass to unify/cleanup uid handling (-236b)Bernhard Reutner-Fischer
This needs further love, alot of love.. Tito?
2008-07-21- fix spellingBernhard Reutner-Fischer
2008-07-21telnet: shrinkDenis Vlasenko
telnetd: shrink, and fix issue file printing test: better and shorter usage text function old new delta putiac2 51 50 -1 putiac 24 20 -4 handlenetoutput 95 91 -4 telnet_main 1480 1475 -5 iacflush 37 32 -5 make_new_session 436 421 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-34) Total: -34 bytes