svn commit: trunk/busybox/networking

vda at busybox.net vda at busybox.net
Sat Jan 24 20:14:25 UTC 2009


Author: vda
Date: 2009-01-24 20:14:24 +0000 (Sat, 24 Jan 2009)
New Revision: 25008

Log:
traceroute: rewrite. Do not emit raw IP packets, instead send UDP or ICMP
 packets and rely on the kernel to form IP headers, select source IP
 and interface. Doing it in traceroute wasn't working too good,
 and was bloating it.

function                                             old     new   delta
freehostinfo                                          29       -     -29
setsin                                                30       -     -30
in_cksum                                              57       -     -57
gethostinfo                                          165       -    -165
ifaddrlist                                           364       -    -364
traceroute_main                                     3713    2951    -762
------------------------------------------------------------------------------
(add/remove: 0/5 grow/shrink: 0/1 up/down: 0/-1407)         Total: -1407 bytes



Modified:
   trunk/busybox/networking/traceroute.c


Changeset:

Sorry, the patch is too large to include (1033 lines).
Please use ViewCVS to see it!

http://busybox.net/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=25008


More information about the busybox-cvs mailing list