Add implementations of the inet6_opt* and inet6_rth* functions (RFC3542).
authorHasso Tepper <hasso@dragonflybsd.org>
Tue, 29 May 2007 10:58:11 +0000 (10:58 +0000)
committerHasso Tepper <hasso@dragonflybsd.org>
Tue, 29 May 2007 10:58:11 +0000 (10:58 +0000)
commit23ac31f21ef5ea98bcccb7289c834424c5cbb613
tree4e0e3afa4f45e753d641e8853dd56368b78c4752
parent33413c3e260aa6841fab56dfcda94989b1cfef1d
Add implementations of the inet6_opt* and inet6_rth* functions (RFC3542).

The patch brings in the part of the RFC3542 API we already have declared
in the sys/netinet6/in6.h, but implementations were missing which confuses
third party apps.

As IPv6 Routing Header Type 0 is already in the way to deprecation (see
draft-ietf-ipv6-deprecate-rh0-00.txt for details), handling of these is
removed from inet6_rth* functions.

Obtained-from: KAME
lib/libc/net/ip6opt.c
lib/libc/net/rthdr.c
sys/netinet6/in6.h