Trusted Solaris Developer's Guide

Get and Set Endpoint Attributes

The t6set_endpt_default(3NSL) routine sets the security attribute values in attr indicated by mask on the communication endpoint. The t6get_endpt_mask(3NSL) routine sets the endpoint mask only.

The t6get_endpt_default(3NSL) routine gets the security attribute values in attr indicated by mask from the communication endpoint. The t6get_endpt_mask(3NSL) routine gets the endpoint mask only.

int t6get_endpt_default(int fd,
	t6mask_t *mask,
	t6attr_t attr);

int t6set_endpt_mask(int fd,
	t6mask_t mask);

int t6set_endpt_default(int fd,
	t6mask_t mask,
	const t6attr_t attr_ptr);

int t6get_endpt_mask(int fd,
	t6mask_t *mask);