NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | RETURN VALUES | ERRORS | SEE ALSO
#include <netinet/in.h> #include <sys/tiuser.h> #include <sys/tsol/tndb.h>int tokmapper(int cmd, void *buf);
tokmapper() manipulates kernel token mapping caches. cmd is the operation to be performed. Currently, the only operation supported is MSIX_FLUSH, which flushes kernel token mappings for the specified MSIX host. For the MSIX_FLUSH operation, buf should point to a netbuf structure declared in <sys/tiuser.h>. The network address in the netbuf structure should be a sockaddr_in structure declared in <netinet/in.h>.
To make this call successfully, a process must have the PRIV_SYS_NET_CONFIG
privilege.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Availability | SUNWtsu |
buf points to an invalid address.
A field in the netbuf or sockaddr_in structure is invalid; or the operation specified in cmd is not supported.
The process has insufficient privilege to perform the operation. To make this call successfully, a process must have the PRIV_SYS_NET_CONFIG
privilege.
NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | RETURN VALUES | ERRORS | SEE ALSO