tsix_sendto_mac(3N)
tsix_sendto_mac - send a message with a specified MAC label
As shipped in IRIX 6.5.7. Last changed in IRIX 6.5.5.
NAME tsix_sendto_mac - send a message with a specified MAC label SYNOPSIS #include <sys/mac.h> #include <t6net.h> int tsix_sendto_mac(int fd, const void *msg, int len, int flags, void *to, int tolen, mac_t lbl); DESCRIPTION tsix_sendto_mac transmits a message to another socket, temporarily overriding the default MAC label associated with that message with the MAC label pointed to by lbl . tsix_sendto_mac is otherwise identical to sendto(2). If _SC_CAP is in effect, a process calling this function must have CAP_MAC_UPGRADE , CAP_MAC_DOWNGRADE , CAP_MAC_RELABEL_OPEN , and CAP_MAC_MLD capabilities in the permitted vector of its capability set. If _SC_IP_SECOPTS is not in effect, tsix_sendto_mac always returns success. RETURN VALUES tsix_sendto_mac returns the number of bytes sent, or -1 if an error occurred. SEE ALSO sendto(2), sysconf(3c), tsix_recvfrom_mac(3c), t6sendto(3n)