freebsd-dev/usr.sbin/arp
Max Laier e78c7a0a9a Cache the last result from if_indextoname for printing. This speeds up
"arp -an" when using a lot of aliases (on a single interface).

A better fix would include a better interface for if_indextoname than
getting the whole address list from the kernel just to find the one
index->name mapping.

Reported & analyzed by:	Nick Rogers
MFC after:		3 days
2010-06-11 19:35:05 +00:00
..
arp.4 net.link.ether.inet.prune_intvl no longer exists. 2007-03-28 11:06:50 +00:00
arp.8 - xref ndp(8) 2009-04-28 20:23:58 +00:00
arp.c Cache the last result from if_indextoname for printing. This speeds up 2010-06-11 19:35:05 +00:00
Makefile Lower WARNS due to alignment issues on sparc64. 2009-06-11 10:30:30 +00:00