Index Index for
Section 3
Index Alphabetical
listing for I
Bottom of page Bottom of
page

inet6_rth_segments(3)

NAME

inet6_rth_segments - Return the number of segments (addresses) in an IPv6 Routing header

SYNOPSIS

#include <netinet/ip6.h> int inet6_rth_segments( const void *bp );

LIBRARY

Standard C Library (libc)

PARAMETERS

bp Points to a buffer that contains an IPv6 Routing header.

DESCRIPTION

The inet6_rth_segments() function returns the number of segments (or addresses) in an IPv6 Routing header.

RETURN VALUES

Upon successful completion, the inet6_rth_segments() function returns the number of segments, 0 (zero) or greater than 0. Upon failure, it returns a -1.

SEE ALSO

Functions: inet6_rth_add(3), inet6_rth_getaddr(3), inet6_rth_init(3), inet6_rth_reverse(3), inet6_rth_space(3). Network Programmer's Guide

Index Index for
Section 3
Index Alphabetical
listing for I
Top of page Top of
page