summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2001-01-20 20:50:55 +0000
committerfgsch <fgsch@openbsd.org>2001-01-20 20:50:55 +0000
commit3a5e6922458294910e7cf911a1fa689f258b76cd (patch)
tree0d3874e7b84150a16ac3e15b860b70c3c3472062
parentNo need to include machine/alpha.h (diff)
downloadwireguard-openbsd-3a5e6922458294910e7cf911a1fa689f258b76cd.tar.xz
wireguard-openbsd-3a5e6922458294910e7cf911a1fa689f258b76cd.zip
sync with 3.4.16.
-rw-r--r--sbin/ipnat/ipnat.48
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/ipnat/ipnat.4 b/sbin/ipnat/ipnat.4
index 92471c57788..6e9b12abc55 100644
--- a/sbin/ipnat/ipnat.4
+++ b/sbin/ipnat/ipnat.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ipnat.4,v 1.19 2000/04/13 19:59:39 kjell Exp $
+.\" $OpenBSD: ipnat.4,v 1.20 2001/01/20 20:50:55 fgsch Exp $
.\"
.TH IPNAT 4
.SH NAME
@@ -17,8 +17,10 @@ To add and delete rules to the NAT list, two 'basic' ioctls are provided
for use. The ioctl's are called as:
.LP
.nf
- ioctl(fd, SIOCADNAT, struct ipnat *)
- ioctl(fd, SIOCRMNAT, struct ipnat *)
+ ioctl(fd, SIOCADNAT, struct ipnat **)
+ ioctl(fd, SIOCRMNAT, struct ipnat **)
+ ioctl(fd, SIOCGNATS, struct natstat **)
+ ioctl(fd, SIOCGNATL, struct natlookup **)
.fi
.PP
Unlike \fBipf(4)\fP, there is only a single list supported by the kernel NAT