inet6_opt_set_val man page on OSF1

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

inet6_opt_set_val(3)					  inet6_opt_set_val(3)

NAME
       inet6_opt_set_val - Insert data items into the data portion of the IPv6
       option

SYNOPSIS
       #include <netinet/ip6.h>

       int inet6_opt_set_val(
	       void *databuf,
	       size_t offset,
	       void *val,
	       int vallen );

LIBRARY
       Standard C Library (libc)

PARAMETERS
       Points to a buffer that contains an extension header. This is a pointer
       returned	 by  a	call to inet6_opt_append().  Specifies the location in
       the data portion of the option into which to insert the data.  You  can
       access  the  first  byte after the option type and length by specifying
       the offset of 0 (zero).	Points to the data to be inserted.   Specifies
       the length of the data, in bytes, to be inserted.

DESCRIPTION
       The  inet6_opt_set_val() function copies data items at the location val
       into a data buffer databuf beginning at offset. In addition, it returns
       the  offset  for the next data field to assist you in composing content
       that has multiple fields.

       Make sure that each field is aligned on its natural boundaries.

RETURN VALUES
       Upon successful completion, the	inet6_opt_set_val()  function  returns
       the  offset  for	 the  next  field in the data buffer. Upon failure, it
       returns a -1.

SEE ALSO
       Functions: inet6_opt_append(3), inet6_opt_find(3), inet6_opt_finish(3),
       inet6_opt_get_val(3), inet6_opt_init(3), inet6_opt_next(3).

       Network Programmer's Guide

							  inet6_opt_set_val(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

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]
Tweet
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