diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-01-24 20:14:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-01-24 20:14:24 +0000 |
commit | 766c10c386f5f4c6e01fa2d2797f52809db25ef4 (patch) | |
tree | 75319f2d0d5a7744e2b2eace30fda23ca5a72e7e /networking/ip.c | |
parent | fa65a3d78f32a305239494b8dc0f8ef14f83465d (diff) | |
download | busybox-766c10c386f5f4c6e01fa2d2797f52809db25ef4.tar.gz |
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
Diffstat (limited to 'networking/ip.c')
0 files changed, 0 insertions, 0 deletions