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

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

Contents


TSIX_RECVFROM_MAC(3N)					 TSIX_RECVFROM_MAC(3N)


NAME    [Toc]    [Back]

     tsix_recvfrom_mac - receive a message and a MAC label from	a socket

SYNOPSIS    [Toc]    [Back]

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

     int tsix_recvfrom_mac(int fd, void	*buf, int len, int flags,
			   void	*from, int *fromlen, mac_t *lbl);

DESCRIPTION    [Toc]    [Back]

     tsix_recvfrom_mac receives	a message from a socket, additionally
     returning the MAC label associated	with the data just received.
     tsix_recvfrom_mac is otherwise identical to recvfrom(2).  If
     tsix_recvfrom_mac is successful, that MAC label will be pointed to	by
     lbl.

RETURN VALUES    [Toc]    [Back]

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

     tsix_recvfrom_mac returns the number of bytes received, otherwise -1 and
     the global	error value errno is assigned the appropriate error code.

ERRORS    [Toc]    [Back]

     [EINVAL]	    Invalid argument.

     [ENOSYS]	    Function not implemented.

     [EBADF]	    Bad	file number.

     [ENOTSOCK]	    Attempted a	socket operation o a non-socket.

     [EWOULDBLOCK]  Operation would block.

     [EINTR]	    Interrupted	function call.

     [EFAULT]	    Invalid pointer address.

     [EIO]	    I/O	Error.

     [ENOMEM]	    Not	enough space.

     [ENOSR]	    Out	of streams resources.

     [ESTALE]	    Stale NFS file handle.

SEE ALSO    [Toc]    [Back]

      
      
     recvfrom(2), sysconf(3c), tsix_sendto_mac(3c), t6recvfrom(3n)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
recv HP-UX receive a message from a socket
recvmsg FreeBSD receive a message from a socket
recv IRIX receive a message from a socket
recv OpenBSD receive a message from a socket
recvfrom OpenBSD receive a message from a socket
recv IRIX receive a message from a socket
recv FreeBSD receive a message from a socket
recvfrom FreeBSD receive a message from a socket
recvmsg NetBSD receive a message from a socket
recvfrom HP-UX receive a message from a socket
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service