summaryrefslogtreecommitdiffstats
path: root/libipq/ipq_create_handle.3
diff options
context:
space:
mode:
Diffstat (limited to 'libipq/ipq_create_handle.3')
-rw-r--r--libipq/ipq_create_handle.310
1 files changed, 8 insertions, 2 deletions
diff --git a/libipq/ipq_create_handle.3 b/libipq/ipq_create_handle.3
index da99e549..c833e884 100644
--- a/libipq/ipq_create_handle.3
+++ b/libipq/ipq_create_handle.3
@@ -1,6 +1,6 @@
.TH IPQ_CREATE_HANDLE 3 "16 October 2001" "Linux iptables 1.2" "Linux Programmer's Manual"
.\"
-\" $Id: ipq_create_handle.3,v 1.1 2000/11/20 14:13:31 jamesm Exp $
+\" $Id: ipq_create_handle.3,v 1.2 2001/10/16 14:41:02 jamesm Exp $
.\"
.\" Copyright (c) 2000-2001 Netfilter Core Team
.\"
@@ -26,7 +26,7 @@ ipq_create_handle, ipq_destroy_handle - create and destroy libipq handles.
.br
.B #include <libipq.h>
.sp
-.BI "struct ipq_handle *ipq_create_handle(u_int32_t " flags );
+.BI "struct ipq_handle *ipq_create_handle(u_int32_t " flags ", u_int32_t " protocol ");"
.br
.BI "int ipq_destroy_handle(struct ipq_handle *" h );
.SH DESCRIPTION
@@ -44,6 +44,12 @@ parameter is not currently used and should be set to zero by the application
for forward compatibility.
.PP
The
+.I protocol
+parameter is used to specify the protocol of the packets to be queued.
+Valid values are PF_INET for IPv4 and PF_INET6 for IPv6. Currently,
+only one protocol may be queued at a time for a handle.
+.PP
+The
.B ipq_destroy_handle
function frees up resources allocated by
.BR ipq_create_handle ,