summaryrefslogtreecommitdiff
path: root/libbb/inet_common.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: whitespace fixesDenys Vlasenko2010-10-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* better shared strings trickDenys Vlasenko2010-09-011-3/+3
| | | | | | | | text data bss dec hex filename 861980 441 7540 869961 d4649 busybox_old 861914 441 7540 869895 d4607 busybox_unstripped Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak Config texts and some broken English elsewhereDenys Vlasenko2009-06-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fix forgotten license commentsDenis Vlasenko2008-12-071-1/+1
|
* nslookup: tiny shrink (-5 bytes); add comment about res_initDenis Vlasenko2008-11-041-3/+0
| | | | | inet_common: cosmetics, no code changes
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-4/+4
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* fdisk: fix a case where break was reached only for DOS labelsDenis Vlasenko2008-01-241-3/+1
|
* s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko2007-08-131-1/+1
|
* make /etc/network parsing configurable. -200 bytes when off.Denis Vlasenko2007-06-191-4/+5
|
* networking/interface.c: huke remaining big statics; use malloc for ↵Denis Vlasenko2007-06-191-57/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | INET[6]_rresolve return value. Went thru callers and adjusted them - code got smaller too. function old new delta ip_port_str - 126 +126 INET6_rresolve 165 182 +17 static.cache 20 24 +4 route_main 2092 2091 -1 INET_sprint 61 59 -2 INET_nn 4 - -4 INET6_sprint 59 53 -6 udp_do_one 518 508 -10 tcp_do_one 433 423 -10 raw_do_one 494 484 -10 traceroute_main 4117 4105 -12 INET_rresolve 334 321 -13 bb_displayroutes 494 456 -38 snprint_ip_port 244 - -244 static.buff 264 16 -248 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 2/10 up/down: 147/-598) Total: -451 bytes size busybox_old busybox_unstripped text data bss dec hex filename 751073 3048 14688 768809 bbb29 busybox_old 750873 3048 14440 768361 bb969 busybox_unstripped
* networking/interface.c: reduce bss usageDenis Vlasenko2007-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta .rodata 158918 158950 +32 display_interfaces 133 153 +20 UNSPEC_print 56 68 +12 pr_ether 59 65 +6 static.proc_read 4 1 -3 interface_opt_a 4 1 -3 in_ether 139 136 -3 ifconfig_main 1296 1293 -3 if_readlist_proc 686 680 -6 ife_print 1350 1338 -12 do_if_print 46 - -46 static.buff 369 264 -105 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 4/7 up/down: 70/-181) Total: -111 bytes # size busybox_old busybox_unstripped text data bss dec hex filename 751073 3080 14800 768953 bbbb9 busybox_old 751073 3048 14688 768809 bbb29 busybox_unstripped
* - sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer2007-01-221-1/+0
|
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-01-221-25/+26
| | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
* remove casts from xmalloc()Denis Vlasenko2006-12-191-1/+1
|
* bb_INET_default[] is really just a const "default",Denis Vlasenko2006-11-211-19/+19
| | | | nothing INET-specific
* Implement optional syslog logging using ordinaryDenis Vlasenko2006-09-061-1/+1
| | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-11/+1
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* More removal of "#if 0" content."Robert P. J. Day"2006-07-011-3/+0
|
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley2006-06-181-1/+1
| | | | that and callers wind up typecasting it back.
* errno and h_errno values are not the same #876 by rfelkerMike Frysinger2006-05-261-2/+0
|
* - use uint32_t instead of __u32Bernhard Reutner-Fischer2006-05-191-2/+2
| | | | Thanks to Rich Felker for pointing this out.
* just whitespaceTim Riker2006-01-251-2/+2
|
* In spite of the feature freeze, check in a complete rework of route whichManuel Novoa III2004-03-101-2/+2
| | | | | | | | fixes some bugs, adds some error checking, and removes _lots_ of bloat. Text size on i386... old new ipv6 5425 3523 no ipv6 3143 2193
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+2
|
* Major coreutils update.Manuel Novoa III2003-03-191-13/+13
|
* Style, minor cleanupsGlenn L McGrath2002-11-281-155/+163
|
* Use #ifdef instead of #ifGlenn L McGrath2002-11-261-4/+4
|
* This patch from Bart Visscher <magick@linux-fan.com> addsEric Andersen2002-07-031-1/+63
| | | | | | | | | | | | | | | IPV6 support to busybox. This patch does the following: * Add IPv6 support to libbb * Enable IPv6 interface address display * Add IPv6 config option * Adds ping6, an adaptation of the ping applet for IPv6 * Adds support routines for ping6: - xgethostbyname2 - create_icmp6_socket * Adds ifconfig support for IPv6 * Add support IPv6 to netstat * Add IPv6 support to route Thanks Bart!
* Patch from Gyepi SAM <gyepi@praxis-sw.com>:Eric Andersen2002-06-061-2/+7
| | | | | | When DEBUG is defined 1. need to include resolv.h (for _resinit()) 2. remove _() call around string. It appears to be a remnant of i18n or some such notion
* I forgot to add these. Part of the patch from vodzEric Andersen2001-11-101-0/+174