inet6_opt_init man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

inet6_opt_init(3)					     inet6_opt_init(3)

       inet6_opt_init  - Return the length of an IPv6 extension header with no
       options and initialize the header

       #include <netinet/ip6.h>

       int inet6_opt_init(
	       void *extbuf,
	       size_t extlen );

       Standard C Library (libc)

       Points to a buffer that contains an extension header. This is either  a
       valid pointer or a NULL pointer.	 Specifies the length of the extension
       header to initialize. Valid values are 0 and any number that is a  mul‐
       tiple of 8.

       The inet6_opt_init() function when called with extbuf as a NULL pointer
       and extlen as 0, returns the number of bytes  in	 an  extension	header
       that has no options.

       If you specify extbuf as a valid pointer and extlen as a number that is
       a multiple of 8, the function returns the same information  as  in  the
       previous	 case,	initializes  the extension header, and sets the length

       Upon successful completion, the inet6_opt_init() function  returns  the
       number  of bytes in an extension header with no options.	 Upon failure,
       it returns a -1.

       Functions: inet6_opt_append(3), inet6_opt_find(3), inet6_opt_finish(3),
       inet6_opt_get_val(3), inet6_opt_next(3), inet6_opt_set_val(3).

       Network Programmer's Guide


List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net