.TH "udp_internals" 3 "Thu Jan 28 2021" "Version 1.0.5" "libnetfilter_queue" \" -*- nroff -*- .ad l .nh .SH NAME udp_internals \- Internal UDP functions .SH SYNOPSIS .br .PP .SS "Functions" .in +1c .ti -1c .RI "void \fBnfq_udp_compute_checksum_ipv4\fP (struct udphdr *udph, struct iphdr *iph)" .br .ti -1c .RI "void \fBnfq_udp_compute_checksum_ipv6\fP (struct udphdr *udph, 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_udp_compute_checksum_ipv4 (struct udphdr * udph, struct iphdr * iph)" nfq_udp_compute_checksum_ipv4 - sets up the UDP checksum in a UDP/IPv4 packet .PP \fBParameters\fP .RS 4 \fIudph\fP pointer to the UDP header .br \fIiph\fP pointer to the IPv4 header .RE .PP \fBNote\fP .RS 4 \fBnfq_udp_mangle_ipv4()\fP invokes this function\&. As long as developers always use \fBnfq_udp_mangle_ipv4\fP when changing the content of a UDP message, there is no need to call \fBnfq_udp_compute_checksum_ipv4\fP\&. .RE .PP .PP Definition at line 108 of file udp\&.c\&. .SS "void nfq_udp_compute_checksum_ipv6 (struct udphdr * udph, struct ip6_hdr * ip6h)" nfq_udp_compute_checksum_ipv6 - sets up the UDP checksum in a UDP/IPv6 packet .PP \fBParameters\fP .RS 4 \fIudph\fP pointer to the UDP header .br \fIip6h\fP pointer to the IPv6 header .RE .PP \fBNote\fP .RS 4 \fBnfq_udp_mangle_ipv6()\fP invokes this function\&. As long as developers always use \fBnfq_udp_mangle_ipv6\fP when changing the content of a UDP message, there is no need to call \fBnfq_udp_compute_checksum_ipv6\fP\&. .RE .PP .PP Definition at line 126 of file udp\&.c\&. .SH "Author" .PP Generated automatically by Doxygen for libnetfilter_queue from the source code\&.