*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> inet6_rth_reverse (3)              
Title
Content
Arch
Section
 

inet6_rth_reverse(3)

Contents


NAME    [Toc]    [Back]

       inet6_rth_reverse  -  Reverse the order of addresses in an
       IPv6 Routing header

SYNOPSIS    [Toc]    [Back]

       #include <netinet/ip6.h>

       int inet6_rth_reverse(
               const void *in,
               void *out );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

PARAMETERS    [Toc]    [Back]

       Points to a buffer that contains an IPv6  Routing  header.
       Points  to  a buffer that is to contain the Routing header
       with the reversed addresses. This parameter can  point  to
       the same buffer specified by in.

DESCRIPTION    [Toc]    [Back]

       The  inet6_rth_reverse()  function  reads  an IPv6 Routing
       header and writes a  new  Routing  header,  reversing  the
       order  of  addresses  in  the  new  header. The in and out
       parameters can point to the same buffer.

       The  function  sets  the  ip60r_segleft  member   in   the
       ip6_rthdr0 structure to the number of segments (addresses)
       in the new header. The ip6_rthdr0 structure is defined  in
       netinet/ip6.h.

RETURN VALUES    [Toc]    [Back]

       Upon  successful completion, the inet6_rth_reverse() function
 returns 0 (zero). Upon failure, it returns a -1.

SEE ALSO    [Toc]    [Back]

      
      
       Functions:     inet6_rth_add(3),     inet6_rth_getaddr(3),
       inet6_rth_init(3),                  inet6_rth_segments(3),
       inet6_rth_space(3).

       Network Programmer's Guide



                                             inet6_rth_reverse(3)
[ Back ]
 Similar pages
Name OS Title
inet6_rth_segments Tru64 Return the number of segments (addresses) in an IPv6 Routing header
inet6_rthdr_segments FreeBSD IPv6 Routing Header Options manipulation
inet6_rth_add Tru64 Add an IPv6 address to the Routing header under construction
inet6_rth_init Tru64 Initialize an IPv6 Routing header buffer
inet6_rthdr_getaddr NetBSD IPv6 Routing Header Options manipulation
inet6_rthdr_space FreeBSD IPv6 Routing Header Options manipulation
inet6_rth_space FreeBSD IPv6 Routing Header Options manipulation
inet6_rthdr_getflags NetBSD IPv6 Routing Header Options manipulation
inet6_rth_add FreeBSD IPv6 Routing Header Options manipulation
inet6_rth_getaddr FreeBSD IPv6 Routing Header Options manipulation
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service