Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
2e2ef32c
Commit
2e2ef32c
authored
Sep 06, 2009
by
Mike Frysinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arp: document the existing -e/-t options
parent
15cf547d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
arp.c
arp.c
+2
-1
man/en_US/arp.8
man/en_US/arp.8
+5
-2
No files found.
arp.c
View file @
2e2ef32c
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
* NET-3 Networking Distribution for the LINUX operating
* NET-3 Networking Distribution for the LINUX operating
* system.
* system.
*
*
* Version: $Id: arp.c,v 1.2
6 2009/07/08 00:24:03 ecki
Exp $
* Version: $Id: arp.c,v 1.2
7 2009/09/06 22:50:11 vapier
Exp $
*
*
* Maintainer: Bernd 'eckes' Eckenfels, <net-tools@lina.inka.de>
* Maintainer: Bernd 'eckes' Eckenfels, <net-tools@lina.inka.de>
*
*
...
@@ -630,6 +630,7 @@ static void usage(void)
...
@@ -630,6 +630,7 @@ static void usage(void)
fprintf
(
stderr
,
_
(
" arp [-v] [<HW>] [-i <if>] -Ds <host> <if> [netmask <nm>] pub <-''-
\n\n
"
));
fprintf
(
stderr
,
_
(
" arp [-v] [<HW>] [-i <if>] -Ds <host> <if> [netmask <nm>] pub <-''-
\n\n
"
));
fprintf
(
stderr
,
_
(
" -a display (all) hosts in alternative (BSD) style
\n
"
));
fprintf
(
stderr
,
_
(
" -a display (all) hosts in alternative (BSD) style
\n
"
));
fprintf
(
stderr
,
_
(
" -e display (all) hosts in default (Linux) style
\n
"
));
fprintf
(
stderr
,
_
(
" -s, --set set a new ARP entry
\n
"
));
fprintf
(
stderr
,
_
(
" -s, --set set a new ARP entry
\n
"
));
fprintf
(
stderr
,
_
(
" -d, --delete delete a specified entry
\n
"
));
fprintf
(
stderr
,
_
(
" -d, --delete delete a specified entry
\n
"
));
fprintf
(
stderr
,
_
(
" -v, --verbose be verbose
\n
"
));
fprintf
(
stderr
,
_
(
" -v, --verbose be verbose
\n
"
));
...
...
man/en_US/arp.8
View file @
2e2ef32c
...
@@ -8,7 +8,7 @@ arp \- manipulate the system ARP cache
...
@@ -8,7 +8,7 @@ arp \- manipulate the system ARP cache
.IR type ]
.IR type ]
.RB [ \-i
.RB [ \-i
.IR if ]
.IR if ]
.RB [ \-a
]
.RB [ \-a
e ]
.RI [ hostname ]
.RI [ hostname ]
.PP
.PP
.B arp
.B arp
...
@@ -115,7 +115,7 @@ Tell the user what is going on by being verbose.
...
@@ -115,7 +115,7 @@ Tell the user what is going on by being verbose.
shows numerical addresses instead of trying to determine symbolic host, port
shows numerical addresses instead of trying to determine symbolic host, port
or user names.
or user names.
.TP
.TP
.B "\-H type, \-\-hw\-type type"
.B "\-H type, \-\-hw\-type type
, \-t type
"
When setting or reading the ARP cache, this optional parameter tells
When setting or reading the ARP cache, this optional parameter tells
.B arp
.B arp
which class of entries it should check for. The default value of
which class of entries it should check for. The default value of
...
@@ -134,6 +134,9 @@ and
...
@@ -134,6 +134,9 @@ and
.B \-a
.B \-a
Use alternate BSD style output format (with no fixed columns).
Use alternate BSD style output format (with no fixed columns).
.TP
.TP
.B \-e
Use default Linux style output format (with fixed columns).
.TP
.B "\-D, \-\-use-device"
.B "\-D, \-\-use-device"
Instead of a hw_addr, the given argument is the name of an interface.
Instead of a hw_addr, the given argument is the name of an interface.
.B arp
.B arp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment