---
name: "nfq_ip_set_checksum"
section: "3"
platform: "linux"
package: "libnetfilter-queue-doc"
version: "1.0.5-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nfq_ip_set_checksum"
---

# nfq\_ip\_set\_checksum(3)

Internal IP functions

## NAME

ip\_internals - Internal IP functions

## SYNOPSIS

### Functions

void **nfq\_ip\_set\_checksum** (struct iphdr \*iph)\

## Detailed Description

Most user-space programs will never need these.

## Function Documentation

### void nfq\_ip\_set\_checksum (struct iphdr \* iph)

nfq\_ip\_set\_checksum - set IPv4 checksum

**Parameters**

*iph* Pointer to the IPv4 header

**Note**

**nfq\_ip\_mangle()** invokes this function. As long as developers always use the appropriate mangler for the layer being mangled, there is no need to call **nfq\_ip\_set\_checksum**.

Definition at line **102** of file **ipv4.c**.

## Author

Generated automatically by Doxygen for libnetfilter\_queue from the source code.
