imp
854dfd977b
Per letter dated July 22, 1999, delete clause 3 from code directly
...
from Berkeley.
2004-08-07 04:19:37 +00:00
ru
485e003d41
Mechanically kill hard sentence breaks.
2004-07-02 23:13:00 +00:00
bms
f47e3f6d25
mdoc(7) police
...
Submitted by: ru
2004-06-16 07:03:54 +00:00
bms
834689eca5
Document the behaviour of the net.link.ether.inet.proxyall sysctl MIB
...
variable.
PR: docs/21826
Reviewed by: ru
Requested by: Bernd Luevelsmeyer
2004-06-16 06:16:29 +00:00
dfr
04dad4c5e1
Be smarter about printing non-ethernet link-level addresses.
2004-06-13 10:57:10 +00:00
stefanf
ce8e58fb1a
Avoid assignments to cast expressions.
...
Reviewed by: md5
Approved by: das (mentor)
2004-06-08 13:08:19 +00:00
luigi
fb29130e22
Massive cleanup of the code removing global variables to
...
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.
2004-04-13 14:16:37 +00:00
luigi
d615c0052e
Back out previous commit, it was unintentional.
...
Keep WARNS at 3 though the code does compile with WARNS=5 at least on i386
Noticed by: ru
2004-04-13 11:45:28 +00:00
luigi
666306ed63
Replace ROUNDUP/ADVANCE with SA_SIZE
2004-04-13 11:24:43 +00:00
luigi
4fc4a2d83c
Make functions and variables static.
...
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.
2004-04-13 08:34:52 +00:00
mux
60f51dc47c
- Change several errx() calls that should have been err() calls.
...
- Handle empty ARP tables properly.
- Remove register keyword.
- arp(8) is WARNS?=4 clean, so mark it as such to avoid regressions.
2004-04-09 14:27:28 +00:00
bms
6507aaa5cd
mdoc(7) cleanups (use .Va, not .Dv, for sysctls.)
...
Reviewed by: ru
2003-10-03 07:48:56 +00:00
bms
d17a6b6ce8
mdoc(7) cleanup: Break up sentences so that they start on new lines.
2003-10-03 01:20:33 +00:00
bms
33e86280eb
Point out the existence of net.link.ether.inet.log_arp_movements.
...
Add sysctl(8) to the list of cross-referenced manual pages.
2003-10-03 01:18:21 +00:00
bms
b471deeaa7
Update arp(4) to document the 'arp: foo is on if0 but got reply from
...
bar on if1' message.
PR: bin/48489
Requested by: ru
2003-10-03 01:15:40 +00:00
yar
1b8ca454eb
Implement a new option: -i, which will allow to limit
...
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
2003-07-18 13:48:06 +00:00
obrien
7797e9f77e
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
2003-05-03 21:06:42 +00:00
obrien
6709fe0c57
style.Makefile(5)
2003-04-04 17:49:21 +00:00
ru
57fb2c06fc
Further fix the syntax by ignoring empty and whitespace-only lines.
...
Prompted by: Eugene Grosbein <eugen@kuzbass.ru>
2003-03-05 15:53:18 +00:00
ru
de5a5cffdf
Don't hide global `s'.
2003-01-17 08:10:43 +00:00
ru
13d36e7d33
POLA dictates that in the file designated with the -f option
...
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
2002-12-27 10:09:04 +00:00
ru
b648174f01
s/pseudo-device/device/
2002-12-26 19:56:29 +00:00
jmallett
64e213ef35
Change 'int pid' to 'pid_t pid'
...
Submitted by: Bruce "Allah" Dang <bruce@research.teamxor.org>
2002-07-25 01:48:19 +00:00
charnier
90baea60d8
The .Nm utility
2002-07-14 14:47:15 +00:00
wpaul
02bda1f0e4
Unbreak this file after the last drive-by committing. We have to
...
#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
2002-05-09 00:37:57 +00:00
kbyanc
7551bb4a59
Update ARP to access token-ring source routing information at it's new
...
location.
Not tested by: me (sorry!)
Sponsored by: NTT Multimedia Communications Labs
2002-05-08 00:55:29 +00:00
murray
52f5f76584
GCC 3.1 cleanup - add a break after default: at the end of a switch
...
statement.
2002-04-07 12:05:05 +00:00
ru
c07d34f06d
Don't reinvent the wheel now that ether_ntoa(3) has been fixed
...
to print leading zeros in libc_net/ether_addr.c,v 1.13.
MFC after: 3 days
2002-04-06 09:01:44 +00:00
asmodai
e70af8e135
Correct old wording of the arp functionality.
...
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>
2002-04-05 21:59:13 +00:00
mike
4726fef171
Include <string.h> for some prototypes, rather than depending on
...
pollution from <strings.h>.
2002-04-01 21:13:17 +00:00
mikeh
325f93132c
Fix bugs from previous commit: initialize the correct field and use
...
the correct local variable.
Caught by: Joachim Isaksson <Joachim.Isaksson@algitech.com>
Pointy hat to: mikeh
2002-03-20 01:31:15 +00:00
ru
1cc2bc68b4
Fix a typo.
2002-03-15 16:53:32 +00:00
keramida
cd4208364d
- Misc grammar fixes.
...
- Add `Ar filename' to the description of the -f option.
2002-03-08 12:50:41 +00:00
mikeh
742235b211
Reorder WARNS line for style.
...
Pointed out by: bde
2001-12-10 21:13:36 +00:00
mikeh
4e6c42b13e
WARNS=2 cleanup.
...
Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks
2001-12-10 06:42:56 +00:00
mdodd
bfc4a18c47
Print [fddi] or [atm] tags for ARP addresses on interfaces of that type.
2001-10-19 00:33:26 +00:00
ru
78efcb96c9
Print interface name for each ARP entry.
...
Prodded by: Igor Podlesny <poige@morning.ru>
MFC after: 1 week
2001-10-08 11:52:23 +00:00
obrien
b64625adfb
Remove GCC'isms in CFLAGS.
2001-07-20 04:23:13 +00:00
dd
7d1013753f
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
5617dbcc22
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 15:12:08 +00:00
ru
8d05fdb3af
- Renamed the `proxy'' modifier of the -d flag to
`pub'',
...
to be consistent with the -s flag. Updated documentation
on what this modifier does.
- Added the ``only'' keyword to the -s and -S flags, that
could be used to created "proxy-only" published entries.
Previously, arp(8) created an entry of this type only
in the absence of the route to a destination.
PR: bin/12357
MFC after: 1 week
2001-06-07 12:35:53 +00:00
yar
1372bd3003
Add a missing free(3).
...
PR: bin/27001
Submitted by: alex <ml-freebsd-net@phobgate.de>,
Matthew Emmerton <matt@gsicomp.on.ca>
2001-05-02 19:07:46 +00:00
yar
844dce0dff
Add the VLAN interface type to the list of ARP-capable interface types.
2001-04-04 15:14:06 +00:00
ru
b15a893144
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
billf
2fb7c26395
zeropad mac address ouput
...
PR: bin/25584
Submitted by: David Xu <davidx@viasoft.com.cn>
Reviewed by: wollman, billf
2001-03-08 01:52:49 +00:00
imp
4ea3e95fe6
h_errno is declared in netdb.h.
2001-03-01 06:41:43 +00:00
ru
37887c06ae
Print a diagnostic message if no interface could be determined
...
when attempting to create a published ARP entry. For example:
# arp -s 1.1.1.1 auto pub
PR: bin/7753
Submitted by: Jonathan Hanna <pangolin@home.com>
2001-02-27 09:02:10 +00:00
ru
74ecc06fa7
mdoc(7) police: Change -filled displays (which just happen
...
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
ru
964ef0887f
mdoc(7) police: modifiers should be marked with .Cm, not .Ar.
2001-02-05 17:01:07 +00:00
ru
24810105f7
Make the ``arp -d hostname proxy'' really do something useful.
...
Specifically, ``proxy'' modifier tells the code to delete only
Proxy ARP entry for the ``hostname''; the usual ARP entry will
be unaffected by this operation.
2001-02-05 16:57:56 +00:00