tcp(3) | Library Functions Manual | tcp(3) |
tcp - TCP helper functions
Internal TCP functions
struct tcphdr * nfq_tcp_get_hdr (struct pkt_buff *pktb)
void * nfq_tcp_get_payload (struct tcphdr *tcph, struct pkt_buff *pktb)
unsigned int nfq_tcp_get_payload_len (struct tcphdr *tcph, struct
pkt_buff *pktb)
int nfq_tcp_snprintf (char *buf, size_t size, const struct tcphdr
*tcph)
int nfq_tcp_mangle_ipv4 (struct pkt_buff *pktb, unsigned int
match_offset, unsigned int match_len, const char *rep_buffer, unsigned int
rep_len)
int nfq_tcp_mangle_ipv6 (struct pkt_buff *pktb, unsigned int
match_offset, unsigned int match_len, const char *rep_buffer, unsigned int
rep_len)
nfq_tcp_get_hdr - get the TCP header
Parameters
Returns
Note
Definition at line 43 of file tcp.c.
nfq_tcp_get_payload - get the TCP packet payload
Parameters
Returns
Definition at line 62 of file tcp.c.
nfq_tcp_get_payload_len - get the tcp packet payload
Parameters
Returns
Definition at line 84 of file tcp.c.
nfq_tcp_mangle_ipv4 - mangle TCP/IPv4 packet buffer
Parameters
Returns
Note
Warning
Definition at line 219 of file tcp.c.
nfq_tcp_mangle_ipv6 - Mangle TCP/IPv6 packet buffer
Parameters
Returns
Note
Warning
Definition at line 254 of file tcp.c.
nfq_pkt_snprintf_tcp_hdr - print tcp header into one buffer in a humnan readable way
Parameters
Returns
See also
Definition at line 160 of file tcp.c.
Generated automatically by Doxygen for libnetfilter_queue from the source code.
Version 1.0.5 | libnetfilter_queue |