tsix_get_solabel(3N)
tsix_get_solabel - get the MAC label of a socket
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME tsix_get_solabel - get the MAC label of a socket SYNOPSIS #include <sys/mac.h> #include <sys/tsix_api.h> int tsix_get_solabel(int fd, mac_t *lbl); DESCRIPTION tsix_get_solabel retrieves the MAC label of an Internet-domain socket represented by fd . If tsix_get_solabel is successful, that MAC label will be pointed to by lbl . If _SC_IP_SECOPTS is not in effect, tsix_get_solabel always returns success. RETURN VALUES tsix_get_solabel returns 0 if successful, -1 otherwise. SEE ALSO sysconf(3c), tsix_set_solabel(3c)