tsix_get_mac man page on IRIX

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



TSIX_GET_MAC(3N)					      TSIX_GET_MAC(3N)

NAME
     tsix_get_mac - get the MAC label of incoming data

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

     int tsix_get_mac(int fd, mac_t *lbl);

DESCRIPTION
     tsix_get_mac retrieves the MAC label associated with data incoming on fd,
     which must be associated with a socket.  If tsix_get_mac 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_mac.

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

RETURN VALUES
     tsix_get_mac returns 0 if successful, otherwise errno will be set and -1
     returned.

ERRORS
     [ENOTSOCK]	    Attempted a socket operation on a non-socket.

     [EFAULT]	    Invalid pointer address.

     [EINVAL]	    Invalid argument.

SEE ALSO
     sysconf(3c), tsix_set_mac(3c)

									Page 1

[top]

List of man pages available for IRIX

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