IPQ_SET_VERDICT - Online Linux Manual PageSection : 3
Updated : 16 October 2001
Source : Linux iptables 1.2
Note : Linux Programmer's Manual
NAMEipq_set_verdict — issue verdict and optionally modified packet to kernel
SYNOPSIS#include <linux/netfilter.h>
#include <libipq.h> int ipq_set_verdict(const struct ipq_handle *h, ipq_id_t id, unsigned int verdict, size_t data_len, unsigned char *buf);
DESCRIPTIONThe ipq_set_verdict function issues a verdict on a packet previously obtained with ipq_read, specifing the intended disposition of the packet, and optionally supplying a modified version of the payload data. The h parameter is a context handle which must previously have been returned successfully from a call to ipq_create_handle. The id parameter is the packet identifier obtained via ipq_get_packet. The verdict parameter must be one of: NF_ACCEPT Accept the packet and continue traversal within the kernel.
NF_DROP Drop the packet. NF_QUEUE Requeue the packet. NF_STOLEN and NF_REPEAT are kernel-internal constants and should not be used from userspace as their exact side effects have not been investigated. The data_len parameter is the length of the data pointed to by buf, the optional replacement payload data. If simply setting a verdict without modifying the payload data, use zero for data_len and NULL for buf. The application is responsible for recalculating any packet checksums when modifying packets.
RETURN VALUEOn failure, −1 is returned.
On success, a non-zero positive value is returned.
ERRORSOn error, a descriptive error message will be available via the ipq_errstr function.
BUGSNone known.
AUTHORJames Morris <jmorris@intercode.com.au>
COPYRIGHTCopyright (c) 2000-2001 Netfilter Core Team. Distributed under the GNU General Public License.
SEE ALSOiptables(8), libipq(3). 0
Johanes Gumabo
Data Size : 7,039 byte
man-ipq_set_verdict.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 203,241
Visitor ID : :
Visitor IP : 3.140.198.3 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.