diff options
author | jamesm <jamesm> | 2001-11-24 15:09:19 +0000 |
---|---|---|
committer | jamesm <jamesm> | 2001-11-24 15:09:19 +0000 |
commit | 4dd9426e2097da15b7cd95178852e37bc8075094 (patch) | |
tree | ce5679544731df99a0b6330db105002b7e5cab66 /libipq/ipq_create_handle.3 | |
parent | 1d22915eb3630668ac90a3f5d1a697b5a6da37b9 (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 da99e54..c833e88 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 , |