Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix comment placement (no code changes) | Denis Vlasenko | 2007-07-01 | 1 | -1/+2 | |
| | ||||||
* | udhcp: new config option "Rewrite the lease file at every new acknowledge" | Denis Vlasenko | 2007-07-01 | 9 | -113/+148 | |
| | | | | | | | | | | (Mats Erik Andersson <mats@blue2net.com> (Blue2Net AB)) udhcp: consistently treat server_config.start/end IPs as host-order fix IP parsing for 64bit machines fix unsafe hton macro usage in read_opt() do not chdir("/") when daemonizing fix help text | |||||
* | wget: use monotonic_sec instead of gettimeofday | Denis Vlasenko | 2007-06-17 | 2 | -12/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zcip: use monotonic_us instead of gettimeofday udhcpcd: simpler, shorter random_xid() function old new delta monotonic_sec - 41 +41 find_pair 164 180 +16 run_list_real 2018 2028 +10 cmp_main 547 555 +8 collect_ctx 112 119 +7 singlemount 4544 4549 +5 time_main 1124 1128 +4 static.start_sec - 4 +4 static.lastupdate_sec - 4 +4 sock - 4 +4 read_package_field 253 257 +4 pick 38 40 +2 get_next_line 145 147 +2 count_lines 59 61 +2 process_stdin 435 433 -2 xstrtoul_range_sfx 229 226 -3 static.initialized 4 1 -3 dhcprelay_main 1125 1122 -3 catcher 380 377 -3 arping_main 1969 1966 -3 s 8 4 -4 cfg 4 - -4 static.lastupdate 8 - -8 start 8 - -8 random_xid 95 33 -62 .rodata 129114 129050 -64 zcip_main 1731 1576 -155 progressmeter 1035 867 -168 ------------------------------------------------------------------------------ (add/remove: 4/3 grow/shrink: 10/11 up/down: 113/-490) Total: -377 bytes | |||||
* | whitespace fixes | Denis Vlasenko | 2007-05-30 | 1 | -2/+2 | |
| | ||||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 1 | -1/+1 | |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | |||||
* | xpipe: introduce (saves ~170 bytes) | Denis Vlasenko | 2007-05-26 | 1 | -6/+7 | |
| | | | | | udhcp/signalpipe.c: use pipe instead of socketpair. | |||||
* | udhcp: socketpair can fail if AF_UNIX is not available (e.g. if module is ↵ | Denis Vlasenko | 2007-05-24 | 1 | -1/+3 | |
| | | | | | | not loaded). Error out on that. | |||||
* | udhcpc: stop deleting our own pidfile if we daemonize. | Denis Vlasenko | 2007-05-03 | 3 | -34/+35 | |
| | | | | | udhcp[cd]: stop using atexit magic fir pidfile removal. | |||||
* | bb_full_fd_action: remove potential xmalloc from NOFORK path | Denis Vlasenko | 2007-04-11 | 1 | -6/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes | |||||
* | udhcp: MAC_BCAST_ADDR and blank_chaddr are in fact constant, move to rodata. | Denis Vlasenko | 2007-04-07 | 9 | -156/+169 | |
| | | | | | | | | | | | | | | | | | | | | | | a few global variables reduced to smallints function old new delta add_lease 75 227 +152 static.blank_chaddr - 16 +16 MAC_BCAST_ADDR - 6 +6 sockfd 4 8 +4 udhcp_run_script 1153 1155 +2 state 8 5 -3 listen_mode 4 1 -3 perform_release 152 148 -4 fd 8 4 -4 blank_chaddr 16 - -16 udhcpc_main 2518 2497 -21 .rodata 131864 131832 -32 oldest_expired_lease 61 - -61 clear_lease 127 - -127 ------------------------------------------------------------------------------ (add/remove: 2/3 grow/shrink: 3/6 up/down: 180/-271) Total: -91 bytes | |||||
* | - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g" | Bernhard Reutner-Fischer | 2007-04-04 | 3 | -6/+6 | |
| | ||||||
* | Copyright, help text, whitespace cleanups | Denis Vlasenko | 2007-04-01 | 1 | -2/+2 | |
| | ||||||
* | dumpleases: getopt32()-ization | Denis Vlasenko | 2007-03-29 | 1 | -34/+27 | |
| | | | | (from Mats Erik Andersson <mats.andersson64@comhem.se>) | |||||
* | make pidfile writing configurable. | Denis Vlasenko | 2007-03-27 | 1 | -29/+16 | |
| | | | | [ui]toa_to_buf: change API. No users yet. | |||||
* | pidfile.c: not used anymore | Denis Vlasenko | 2007-03-26 | 1 | -60/+0 | |
| | | | | BTW, previous change removed pidfile locking, -700 code (static compile) | |||||
* | Move udhcp to new NOMMU helpers. | Denis Vlasenko | 2007-03-26 | 5 | -66/+105 | |
| | | | | | | Fix server part to compile under NOMMU. Client is not compilable yet. On MMU everything compiles (and maybe even works :) | |||||
* | random style fixes (extra spaces deleted) | Denis Vlasenko | 2007-03-24 | 1 | -2/+4 | |
| | ||||||
* | udhcp: use fdprintf for pidfile creation (smaller code) | Denis Vlasenko | 2007-03-14 | 1 | -7/+1 | |
| | ||||||
* | clean up accumulated whitespace damage | Denis Vlasenko | 2007-03-07 | 1 | -1/+1 | |
| | ||||||
* | I *always* forget svn add :( | Denis Vlasenko | 2007-02-27 | 1 | -0/+205 | |
| | ||||||
* | udhcp: optionally support RFC3397 (by Gabriel L. Somlo <somlo@cmu.edu>) | Denis Vlasenko | 2007-02-27 | 6 | -21/+77 | |
| | ||||||
* | udhcp: use improved gethostbyname replacement from IPv6 code | Denis Vlasenko | 2007-02-04 | 1 | -9/+8 | |
| | ||||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 4 | -0/+4 | |
| | | | | no preceding prototype | |||||
* | add a comment so that people won't get confused | Denis Vlasenko | 2007-02-02 | 1 | -0/+1 | |
| | ||||||
* | udhcpd: allow "domain" to be a list of DNS servers, not just one | Denis Vlasenko | 2007-02-02 | 2 | -13/+21 | |
| | ||||||
* | preparatory patch for -Wwrite-strings #2 | Denis Vlasenko | 2007-01-29 | 4 | -7/+7 | |
| | ||||||
* | use bb_sanitize_stdio() where appropriate | Denis Vlasenko | 2007-01-27 | 1 | -15/+1 | |
| | ||||||
* | cleanups: unnecessary casts, unified const_1, eliminate cross-.c file | Denis Vlasenko | 2007-01-22 | 1 | -1/+1 | |
| | | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs. | |||||
* | exterminate u_intXXX. | Denis Vlasenko | 2007-01-22 | 1 | -4/+4 | |
| | | | | fix ping6 buglet (memset is too short), minor sync between ping and ping6 | |||||
* | strdup -> xstrdup | Denis Vlasenko | 2007-01-19 | 1 | -1/+1 | |
| | | | | sed: de-obfuscate piece of code | |||||
* | fix potentially misaligned 32-bit accesses | Denis Vlasenko | 2007-01-18 | 1 | -3/+6 | |
| | ||||||
* | merge post-1.3.0 fixes | Denis Vlasenko | 2006-12-26 | 1 | -1/+2 | |
| | ||||||
* | Always use /usr/share/udhcpc/default.script ([/usr] was depending on CONFIG_xx) | Denis Vlasenko | 2006-12-22 | 1 | -5/+1 | |
| | ||||||
* | u_short, ulong exterminated | Denis Vlasenko | 2006-12-19 | 2 | -4/+4 | |
| | | | | fdiskXXX: add a bit of sanity (not enough by far) | |||||
* | - use xlisten/xsocket some more. Saves .25 kB | Bernhard Reutner-Fischer | 2006-12-19 | 5 | -27/+3 | |
| | ||||||
* | A bunch of defined(__GLIBC__) added. static-linking warning expanded | Denis Vlasenko | 2006-12-18 | 4 | -4/+4 | |
| | ||||||
* | fix support for globally disabling --long-options. | Denis Vlasenko | 2006-11-29 | 1 | -1/+4 | |
| | | | | (disabling them saves ~4K on fully configured bbox) | |||||
* | udhcpc: fix my breakage | Denis Vlasenko | 2006-11-28 | 2 | -5/+3 | |
| | ||||||
* | do not overflow ifr_name. maybe it was safe in some places, | Denis Vlasenko | 2006-11-27 | 1 | -1/+1 | |
| | | | | but not everywhere. err to the safe side. | |||||
* | udhcpc: convert to getopt32 | Denis Vlasenko | 2006-11-27 | 3 | -171/+146 | |
| | ||||||
* | safe_strtoXX interface proved to be a bit unconvenient. | Denis Vlasenko | 2006-11-27 | 1 | -2/+4 | |
| | | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. | |||||
* | add "wpad" DHCP option. Spotted some optimization opportunities: -80 bytes | Denis Vlasenko | 2006-11-23 | 4 | -54/+64 | |
| | ||||||
* | introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd), | Denis Vlasenko | 2006-11-22 | 3 | -10/+7 | |
| | | | | | use them where appropriate. 200 bytes saved | |||||
* | - style fixes | Bernhard Reutner-Fischer | 2006-11-21 | 1 | -15/+16 | |
| | ||||||
* | httpd: slight reduction of #ifdef forest | Denis Vlasenko | 2006-11-21 | 1 | -1/+1 | |
| | | | | | | few other applets: #ifdef CONFIG_ -> #if ENABLE_ traceroute: fix exposed bugs defconfig: update | |||||
* | dhcprelay: new applet | Denis Vlasenko | 2006-11-20 | 4 | -13/+366 | |
| | ||||||
* | add compile-time check for correct DHCP packet size | Denis Vlasenko | 2006-11-20 | 1 | -0/+4 | |
| | ||||||
* | small fixes: using fd-based io instead of FILE*-based, | Denis Vlasenko | 2006-11-18 | 4 | -48/+49 | |
| | | | | missed O_TRUNC, etc | |||||
* | udhcp: fix indentation and style. | Denis Vlasenko | 2006-11-18 | 33 | -642/+332 | |
| | | | | | Eliminate (group) a lot of smallish *.h files Remove lots of unneeded #includes | |||||
* | add -Wundef, fix uncovered bugs | Denis Vlasenko | 2006-11-17 | 4 | -4/+4 | |
| |