Man page - nfq_nlmsg_cfg_put_qmaxlen(3)
Packages contas this manual
- pktb_free(3)
- nfq_get_indev_name(3)
- nfq_tcp_mangle_ipv6(3)
- nfq_nlmsg_cfg_put_params(3)
- nfq_nlmsg_cfg_put_cmd(3)
- nfq_set_verdict_mark(3)
- nfq_get_timestamp(3)
- nfq_tcp_compute_checksum_ipv4(3)
- nfq_close(3)
- pktb_mangled(3)
- nfq_set_mode(3)
- pktb_len(3)
- nfq_get_physindev_name(3)
- nfq_udp_compute_checksum_ipv6(3)
- nfq_handle_packet(3)
- nfq_set_queue_maxlen(3)
- nfq_get_nfmark(3)
- nfq_get_physindev(3)
- pktb_tailroom(3)
- nfq_tcp_compute_checksum_ipv6(3)
- nfq_ip_snprintf(3)
- nfq_udp_mangle_ipv4(3)
- pktb_network_header(3)
- nfq_open(3)
- pktb_alloc(3)
- nfq_tcp_get_hdr(3)
- nfq_ip_set_transport_header(3)
- nfq_ip6_set_transport_header(3)
- pktb_pull(3)
- nfq_nlmsg_put(3)
- nfq_get_uid(3)
- nfq_unbind_pf(3)
- nfq_get_gid(3)
- nfq_get_msg_packet_hdr(3)
- nfq_get_secctx(3)
- nfq_ip6_mangle(3)
- nfq_get_indev(3)
- nfq_nlmsg_cfg_put_qmaxlen(3)
- nfq_udp_get_payload_len(3)
- nfq_ip6_snprintf(3)
- nfq_tcp_snprintf(3)
- nfq_nlmsg_verdict_put_pkt(3)
- nfq_get_skbinfo(3)
- nfq_ip_mangle(3)
- nfq_set_verdict_batch(3)
- nfq_set_verdict2(3)
- nfq_nlmsg_verdict_put_mark(3)
- nfq_udp_get_payload(3)
- nfq_ip_get_hdr(3)
- nfq_set_verdict_batch2(3)
- nfq_udp_compute_checksum_ipv4(3)
- pktb_transport_header(3)
- nfq_ip_set_checksum(3)
- nfq_destroy_queue(3)
- nfq_get_outdev(3)
- nfq_fd(3)
- pktb_mangle(3)
- nfq_nlmsg_parse(3)
- pktb_put(3)
- nfq_get_physoutdev_name(3)
- pktb_push(3)
- pktb_data(3)
- pktb_mac_header(3)
- nfq_udp_mangle_ipv6(3)
- nfq_tcp_mangle_ipv4(3)
- nfq_snprintf_xml(3)
- nfq_set_queue_flags(3)
- nfq_set_verdict(3)
- nfq_get_packet_hw(3)
- nfq_tcp_get_payload(3)
- nfq_bind_pf(3)
- nfq_get_outdev_name(3)
- nfq_tcp_get_payload_len(3)
- nfq_udp_snprintf(3)
- nfq_nlmsg_verdict_put(3)
- pktb_trim(3)
- nfq_udp_get_hdr(3)
- nfq_get_physoutdev(3)
- nfq_create_queue(3)
- nfq_get_payload(3)
- nfq_ip6_get_hdr(3)
apt-get install libnetfilter-queue-doc
Manual
| nfq_cfg(3) | libnetfilter_queue | nfq_cfg(3) |
NAME
nfq_cfg - Config helpers
SYNOPSIS
Functions
void nfq_nlmsg_cfg_put_cmd (struct nlmsghdr *nlh, uint16_t
pf, uint8_t cmd)
void nfq_nlmsg_cfg_put_params (struct nlmsghdr *nlh, uint8_t mode, int
range)
void nfq_nlmsg_cfg_put_qmaxlen (struct nlmsghdr *nlh, uint32_t
queue_maxlen)
Detailed Description
Function Documentation
void nfq_nlmsg_cfg_put_cmd (struct nlmsghdr * nlh, uint16_t pf, uint8_t cmd)
nfq_nlmsg_cfg_put_cmd Add netlink config command to netlink message
Parameters
pf Packet family (e.g. AF_INET)
cmd nfqueue nfnetlink command.
Possible commands are:
- NFQNL_CFG_CMD_NONE: Do nothing. It can be useful to know if the queue subsystem is working.
- NFQNL_CFG_CMD_BIND: Binds the program to a specific queue.
- NFQNL_CFG_CMD_UNBIND: Unbinds the program to a specifiq queue.
Obsolete commands:
- NFQNL_CFG_CMD_PF_BIND: Binds to process packets belonging to the given protocol family (ie. PF_INET, PF_INET6, etc).
- NFQNL_CFG_CMD_PF_UNBIND: Unbinds from processing packets belonging to the given protocol family. Both commands are ignored by Linux kernel 3.8 and later versions.
Definition at line 166 of file nlmsg.c.
void nfq_nlmsg_cfg_put_params (struct nlmsghdr * nlh, uint8_t mode, int range)
nfq_nlmsg_cfg_put_params Add parameter to netlink message
Parameters
mode one of NFQNL_COPY_NONE, NFQNL_COPY_META or NFQNL_COPY_PACKET
range value of parameter
Definition at line 182 of file nlmsg.c.
void nfq_nlmsg_cfg_put_qmaxlen (struct nlmsghdr * nlh, uint32_t queue_maxlen)
nfq_nlmsg_cfg_put_qmaxlen Add queue maximum length to netlink message
Parameters
queue_maxlen Maximum queue length
Definition at line 197 of file nlmsg.c.
Author
Generated automatically by Doxygen for libnetfilter_queue from the source code.
| Wed Aug 9 2023 | Version 1.0.5 |