From 4dd9426e2097da15b7cd95178852e37bc8075094 Mon Sep 17 00:00:00 2001 From: jamesm Date: Sat, 24 Nov 2001 15:09:19 +0000 Subject: IPv6 queue handler, libipq support, documentation from Fernando Anton. --- libipq/ipq_create_handle.3 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libipq/ipq_create_handle.3') 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 .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 , -- cgit v1.2.3