summaryrefslogtreecommitdiff
path: root/sbin/ipnat
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-01-20 20:50:56 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-01-20 20:50:56 +0000
commit7dde933c5b13b4444da42ac88c7bc9b6d63b6210 (patch)
tree7997d8406e6e72be4e1f349c4c56fae0511dcf63 /sbin/ipnat
parent94f3709234c66143d9da073a104671f5c6280ef2 (diff)
sync with 3.4.16.
Diffstat (limited to 'sbin/ipnat')
-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