Bruce M Simpson
43039b7df5
mdoc(7) cleanups (use .Va, not .Dv, for sysctls.)
...
Reviewed by: ru
2003-10-03 07:48:56 +00:00
Bruce M Simpson
0cc7c160e2
mdoc(7) cleanup: Break up sentences so that they start on new lines.
2003-10-03 01:20:33 +00:00
Bruce M Simpson
1e709b6f23
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
Bruce M Simpson
4cd8d8d59c
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
Yaroslav Tykhiy
b9de94e9eb
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
David E. O'Brien
b728350ee6
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
2003-05-03 21:06:42 +00:00
David E. O'Brien
052238b16c
style.Makefile(5)
2003-04-04 17:49:21 +00:00
Ruslan Ermilov
4bfc36240e
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
Ruslan Ermilov
3adcd04299
Don't hide global `s'.
2003-01-17 08:10:43 +00:00
Ruslan Ermilov
44acbc1adc
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
Ruslan Ermilov
2dab76f7d1
s/pseudo-device/device/
2002-12-26 19:56:29 +00:00
Juli Mallett
42f3352b5c
Change 'int pid' to 'pid_t pid'
...
Submitted by: Bruce "Allah" Dang <bruce@research.teamxor.org>
2002-07-25 01:48:19 +00:00
Philippe Charnier
490d5836b5
The .Nm utility
2002-07-14 14:47:15 +00:00
Bill Paul
2ab778e1d3
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
Kelly Yancey
97fe20b4d0
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 Stokely
123b2d4a74
GCC 3.1 cleanup - add a break after default: at the end of a switch
...
statement.
2002-04-07 12:05:05 +00:00
Ruslan Ermilov
a03b1b7ced
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
Jeroen Ruigrok van der Werven
8a4e484995
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 Barcroft
467a0b0647
Include <string.h> for some prototypes, rather than depending on
...
pollution from <strings.h>.
2002-04-01 21:13:17 +00:00
Mike Heffner
9cc7cb5818
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
Ruslan Ermilov
3c1fa5310f
Fix a typo.
2002-03-15 16:53:32 +00:00
Giorgos Keramidas
7dfa118267
- Misc grammar fixes.
...
- Add `Ar filename' to the description of the -f option.
2002-03-08 12:50:41 +00:00
Mike Heffner
28644e448a
Reorder WARNS line for style.
...
Pointed out by: bde
2001-12-10 21:13:36 +00:00
Mike Heffner
9d34414bc2
WARNS=2 cleanup.
...
Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks
2001-12-10 06:42:56 +00:00
Matthew N. Dodd
0442747236
Print [fddi] or [atm] tags for ARP addresses on interfaces of that type.
2001-10-19 00:33:26 +00:00
Ruslan Ermilov
e87a372b7f
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
David E. O'Brien
ac24b049cc
Remove GCC'isms in CFLAGS.
2001-07-20 04:23:13 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Ruslan Ermilov
a4c37c816b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 15:12:08 +00:00
Ruslan Ermilov
3f844a2221
- 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
Yaroslav Tykhiy
ae14be2007
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
Yaroslav Tykhiy
88d5b61358
Add the VLAN interface type to the list of ARP-capable interface types.
2001-04-04 15:14:06 +00:00
Ruslan Ermilov
345e52e742
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Bill Fumerola
5651a03692
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
Warner Losh
59aadf9385
h_errno is declared in netdb.h.
2001-03-01 06:41:43 +00:00
Ruslan Ermilov
eec827b042
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
Ruslan Ermilov
46eea498da
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
Ruslan Ermilov
3054b08899
mdoc(7) police: modifiers should be marked with .Cm, not .Ar.
2001-02-05 17:01:07 +00:00
Ruslan Ermilov
9ea1ba64dd
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
Archie Cobbs
e03bb411ee
Revert previous checkin ("proxy" is required in some instances).
...
Add a note to that effect to the man page.
2001-02-01 21:23:16 +00:00
Archie Cobbs
bceb4f5a60
Fix documentation: "proxy" is not a keyword for the arp(8) command line.
2001-01-31 00:03:31 +00:00
Ruslan Ermilov
b92a189eb9
mdoc(7) police: Er macro usage cleanup.
2000-11-22 16:11:48 +00:00
Ruslan Ermilov
e97407b4f2
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Yoshinobu Inoue
1fece1a6b6
Change type of vars which hold in_addr.s_addr from u_long to u_int32_t,
...
for more safety on alpha.
Approved by: jkh
2000-03-03 13:01:57 +00:00
Jordan K. Hubbard
135adb1eda
Fix syntax error in previous commit.
2000-01-17 01:44:16 +00:00
Kris Kennaway
0cecd500a4
Don't overflow buffers.
...
Reviewed by: audit@freebsd.org
2000-01-16 21:15:50 +00:00
Ruslan Ermilov
08e13cdfa7
Yet another align.
...
It will be required if sizeof(struct sockaddr_in) changes in the future.
Not objected to by: wollman
1999-09-20 09:10:46 +00:00
Ruslan Ermilov
3a6a5ebeb6
Align sockaddrs passed to/from the routing socket as supposed by kernel.
...
PR: 12847
Spotted by: Key Teck Sin <ktsin@acm.org>
Reviewed by: wollman
1999-09-13 23:32:53 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00