summaryrefslogtreecommitdiff
path: root/networking/dnsd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* introduce and use xdup2(int, int)Denis Vlasenko2007-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stop checking whether setsockopt_reuseaddr(int fd) was successful (it always is) remove second parameter (sockllen) from xmalloc_sockaddr2xxxxx functions sockaddr2str 142 156 +14 collect_blk 467 474 +7 xdup2 28 33 +5 singlemount 4456 4454 -2 print_host 214 212 -2 nslookup_main 139 137 -2 ftpgetput_main 414 412 -2 udhcpd_main 1258 1255 -3 udhcpc_main 2405 2402 -3 traceroute_main 4125 4122 -3 nc_main 1072 1069 -3 buffer_fill_and_print 76 73 -3 xmalloc_sockaddr2hostonly_noport 18 14 -4 xmalloc_sockaddr2host_noport 18 14 -4 xmalloc_sockaddr2host 15 11 -4 xmalloc_sockaddr2dotted_noport 18 14 -4 xmalloc_sockaddr2dotted 18 14 -4 wget_main 2618 2614 -4 ping_main 393 389 -4 ip_port_str 120 115 -5 dhcprelay_main 1146 1141 -5 dnsd_main 1531 1525 -6 passwd_main 1110 1102 -8 udhcp_kernel_packet 206 197 -9 udhcp_listen_socket 154 144 -10 getty_main 2576 2566 -10 setup 655 640 -15 xmove_fd 51 34 -17 dolisten 759 742 -17 tcpudpsvd_main 1866 1836 -30 startservice 339 299 -40
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* move everything to new NOMMU helpers, except udhcpDenis Vlasenko2007-03-261-6/+1
|
* dc: use common_bufsiz1 for evaluation stackDenis Vlasenko2007-03-241-1/+2
| | | | | msh: fix "underscore bug" (a_b=1111 didn't work) dnsd: openlog(), so that applet's name is logged
* dnsd: last commit had a typo :(Denis Vlasenko2007-03-241-2/+3
|
* dnsd: fix several buglets, make smallerDenis Vlasenko2007-03-241-63/+41
|
* NOMMU re-exec trick shuld not depend on existence of "don't daemonize"Denis Vlasenko2007-03-241-2/+2
| | | | | option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too.
* add x to IPv6 functions which can dieDenis Vlasenko2007-02-041-1/+1
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* dnsd: getfileentry was leaking memoryDenis Vlasenko2007-01-221-11/+15
| | | | mount: improve readability
* fixes for amd64 compilationDenis Vlasenko2007-01-201-4/+5
|
* next part of ipv6-ization. dnsd code is "interesting"...Denis Vlasenko2007-01-121-72/+38
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-2/+2
|
* - use xlisten/xsocket some more. Saves .25 kBBernhard Reutner-Fischer2006-12-191-8/+6
|
* introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd),Denis Vlasenko2006-11-221-4/+1
| | | | | use them where appropriate. 200 bytes saved
* bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko2006-10-121-1/+1
| | | | Renaming...
* dnsd fix; option_mask32 added. dnsd needs more love.Denis Vlasenko2006-10-061-66/+72
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Bernhard Fischer pointed out some leftover debris needing cleanup.Rob Landley2006-08-151-1/+1
|
* These should have been part of 15767 too.Rob Landley2006-08-031-11/+5
|
* - s/defined(__uClinux__)/BB_NOMMU/Bernhard Reutner-Fischer2006-05-311-4/+4
| | | | | | | This needs a second pass to: + add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag) + eventually globally export argc and argv, so we don't need to pass it to bb_daemon().
* Size reductions, mostly switching things to use libbb functions.Rob Landley2006-05-291-22/+11
|
* - patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()Bernhard Reutner-Fischer2006-04-121-3/+2
|
* - patch from Denis Vlasenko to add and use bb_xdaemon()Bernhard Reutner-Fischer2006-04-121-3/+2
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer2006-04-121-2/+2
| | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it.
* - move buffer allocation schemes to libbb.hBernhard Reutner-Fischer2006-04-031-1/+1
| | | | - include the correct headers: applets need busybox.h while lib* need libbb.h
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-7/+9
| | | | the busybox binary) into enums (which don't).
* +#include <sys/socket.h>"Vladimir N. Oleynik"2006-01-251-237/+238
| | | | | remove unused 'int i' form main whitespacing only
* new applet. Thanks Roberto A. Foglietta"Vladimir N. Oleynik"2006-01-251-0/+469