mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
cc63cd5663
route.c: look up the netname as-is first before the shifted name. this makes a big speed difference, as the lookups are generally local DNS. The shifted names can be very wrong (there is still guessing and fudging involved) and usually go remote, taking a long time to fail. If you have the RFC reccomended netnames in your reverse lookups, this is even faster still. main.c: dont do a sethostent(1) - this is causing the resolver to use a VC (tcp) connection to the resolver, which has more overheads and is slower than the default UDP case. This once made sense when everything was based on text host tables. |
||
---|---|---|
.. | ||
if.c | ||
inet.c | ||
ipx.c | ||
iso.c | ||
main.c | ||
Makefile | ||
mbuf.c | ||
mroute.c | ||
netstat.1 | ||
netstat.h | ||
ns.c | ||
route.c | ||
unix.c |