shithub: riscv

Download patch

ref: 1d9c31d9f5f539c854aea84056d55ad47995ee48
parent: fe1eb39db7ae6904924f3ab1f6f9b34416f2eb1b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jul 23 18:57:43 EDT 2023

ip(3): document garp ctl message for /net/arp

--- a/sys/man/3/ip
+++ b/sys/man/3/ip
@@ -494,12 +494,9 @@
 .B /net/arp
 administers the ARP information.
 The control messages are:
-.TF "\fLdel \fIIP-addr\fR"
+.TF "\fLgarp \fIIP-addr\fR"
 .PD
 .TP
-.B flush
-Remove all entries.
-.TP
 .BI add\  "type IP-addr Media-addr Interface-IP-addr"
 Add an entry or replace an existing one for the
 same IP address. The optional interface IP address specifies the
@@ -508,6 +505,12 @@
 .TP
 .BI del\  "IP-addr"
 Delete an individual entry.
+.TP
+.B flush
+Remove all entries.
+.TP
+.BI garp\  "IP-addr"
+Send a gratious ARP response for the specified IP address.
 .PP
 ARP entries do not time out.  The ARP table is a
 cache with an LRU replacement policy.  The IP stack