satmp_init_reply(2) satmp_init_reply(2)
satmp_init_reply - send SATMP_INIT_REPLY message to the kernel
#include <sys/t6satmp.h>
int satmp_init_reply (int fd, u_int addr, int flag, u_int generation);
satmp_init_reply sends a SATMP_INIT_REPLY message to the kernel. fd is a
file descriptor that references the token-mapping daemon's socket. addr
is the address of the hostid sending the message. flag indicates success
or failure. It's valid values are IRQ_FLAG_OK and IRQ_FLAG_FAILED .
generation is the generation of the remote token-mapping database.
satmp_init_reply will fail if one or more of the following are true:
[ENOPKG] Trusted Networking is not configured on this system.
[EPERM] fd doesn't refer to the token-mapping socket.
[EINVAL] The value of flags is not IRQ_FLAG_OK or IRQ_FLAG_FAILED .
satmp_init_reply returns 0 if successful. A return value of -1 indicates
an error and errno is set to indicate the error.
satmp_done(2), satmp_get_attr_reply(2), satmp_get_lrtok_reply(2),
satmp_init(2), satmp(7).
Silicon Graphics, Inc.
PPPPaaaaggggeeee 1111 [ Back ]
|