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

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

inet6_rth_getaddr(3)

Contents


NAME    [Toc]    [Back]

       inet6_rth_getaddr  - Retrieve an address for an index from
       an IPv6 Routing header

SYNOPSIS    [Toc]    [Back]

       #include <netinet/ip6.h>

       struct in6_addr *inet6_rth_getaddr(
               const void *bp,
               int index );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

PARAMETERS    [Toc]    [Back]

       Points to a buffer that contains an IPv6  Routing  header.
       Specifies  a value that identifies a position in a Routing
       header for a specific address. Valid values range  from  0
       to the return value from inet6_rth_segments() minus 1.

DESCRIPTION    [Toc]    [Back]

       The  inet6_rth_getaddr()  function  uses a specified index
       value and retrieves a pointer to an address in  a  Routing
       header  specified  by bp. Call inet6_rth_segments() before
       calling this function in order to determine the number  of
       segments (addresses) in the Routing header.

RETURN VALUES    [Toc]    [Back]

       Upon  successful completion, the inet6_rth_getaddr() function
 returns a pointer to an  address.  Upon  failure,  it
       returns a NULL pointer.

SEE ALSO    [Toc]    [Back]

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

       Network Programmer's Guide



                                             inet6_rth_getaddr(3)
[ Back ]
 Similar pages
Name OS Title
inet6_rth_add Tru64 Add an IPv6 address to the Routing header under construction
inet6_rthdr_getaddr FreeBSD IPv6 Routing Header Options manipulation
inet6_rthdr_init FreeBSD IPv6 Routing Header Options manipulation
inet6_rthdr_init NetBSD IPv6 Routing Header Options manipulation
inet6_rth_space FreeBSD IPv6 Routing Header Options manipulation
inet6_rth_add FreeBSD IPv6 Routing Header Options manipulation
inet6_rth_getaddr FreeBSD IPv6 Routing Header Options manipulation
inet6_rth_init FreeBSD IPv6 Routing Header Options manipulation
inet6_rth_reverse FreeBSD IPv6 Routing Header Options manipulation
inet6_rthdr_add OpenBSD IPv6 Routing Header Options manipulation
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service