tsix_set_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_SET_MAC(3N)					      TSIX_SET_MAC(3N)

NAME
     tsix_set_mac - set the MAC label of outgoing data

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

     int tsix_set_mac(int fd, mac_t lbl);

DESCRIPTION
     tsix_set_mac sets the MAC label of all outgoing communication on fd,
     which must be associated with a socket, to the MAC label pointed to by
     lbl.

CAPABILITIES
     If _SC_CAP is in effect, a process calling this function must have
     CAP_NETWORK_MGT, CAP_MAC_UPGRADE, CAP_MAC_DOWNGRADE,
     CAP_MAC_RELABEL_OPEN, and CAP_MAC_MLD capabilities in the permitted
     vector of its capability set.

RETURN VALUES
     If _SC_IP_SECOPTS is not in effect, tsix_set_mac always returns success.

     tsix_set_mac returns 0 if successful, otherwise -1 is returned and the
     global error value errno is set with the appropriate error code.

ERRORS
     [EINVAL]	    Invalid argument.

     [ENOSYS]	    Function not implemented.

     [ENOMEM]	    Not enough space.

     [EFAULT]	    Invalid pointer address.

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

SEE ALSO
     sysconf(3c), tsix_get_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