---
name: "inet6_rthdr_add"
section: "3"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/inet6_rthdr_add"
---

# inet6\_rthdr\_add(3)

IPv6 Routing Header Options Manipulation

## NAME

**inet6\_rthdr\_space**, **inet6\_rthdr\_init**, **inet6\_rthdr\_add**, **inet6\_rthdr\_lasthop**, **inet6\_rthdr\_reverse**, **inet6\_rthdr\_segments**, **inet6\_rthdr\_getaddr**, **inet6\_rthdr\_getflags** – IPv6 Routing Header Options Manipulation

## DESCRIPTION

The RFC 2292 IPv6 Advanced API has been deprecated in favor of the newer, RFC 3542 APIs documented in [inet6\_rth\_space(3)](/inet6_rth_space/3.md). On platforms that support it, currently only FreeBSD, please use the newer API to manipulate routing header options.

## SEE ALSO

[inet6\_rth\_space(3)](/inet6_rth_space/3.md)
