tsix_recvfrom_mac(3N)

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

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     tsix_recvfrom_mac - recieve a message and a MAC label from a socket

SYNOPSIS
     #include <sys/mac.h>
     #include <sys/tsix_api.h>

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

DESCRIPTION
     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
     .

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

RETURN VALUES
     tsix_recvfrom_mac returns the number of bytes received, or -1 if an error
     occurred.

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