diff options
author | glebius <glebius@FreeBSD.org> | 2013-01-31 08:55:21 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-01-31 08:55:21 +0000 |
commit | 7f832c3059b3b2f864f0b1f3fac0c4ed8e268b27 (patch) | |
tree | e3ea2bc458475248ba21882d2e6ebd842532550e /usr.sbin/arp/arp.8 | |
parent | e33dc79d8ee6e651f229bdeddaa7109185cb20db (diff) | |
download | FreeBSD-src-7f832c3059b3b2f864f0b1f3fac0c4ed8e268b27.zip FreeBSD-src-7f832c3059b3b2f864f0b1f3fac0c4ed8e268b27.tar.gz |
Retire struct sockaddr_inarp.
Since ARP and routing are separated, "proxy only" entries
don't have any meaning, thus we don't need additional field
in sockaddr to pass SIN_PROXY flag.
New kernel is binary compatible with old tools, since sizes
of sockaddr_inarp and sockaddr_in match, and sa_family are
filled with same value.
The structure declaration is left for compatibility with
third party software, but in tree code no longer use it.
Reviewed by: ru, andre, net@
Diffstat (limited to 'usr.sbin/arp/arp.8')
-rw-r--r-- | usr.sbin/arp/arp.8 | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/usr.sbin/arp/arp.8 b/usr.sbin/arp/arp.8 index d7306d3..87c5c5f 100644 --- a/usr.sbin/arp/arp.8 +++ b/usr.sbin/arp/arp.8 @@ -28,7 +28,7 @@ .\" @(#)arp.8 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd December 25, 2008 +.Dd January 31, 2013 .Dt ARP 8 .Os .Sh NAME @@ -54,12 +54,12 @@ .Fl s Ar hostname ether_addr .Op Cm temp .Op Cm blackhole No \&| Cm reject -.Op Cm pub Op Cm only +.Op Cm pub .Nm .Fl S Ar hostname ether_addr .Op Cm temp .Op Cm blackhole No \&| Cm reject -.Op Cm pub Op Cm only +.Op Cm pub .Nm .Fl f Ar filename .Sh DESCRIPTION @@ -140,16 +140,6 @@ can be given as in which case the interfaces on this host will be examined, and if one of them is found to occupy the same subnet, its Ethernet address will be used. -If the -.Cm only -keyword is also specified, this will create a -.Dq "published (proxy only)" -entry. -This type of entry is created automatically if -.Nm -detects that a routing table entry for -.Ar hostname -already exists. .Pp If the .Cm reject @@ -181,7 +171,7 @@ in the file should be of the form .Ar hostname ether_addr .Op Cm temp .Op Cm blackhole No \&| Cm reject -.Op Cm pub Op Cm only +.Op Cm pub .Ed .Pp with argument meanings as given above. |