.TH "tcp_internals" 3 "Mon Apr 11 2022" "Version 1.0.5" "libnetfilter_queue" \" -*- nroff -*- .ad l .nh .SH NAME tcp_internals \- Internal TCP functions .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "void \fBnfq_tcp_compute_checksum_ipv4\fP (struct tcphdr *tcph, struct iphdr *iph)" .br .ti -1c .RI "void \fBnfq_tcp_compute_checksum_ipv6\fP (struct tcphdr *tcph, struct ip6_hdr *ip6h)" .br .in -1c .SH "Detailed Description" .PP Most user-space programs will never need these\&. .SH "Function Documentation" .PP .SS "void nfq_tcp_compute_checksum_ipv4 (struct tcphdr * tcph, struct iphdr * iph)" nfq_tcp_compute_checksum_ipv4 - computes IPv4/TCP packet checksum .PP \fBParameters\fP .RS 4 \fItcph\fP pointer to the TCP header .br \fIiph\fP pointer to the IPv4 header .RE .PP \fBNote\fP .RS 4 \fBnfq_tcp_mangle_ipv4()\fP invokes this function\&. As long as developers always use \fBnfq_tcp_mangle_ipv4\fP when changing the content of a TCP message, there is no need to call \fBnfq_tcp_compute_checksum_ipv4\fP\&. .RE .PP .PP Definition at line 108 of file tcp\&.c\&. .SS "void nfq_tcp_compute_checksum_ipv6 (struct tcphdr * tcph, struct ip6_hdr * ip6h)" nfq_tcp_compute_checksum_ipv6 - computes IPv6/TCP packet checksum .PP \fBParameters\fP .RS 4 \fItcph\fP pointer to the TCP header .br \fIip6h\fP pointer to the IPv6 header .RE .PP \fBNote\fP .RS 4 \fBnfq_tcp_mangle_ipv6()\fP invokes this function\&. As long as developers always use \fBnfq_tcp_mangle_ipv6\fP when changing the content of a TCP message, there is no need to call \fBnfq_tcp_compute_checksum_ipv6\fP\&. .RE .PP .PP Definition at line 126 of file tcp\&.c\&. .SH "Author" .PP Generated automatically by Doxygen for libnetfilter_queue from the source code\&.