Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refuse to install invalid ARP entries. | glebius | 2006-02-09 | 1 | -2/+3 |
| | | | | Submitted by: Vitaliy Ovsyannikov <V.Ovsyannikov kr.ru> | ||||
* | Update usage to reflect the fact that the -d -a now accepts -i <interface>. | brooks | 2006-01-10 | 1 | -1/+1 |
| | | | | | Reminded by: ru Pointy hat: brooks | ||||
* | Allow the -i <interface> option with -d -a to allow all arp entries for | brooks | 2006-01-10 | 2 | -1/+2 |
| | | | | a given interface to be removed. | ||||
* | Add a knob to suppress logging of attempts to modify | glebius | 2005-12-18 | 1 | -1/+8 |
| | | | | | | permanent ARP entries. Submitted by: Andrew Alcheyev <buddy telenet.ru> | ||||
* | Improve the documentation of "proxyall" knob, somewhat: we do not | ru | 2005-11-24 | 1 | -2/+3 |
| | | | | | | proxy for hosts that are reachable through the same interface the request came in from. This feature is mainly for hosts reachable through some P2P link, e.g. the gif(4) tunnel. | ||||
* | Some fixes for last commit. | glebius | 2005-11-11 | 1 | -8/+7 |
| | | | | Submitted by: ru | ||||
* | - Document last change to ARP behavior. | glebius | 2005-11-10 | 1 | -11/+28 |
| | | | | | - Document several undocumented sysctl variables. - Fix spelling of few diagnostics. | ||||
* | List IFT_BRIDGE as a valid type so that arp entries can be properly deleted. | thompsa | 2005-11-03 | 1 | -1/+6 |
| | | | | Submitted by: Michal Mertl <mime^traveller.cz> | ||||
* | Commit some cosmetic fixes I developed some time ago, mostly style but | ru | 2005-06-09 | 1 | -26/+31 |
| | | | | one functional change (fixed exit status from the "get" operation). | ||||
* | Fix exit status. In rev. 1.48 return logic of rtmsg() was confused. This | glebius | 2005-06-09 | 1 | -1/+1 |
| | | | | | | | made arp(8) command exit status reversed for -s and -S. Reported by: sem MFC after: 2 weeks | ||||
* | o Reorganize the previous delta to make it more style(9) compliant. | maxim | 2005-01-24 | 1 | -3/+5 |
| | | | | | | Submitted by: ru o Reduce an amount of memory we ask in advance. | ||||
* | o Try hard to guess a buffer size for a fast growing routing table. | maxim | 2005-01-24 | 1 | -5/+15 |
| | | | | | | | | An approach taken from killall/killall.c. PR: bin/76075 Submitted by: Dmitrij Tejblum MFC after: 3 weeks | ||||
* | For VLAN interfaces, print MAC addresses properly. | ru | 2004-12-24 | 1 | -1/+2 |
| | | | | | | | | (Broken in rev. 1.52.) PR: 75471 Submitted by: Jon Simola MFC after: 3 days | ||||
* | Per letter dated July 22, 1999, delete clause 3 from code directly | imp | 2004-08-07 | 3 | -12/+0 |
| | | | | from Berkeley. | ||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 2 | -2/+3 |
| | |||||
* | mdoc(7) police | bms | 2004-06-16 | 1 | -2/+2 |
| | | | | Submitted by: ru | ||||
* | Document the behaviour of the net.link.ether.inet.proxyall sysctl MIB | bms | 2004-06-16 | 1 | -0/+19 |
| | | | | | | | | variable. PR: docs/21826 Reviewed by: ru Requested by: Bernd Luevelsmeyer | ||||
* | Be smarter about printing non-ethernet link-level addresses. | dfr | 2004-06-13 | 1 | -3/+13 |
| | |||||
* | Avoid assignments to cast expressions. | stefanf | 2004-06-08 | 1 | -1/+1 |
| | | | | | Reviewed by: md5 Approved by: das (mentor) | ||||
* | Massive cleanup of the code removing global variables to | luigi | 2004-04-13 | 1 | -206/+199 |
| | | | | | | | | pass function arguments and results. Hopefully no functional changes except fixing a couple of bugs which could cause endless loops if an ioctl() on an interface would fail. | ||||
* | Back out previous commit, it was unintentional. | luigi | 2004-04-13 | 1 | -1/+1 |
| | | | | | | Keep WARNS at 3 though the code does compile with WARNS=5 at least on i386 Noticed by: ru | ||||
* | Replace ROUNDUP/ADVANCE with SA_SIZE | luigi | 2004-04-13 | 2 | -8/+6 |
| | |||||
* | Make functions and variables static. | luigi | 2004-04-13 | 1 | -88/+96 |
| | | | | | | | | Remove global variables in favour of local ones. Fix indentation of a couple of switch statements. Overall, this program badly need cleaning up, as it relies on information passed around through global variables. | ||||
* | - Change several errx() calls that should have been err() calls. | mux | 2004-04-09 | 2 | -13/+15 |
| | | | | | | - Handle empty ARP tables properly. - Remove register keyword. - arp(8) is WARNS?=4 clean, so mark it as such to avoid regressions. | ||||
* | mdoc(7) cleanups (use .Va, not .Dv, for sysctls.) | bms | 2003-10-03 | 1 | -2/+2 |
| | | | | Reviewed by: ru | ||||
* | mdoc(7) cleanup: Break up sentences so that they start on new lines. | bms | 2003-10-03 | 1 | -6/+7 |
| | |||||
* | Point out the existence of net.link.ether.inet.log_arp_movements. | bms | 2003-10-03 | 1 | -1/+5 |
| | | | | Add sysctl(8) to the list of cross-referenced manual pages. | ||||
* | Update arp(4) to document the 'arp: foo is on if0 but got reply from | bms | 2003-10-03 | 1 | -0/+9 |
| | | | | | | | bar on if1' message. PR: bin/48489 Requested by: ru | ||||
* | Implement a new option: -i, which will allow to limit | yar | 2003-07-18 | 2 | -4/+33 |
| | | | | | | | | | | | the scope of operation to the ARP entries on a particular interface. It should be useful on machines with numerous network interfaces, e.g., on inter-VLAN routers. PR: bin/54151 Submitted by: Dmitry Morozovsky <marck at rinet.ru> Discussed on: -net MFC after: 2 weeks | ||||
* | Use __FBSDID over rcsid[]. Protect copyright[] where needed. | obrien | 2003-05-03 | 1 | -4/+4 |
| | |||||
* | style.Makefile(5) | obrien | 2003-04-04 | 1 | -1/+2 |
| | |||||
* | Further fix the syntax by ignoring empty and whitespace-only lines. | ru | 2003-03-05 | 1 | -1/+1 |
| | | | | Prompted by: Eugene Grosbein <eugen@kuzbass.ru> | ||||
* | Don't hide global `s'. | ru | 2003-01-17 | 1 | -6/+6 |
| | |||||
* | POLA dictates that in the file designated with the -f option | ru | 2002-12-27 | 2 | -2/+12 |
| | | | | | | | | argument, leading whitespace and empty lines be ignored, and the `#' character marks the rest of the line as a comment. PR: bin/45958 MFC after: 3 days | ||||
* | s/pseudo-device/device/ | ru | 2002-12-26 | 1 | -1/+1 |
| | |||||
* | Change 'int pid' to 'pid_t pid' | jmallett | 2002-07-25 | 1 | -1/+1 |
| | | | | Submitted by: Bruce "Allah" Dang <bruce@research.teamxor.org> | ||||
* | The .Nm utility | charnier | 2002-07-14 | 1 | -3/+3 |
| | |||||
* | Unbreak this file after the last drive-by committing. We have to | wpaul | 2002-05-09 | 1 | -2/+2 |
| | | | | | | | | | | | #include route.h before iso88025.h, and we have to dereference the trld_route array correctly. (NOTE: I'm not altogether sure that this is really the correct way to traverse this array. This just eliminates the build warning/error. It may not work right at runtime, and I have no way to test it since I lack the necessary hardware.) Broken by: kbyanc, who gets to wear the pointy hat | ||||
* | Update ARP to access token-ring source routing information at it's new | kbyanc | 2002-05-08 | 1 | -5/+10 |
| | | | | | | | location. Not tested by: me (sorry!) Sponsored by: NTT Multimedia Communications Labs | ||||
* | GCC 3.1 cleanup - add a break after default: at the end of a switch | murray | 2002-04-07 | 1 | -0/+1 |
| | | | | statement. | ||||
* | Don't reinvent the wheel now that ether_ntoa(3) has been fixed | ru | 2002-04-06 | 1 | -25/+13 |
| | | | | | | to print leading zeros in libc_net/ether_addr.c,v 1.13. MFC after: 3 days | ||||
* | Correct old wording of the arp functionality. | asmodai | 2002-04-05 | 1 | -5/+7 |
| | | | | | | | | We are long past the stage where we only had ARP working for 10 Mb/s. PR: 35604 Submitted by: Gary W. Swearingen <swear@blarg.net> Additional comments by: Mike DeGraw-Bertsch <mbertsch@radioactivedata.org> | ||||
* | Include <string.h> for some prototypes, rather than depending on | mike | 2002-04-01 | 1 | -0/+1 |
| | | | | pollution from <strings.h>. | ||||
* | Fix bugs from previous commit: initialize the correct field and use | mikeh | 2002-03-20 | 1 | -5/+5 |
| | | | | | | | the correct local variable. Caught by: Joachim Isaksson <Joachim.Isaksson@algitech.com> Pointy hat to: mikeh | ||||
* | Fix a typo. | ru | 2002-03-15 | 1 | -1/+1 |
| | |||||
* | - Misc grammar fixes. | keramida | 2002-03-08 | 1 | -3/+3 |
| | | | | - Add `Ar filename' to the description of the -f option. | ||||
* | Reorder WARNS line for style. | mikeh | 2001-12-10 | 1 | -2/+1 |
| | | | | Pointed out by: bde | ||||
* | WARNS=2 cleanup. | mikeh | 2001-12-10 | 2 | -58/+70 |
| | | | | | Submitted by: Maxime Henrion <mux@qualys.com> MFC after: 2 weeks | ||||
* | Print [fddi] or [atm] tags for ARP addresses on interfaces of that type. | mdodd | 2001-10-19 | 1 | -0/+6 |
| | |||||
* | Print interface name for each ARP entry. | ru | 2001-10-08 | 1 | -0/+3 |
| | | | | | Prodded by: Igor Podlesny <poige@morning.ru> MFC after: 1 week |