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

  man pages->IRIX man pages -> tsix_get_solabel (3n)              
Title
Content
Arch
Section
 

Contents


TSIX_GET_SOLABEL(3N)					  TSIX_GET_SOLABEL(3N)


NAME    [Toc]    [Back]

     tsix_get_solabel -	get the	MAC label of a socket

SYNOPSIS    [Toc]    [Back]

     #include <sys/mac.h>
     #include <t6net.h>

     int tsix_get_solabel(int fd, mac_t	*lbl);

DESCRIPTION    [Toc]    [Back]

     tsix_get_solabel retrieves	the MAC	label of an Internet-domain socket
     represented by fd.	 If tsix_get_solabel is	successful, that MAC label
     will be pointed to	by lbl.

     The caller	should call mac_free on	the mac_t argument lbl,	which was
     passed to tsix_get_solabel.

     If	_SC_IP_SECOPTS is not in effect, tsix_get_solabel always returns
     success.

RETURN VALUES    [Toc]    [Back]

     tsix_get_solabel returns 0	if successful, otherwise errno will be set and
     -1	returned.

ERRORS    [Toc]    [Back]

     [EINVAL]	    Invalid argument.

     [ENOSYS]	    Function not implemented.

SEE ALSO    [Toc]    [Back]

      
      
     sysconf(3c), tsix_set_solabel(3c)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
mac_get_fd FreeBSD get the label of a file, socket, socket peer or process
mac_get_proc FreeBSD get the label of a file, socket, socket peer or process
mac_get_pid FreeBSD get the label of a file, socket, socket peer or process
mac_get_file FreeBSD get the label of a file, socket, socket peer or process
mac_get FreeBSD get the label of a file, socket, socket peer or process
tsix_set_solabel IRIX set the MAC label of a socket
tsix_recvfrom_mac IRIX receive a message and a MAC label from a socket
getsockname IRIX get socket name
BIO_s_socket NetBSD socket BIO
getsockname IRIX get socket name
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service