summaryrefslogtreecommitdiff
path: root/networking (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* udhcpc: fix wrong options in decline and release packetsDenis Vlasenko2008-01-253-13/+15
| | | | | (Jonas Danielsson <jonas.danielsson at axis.com>)
* - implement brctl setpathcost, setportprio, setbridgeprio, stpBernhard Reutner-Fischer2008-01-142-21/+93
| | | | | text data bss dec hex filename 907 20 0 927 39f networking/brctl.o
* - shrink a bit and implement time related fancy features. Improve help texts.Bernhard Reutner-Fischer2008-01-132-36/+115
| | | | | | text data bss dec hex filename 253 20 0 273 111 networking/brctl.o.bare 613 20 0 633 279 networking/brctl.o.fancy-time
* - save four bytes by manually hoisting the br assignmentBernhard Reutner-Fischer2008-01-131-5/+4
|
* - new applet brctlBernhard Reutner-Fischer2008-01-133-0/+94
| | | | | | text data bss dec hex filename 289 20 0 309 135 networking/brctl.o 335 23 0 358 166 networking/brctl-verbose-ops.o
* whitespace fixesDenis Vlasenko2008-01-071-1/+1
|
* ps: fix build breakage from vda's recent commitDenis Vlasenko2008-01-073-4/+4
| | | | | *: whitespace fixes
* ip route: "ip route" was misbehaving (extra argv+1 ate 1st env var)Denis Vlasenko2008-01-041-4/+6
|
* libbb: introduce and use safe_waitpid (loops in EINTR)Denis Vlasenko2008-01-025-6/+6
| | | | | | | | | | | | | | | | | | | | | | *: use more approproate (shorter) versions of wait() function old new delta safe_waitpid - 48 +48 wait_any_nohang - 17 +17 send_tree 365 369 +4 processorstop 432 435 +3 text_yank 110 108 -2 make_human_readable_str 202 200 -2 crond_main 1368 1366 -2 handle_sigchld 49 43 -6 reapchild 166 159 -7 custom 260 250 -10 checkscript 191 177 -14 wait_nohang 17 - -17 wait_pid 43 - -43 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 2/7 up/down: 72/-103) Total: -31 bytes
* libbb: introduce fputc_printable (from ed)Denis Vlasenko2007-12-301-7/+10
| | | | | | | | | | | | | | netstat: print control chars as ^C etc vi: style fixlet function old new delta fputc_printable - 100 +100 unix_do_one 451 487 +36 printLines 258 190 -68 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 136/-68) Total: 68 bytes
* httpd: support for "I:index.xml" syntax (Peter Korsgaard <jacmet@uclibc.org>)Denis Vlasenko2007-12-291-2/+11
| | | | | | | | | | function old new delta parse_conf 1481 1507 +26 handle_incoming_and_exit 2650 2663 +13 httpd_main 749 759 +10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 49/0) Total: 49 bytes
* trylink: instead of build error, disable --gc-sections if GLIBC && STATICDenis Vlasenko2007-12-281-5/+5
| | | | | nameif: glibc build fixlet
* netstat: in error message, report filename and line numberDenis Vlasenko2007-12-261-22/+23
| | | | | | | | | | where we see problematic data text data bss dec hex filename 778456 832 7344 786632 c00c8 busybox_old 778394 832 7344 786570 c008a busybox_unstripped
* save a bit of code with *strchrnul = '\0' trickDenis Vlasenko2007-12-262-11/+5
| | | | | | | | | function old new delta nextline 59 55 -4 include_conf 902 898 -4 read_config 414 406 -8 fsck_main 1880 1869 -11
* Fix xmalloc_fgets_str so that it really does NOT strip terminator.Denis Vlasenko2007-12-261-22/+15
| | | | | | | | | | | | | | | | | | | | | | Add xmalloc_fgetline_str which does strip terminator, and use it in dpkg instead of xmalloc_fgets_str. netstat: use xmalloc_fgets_str - allows to eat strings with NULs (this fixes bug with some weird /proc/net/unix input) function old new delta xmalloc_fgets_internal - 191 +191 xmalloc_fgetline_str - 18 +18 do_info 116 120 +4 unix_do_one 451 447 -4 tcp_do_one 423 419 -4 send_tree 369 365 -4 xmalloc_fgets_str 178 15 -163 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/4 up/down: 213/-175) Total: 38 bytes text data bss dec hex filename 778445 832 7344 786621 c00bd busybox_old 778483 832 7344 786659 c00e3 busybox_unstripped
* Makefile: change version to 1.10.0.svnDenis Vlasenko2007-12-243-45/+55
| | | | | | | | | | | udhcpc: make UDP packet sending the same as raw sending in regards to error messages. Minor code size shrink. Total size grows due to added messages: text data bss dec hex filename 770312 683 7244 778239 bdfff busybox_old 770327 683 7244 778254 be00e busybox_unstripped
* nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Denis Vlasenko2007-12-242-77/+166
| | | | | | | | | | | | *: whitespace fixes function old new delta prepend_new_eth_table - 304 +304 nameif_main 620 684 +64 cc_macaddr 51 - -51 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 368/-51) Total: 317 bytes
* vi: introduce FEATURE_VI_8BIT (as vi currently is not Unicode capable,Denis Vlasenko2007-12-221-1/+1
| | | | | | people may want to disable display of high-bit chars) ip: build fixlet
* udhcp: decided to not send "short" dhcp packets,Denis Vlasenko2007-12-211-1/+6
| | | | | but lets add comments how to do it if needed.
* udhcp: fix oversized packet sending (introduced by "slack for bad dhcp ↵Denis Vlasenko2007-12-207-43/+49
| | | | | | | | | | | | | | | | | servers" options); slight optimizations and function renaming udhcp_send_raw_packet - 391 +391 udhcp_send_kernel_packet - 197 +197 udhcp_recv_packet - 134 +134 get_raw_packet 353 326 -27 udhcp_get_packet 134 - -134 udhcp_kernel_packet 197 - -197 udhcp_raw_packet 391 - -391 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 0/1 up/down: 722/-749) Total: -27 bytes
* traceroute: stop using global data/bssDenis Vlasenko2007-12-161-43/+63
| | | | | | | | (add/remove: 0/15 grow/shrink: 0/1 up/down: 0/-95) Total: -95 bytes text data bss dec hex filename 777245 1094 9008 787347 c0393 busybox_old 777206 1084 8976 787266 c0342 busybox_unstripped
* udhcpc: support for -O <option>.Denis Vlasenko2007-12-104-77/+94
| | | | | | | | | | | | | | | | Two important notes: * nissrv and nisdomain are not requested by default anymore! * inconsistency between "XXXsvr" and "XXsrv" in option names resolved, all are "XXXsrv" now. function old new delta udhcpc_main 2494 2600 +106 packed_usage 23023 23067 +44 add_requests 91 119 +28 static.udhcpc_longopts 209 226 +17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 195/0) Total: 195 bytes
* lineedit: reduce stack usageDenis Vlasenko2007-12-031-33/+37
| | | | | | | | | | | | | netstat: reduce stack usage; fix handling of NULs in unix socket filenames static.has_inode 1 - -1 do_info 119 116 -3 deinit_S 60 51 -9 unix_do_one 578 451 -127 parse_and_put_prompt 966 825 -141 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/4 up/down: 0/-281) Total: -281 bytes
* fix whitespace damageDenis Vlasenko2007-12-021-1/+1
|
* libnetlink: comment out unused code; don't use 8k stack buffersDenis Vlasenko2007-12-022-37/+65
| | | | | | | | | | | | function old new delta ipaddr_modify 1305 1297 -8 do_iprule 963 955 -8 do_iproute 2193 2169 -24 xrtnl_dump_filter 418 391 -27 rtnl_talk 671 536 -135 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/5 up/down: 0/-202) Total: -202 bytes
* dhcp: heed TODO item - divorced options from their string descriptionsDenis Vlasenko2007-11-298-88/+135
| | | | | | | | | | | | | | | | | | | | | code shrink while at it. function old new delta dhcp_option_strings - 258 +258 udhcp_run_script 1135 1174 +39 dhcp_option_lengths - 11 +11 udhcp_add_simple_option 93 92 -1 packet_num 4 - -4 read_opt 746 739 -7 udhcp_option_lengths 11 - -11 udhcpc_main 2590 2494 -96 dhcp_options 490 70 -420 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 1/4 up/down: 308/-539) Total: -231 bytes text data bss dec hex filename 775309 929 9100 785338 bfbba busybox_old 775098 929 9084 785111 bfad7 busybox_unstripped
* dhcpc: let server know we don't like oversized packets.Denis Vlasenko2007-11-286-47/+58
| | | | | add TODO comment
* ip route: add comment, no code changesDenis Vlasenko2007-11-271-1/+3
|
* iproute: fix a bug where "ip r flush table main" was rejected,Denis Vlasenko2007-11-262-37/+48
| | | | | | add "ip r flush cache" (however I'm unsure it is really valid syntax) Add a few comments and stop mixing params and params' keywords.
* zcip: simplify code a bitDenis Vlasenko2007-11-251-8/+1
|
* zcip: use low-order 4 bytes of MAC as random seed, not 4 high-orderDenis Vlasenko2007-11-252-102/+120
| | | | | | | | | | | | | | | | arping: fix wrong roundtrip calculation arping,zcip: cleanups and code shrink run 389 402 +13 arp 195 188 -7 zcip_main 1524 1495 -29 arping_main 1874 1823 -51 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 13/-87) Total: -74 bytes text data bss dec hex filename 776587 929 9100 786616 c00b8 busybox_old 776499 929 9100 786528 c0060 busybox_unstripped
* dhcpc: cope with buggy DHCP servers which send oversized packetsDenis Vlasenko2007-11-253-3/+27
| | | | | (Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
* Add an RFC for future ipv6 ftp workDenis Vlasenko2007-11-231-0/+451
|
* arping: fix a bug where there is implicit count of 4G;Denis Vlasenko2007-11-231-32/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | eliminate data/bss usage; code shrink function old new delta timeout_us 4 - -4 static.start 4 - -4 src 4 - -4 sock 4 - -4 sent 4 - -4 req_recv 4 - -4 received 4 - -4 last 4 - -4 dst 4 - -4 count 4 - -4 brd_sent 4 - -4 brd_recv 4 - -4 catcher 375 365 -10 me 20 - -20 he 20 - -20 arping_main 1941 1874 -67 ------------------------------------------------------------------------------ (add/remove: 0/14 grow/shrink: 0/2 up/down: 0/-165) Total: -165 bytes text data bss dec hex filename 783035 941 9244 793220 c1a84 busybox_old 782907 937 9156 793000 c19a8 busybox_unstripped
* logread: eliminate usage of data/bssDenis Vlasenko2007-11-231-7/+9
| | | | | | | | | | | | | | | | | ifup: don't remove virtual iface prefixes (eth0:0) function old new delta shbuf 4 - -4 SMrup 6 - -6 SMrdn 12 - -12 static.label_buf 20 4 -16 get_var 158 140 -18 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 0/2 up/down: 0/-56) Total: -56 bytes text data bss dec hex filename 783501 962 9260 793723 c1c7b busybox_old 783483 942 9244 793669 c1c45 busybox_unstripped
* dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smallerDenis Vlasenko2007-11-235-19/+23
| | | | | | | function old new delta udhcp_get_packet 146 134 -12 get_raw_packet 368 353 -15
* udhcpc: remove -W option, -A can be reused for thatDenis Vlasenko2007-11-221-15/+6
| | | | | | | | | | | help texts: trimmed a bit static.udhcpc_longopts 227 209 -18 udhcpc_main 2633 2590 -43 packed_usage 22927 22871 -56 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-117) Total: -117 bytes
* fix a thinko in build systemDenis Vlasenko2007-11-221-1/+1
|
* dhcpc: cleanup and comments; fix buggy timeout handling in corner cases.Denis Vlasenko2007-11-221-107/+125
| | | | | -25 bytes.
* udhcpc: an option to perform ARP check (Jonas Danielsson ↵Denis Vlasenko2007-11-228-26/+111
| | | | | | | <jonas.danielsson@axis.com>) configurable, ~+300 bytes when on.
* ip: stop propagating argc; optimize ip_parse_common_argsDenis Vlasenko2007-11-1810-212/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta find_pair 167 187 +20 static.families - 17 +17 die_must_be_on_off - 11 +11 ... on_off 33 22 -11 do_ipaddr 103 90 -13 do_iptunnel 1001 986 -15 iproute_list_or_flush 1237 1217 -20 static.ip_common_commands 43 22 -21 do_iproute 2217 2193 -24 parse_args 1444 1414 -30 ip_do 47 16 -31 do_iprule 994 963 -31 ip_main 153 113 -40 ipaddr_modify 1357 1305 -52 ipaddr_list_or_flush 2543 2490 -53 ip_parse_common_args 294 159 -135 ------------------------------------------------------------------------------ (add/remove: 4/1 grow/shrink: 4/24 up/down: 85/-563) Total: -478 bytes text data bss dec hex filename 775561 966 9236 785763 bfd63 busybox_old 775073 962 9236 785271 bfb77 busybox_unstripped
* Introduce FEATURE_PREFER_IPV4_ADDRESS. If selected, we have:Denis Vlasenko2007-11-141-0/+15
| | | | | | function old new delta str2sockaddr 328 344 +16
* inetd: revert bogus fix for bug 1562; shrink inetd a bitDenis Vlasenko2007-11-121-35/+15
| | | | | | | function old new delta dupconfig 159 146 -13 getconfigent 1123 1073 -50
* xreadlink: code shrinkDenis Vlasenko2007-11-081-0/+1
| | | | | | | | | | udhcp: add missing tryagain member to client_config function old new delta xmalloc_readlink_follow 169 154 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-15) Total: -15 bytes
* add "-A N" / "--tryagain=N" option to client, to allow altering thePaul Fox2007-11-071-4/+9
| | | | default 60 second wait after failure to get a lease.
* telnet: use poll, it's shorterDenis Vlasenko2007-11-064-80/+78
| | | | | *: style fixes
* telnetd: fix problem with zombies (by Paul Fox <pgf@brightstareng.com>)Denis Vlasenko2007-11-061-11/+23
| | | | | syslogd: strip trailing NULs
* Announce 1.8.01_8_0Denis Vlasenko2007-11-041-7/+7
|
* ifconfig: code shrinkDenis Vlasenko2007-11-041-44/+44
| | | | | | | | | | | adjtimex: code shrink libbb: move nth_string function into libbb hdparm: nth_string was here text data bss dec hex filename 730013 10334 12032 752379 b7afb busybox_old 730093 10134 12032 752259 b7a83 busybox_unstripped
* inetd: fix bug 1562 "inetd does not set argv[0] properly" (fix by IlyaPanfilov)Denis Vlasenko2007-10-301-16/+14
| | | | | | | | | | | | | | inetd: code shrink while at it function old new delta static.SOCK_xxx - 6 +6 getconfigent 1222 1123 -99 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 6/-99) Total: -93 bytes text data bss dec hex filename 776099 974 9420 786493 c003d busybox_old 776020 974 9420 786414 bffee busybox_unstripped