diff options
author | James Morris <jmorris@intercode.com.au> | 2001-11-24 15:09:19 +0000 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2001-11-24 15:09:19 +0000 |
commit | ffe96c5a701396fd666228034ff694ffdcd1ad10 (patch) | |
tree | ce5679544731df99a0b6330db105002b7e5cab66 /libipq/ipq_create_handle.3 | |
parent | 96b71718c5b1d40499333730f17914af2da9e89a (diff) |
IPv6 queue handler, libipq support, documentation from Fernando Anton.
Diffstat (limited to 'libipq/ipq_create_handle.3')
-rw-r--r-- | libipq/ipq_create_handle.3 | 10 |
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 , |