.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "IPV6_REARRANGE_RTHDR" "9" "09 October 2005" "" ""
.SH NAME
ipv6_rearrange_rthdr \- rearrange IPv6 routing header
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void ipv6_rearrange_rthdr (struct ipv6hdr * \fIiph\fB, struct ipv6_rt_hdr * \fIrthdr\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIiph\fB\fR
IPv6 header
.TP
\fB\fIrthdr\fB\fR
routing header
.SH "DESCRIPTION"
.PP
Rearrange the destination address in \fIiph\fR and the addresses in \fIrthdr\fR
so that they appear in the order they will at the final destination.
See Appendix A2 of RFC 2402 for details.