summaryrefslogtreecommitdiff
path: root/sbin/ipnat/ipnat.4
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ipnat/ipnat.4')
-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