aboutsummaryrefslogtreecommitdiff
path: root/networking/zcip.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* wget: use monotonic_sec instead of gettimeofdayDenis Vlasenko2007-06-171-62/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* diff: shrink code (-85 bytes):Denis Vlasenko2007-06-121-1/+1
| | | | | | | | | | | | function old new delta fiddle_sum 8 - -8 diffreg 2717 2690 -27 prepare 334 284 -50 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-85) Total: -85 bytes s/ATTRIBUTE_ALWAYS_INLINE/ALWAYS_INLINE/g
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* - add xsendto and use where appropriate; shrink iplink; sanitize libiproute ↵Bernhard Reutner-Fischer2007-04-121-4/+2
| | | | | | a bit. -916 byte
* add more convenient defines for [NO]MMU:Denis Vlasenko2007-04-111-2/+2
| | | | "#ifndef BB_NOMMU" is a double negative
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer2007-04-041-2/+2
|
* zcip: make it work on NOMMU (+ improve NOMMU support machinery)Denis Vlasenko2007-03-261-73/+73
| | | | fsck: fix bad English in a comment
* move everything to new NOMMU helpers, except udhcpDenis Vlasenko2007-03-261-2/+1
|
* add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyDenis Vlasenko2007-03-251-0/+1
|
* zcip: revert my bogus changeDenis Vlasenko2007-02-141-11/+11
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #5Denis Vlasenko2007-01-291-3/+3
|
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko2007-01-191-2/+3
| | | | | | | | | (will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
* httpd: slight reduction of #ifdef forestDenis Vlasenko2006-11-211-5/+0
| | | | | | few other applets: #ifdef CONFIG_ -> #if ENABLE_ traceroute: fix exposed bugs defconfig: update
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-3/+3
| | | | | | | | 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.
* whitespace cleanupDenis Vlasenko2006-09-171-2/+2
|
* Implement optional syslog logging using ordinaryDenis Vlasenko2006-09-061-30/+15
| | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
* zcip: bb_error_msg had stray newlines; small optimization in opt parsingDenis Vlasenko2006-09-031-4/+3
|
* zcip: minor fixesDenis Vlasenko2006-09-031-20/+21
|
* zcip: fix stdout/err versus syslog output.Denis Vlasenko2006-09-031-12/+27
| | | | | Incomplete: xfunc() would not respect this. TODO.
* zcip: getopt -> bb_getopt_ulflagsDenis Vlasenko2006-09-031-37/+24
|
* zcip: convert lots of zero-initialized localsDenis Vlasenko2006-09-031-41/+43
| | | | | in zcip_main() to statics in bss.
* zcip: use xfunc() where appropriateDenis Vlasenko2006-09-031-29/+23
|
* replacing func() with xfunc() where appropriateDenis Vlasenko2006-09-031-4/+1
|
* zcip: apply patch fromDenis Vlasenko2006-09-031-92/+182
| | | | | | http://bugs.busybox.net/view.php?id=1005 zcip does not claim another IP after defending
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-1/+1
| | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* Bug http://bugs.busybox.net/view.php?id=723 - initialize tv1 the first timeRob Landley2006-06-301-9/+9
| | | | through the loop.
* A few patches from Erik Hovland, turning strncpy() into safe_strncpy() andRob Landley2006-06-251-1/+1
| | | | removing some unnecessary code.
* Clean up.Rob Landley2006-06-221-74/+13
|
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* fix from David Daney, on busybox mailing list:Paul Fox2006-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | > The problem is that if the zcip protocol times out at about the same > time another ARP packet is being received, the newly calculated timeout > may be set to wait forever. This prevents the protocol from progressing > through its various states. > > The Fix is to set the timeout to zero if it used to be a positive > number, but it has already expired. This causes the next protocol state > to be entered immediately instead of never. > > If OK please commit. > > Also note that if you may have to apply the patch on this page: > > http://www.science.uva.nl/research/air/wiki/LinkLocalARPMeasurements > > To the linux kernel to get proper zcip behavior. >
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-11/+13
| | | | the busybox binary) into enums (which don't).
* fix up annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-1/+1
|
* just whitespaceTim Riker2006-01-251-4/+4
|
* - add platform.h.Bernhard Reutner-Fischer2006-01-221-16/+3
| | | | - use shorter boilerplate while at it.
* - do away with superfluous keyword.Bernhard Reutner-Fischer2005-12-131-1/+1
|
* - fix zcip for IMA compile mode.Bernhard Reutner-Fischer2005-12-121-6/+6
| | | | | rename usage() to zcip_usage, make struct arp_packet static. This applet is not ISO C89 compatible due to the use of C99-style comments ("c++ comments).
* - fix bug to avoid aliasing busybox' main to zcip_main in IMA mode.Bernhard Reutner-Fischer2005-10-211-0/+3
|
* Revert Tito's patch to zcip. My bad, David Brownell had objected and I missedRob Landley2005-05-031-109/+186
| | | | | it...
* On Tuesday 19 April 2005 21:10, Tito wrote and today added:Rob Landley2005-05-011-186/+109
| | | | | | | | | | | | | > Hi, > this is a first attempt of size optimization for zcip taking into account all > the hints given so far on the list. > I've applied just the more obvious busyboxifications so maybe it could be > optimized more. BTW: I've ripped out a lot of debug code and changed c++ // comments to /* */ as both were rather confusing for a newbie like me. ;-) Sorry to the author for that. I know that this makes mantaining the code easier, but I'm simple minded....
* David Brownell submitted a new applet, zcip, based on RFC 3927. This isRob Landley2005-04-301-0/+550
version 0418b. It compiled.