Home | History | Annotate | Download | only in racoon

Lines Matching refs:hdr

327 		reply->hdr.ac_cmd = combuf->hdr.ac_cmd;
328 reply->hdr.ac_len = sizeof(*reply);
330 switch(combuf->hdr.ac_cmd) {
357 reply->hdr.ac_errno = errno;
362 reply->hdr.ac_len = sizeof(*reply) + privkey->l;
363 reply = racoon_realloc(reply, reply->hdr.ac_len);
487 reply->hdr.ac_errno = errno;
492 reply->hdr.ac_len = sizeof(*reply) + psk->l;
493 reply = racoon_realloc(reply, reply->hdr.ac_len);
539 reply->hdr.ac_errno = EINVAL;
541 reply->hdr.ac_errno = errno;
561 reply->hdr.ac_errno = EINVAL;
563 reply->hdr.ac_errno = errno;
598 reply->hdr.ac_errno = EINVAL;
600 reply->hdr.ac_errno = errno;
643 reply->hdr.ac_errno = EINVAL;
645 reply->hdr.ac_errno = errno;
673 reply->hdr.ac_errno = 0;
683 combuf->hdr.ac_cmd);
690 reply, reply->hdr.ac_len) != 0)
720 msg->hdr.ac_cmd = PRIVSEP_EAY_GET_PKCS1PRIVKEY;
721 msg->hdr.ac_len = len;
731 if (msg->hdr.ac_errno != 0) {
732 errno = msg->hdr.ac_errno;
801 msg->hdr.ac_cmd = PRIVSEP_SCRIPT_EXEC;
802 msg->hdr.ac_len = sizeof(*msg);
832 msg->hdr.ac_len += msg->bufs.buflen[count++];
835 msg->hdr.ac_len += msg->bufs.buflen[count++];
839 msg->hdr.ac_len += msg->bufs.buflen[count++];
843 msg->hdr.ac_len += msg->bufs.buflen[count++];
845 if ((msg = racoon_realloc(msg, msg->hdr.ac_len)) == NULL) {
873 if (privsep_send(privsep_sock[1], msg, msg->hdr.ac_len) != 0)
879 if (msg->hdr.ac_errno != 0) {
880 errno = msg->hdr.ac_errno;
910 msg->hdr.ac_cmd = PRIVSEP_GETPSK;
911 msg->hdr.ac_len = len;
927 if (msg->hdr.ac_errno != 0) {
928 errno = msg->hdr.ac_errno;
964 msg->hdr.ac_cmd = PRIVSEP_XAUTH_LOGIN_SYSTEM;
965 msg->hdr.ac_len = len;
981 if (msg->hdr.ac_errno != 0) {
1018 msg->hdr.ac_cmd = PRIVSEP_ACCOUNTING_SYSTEM;
1019 msg->hdr.ac_len = len;
1043 if (msg->hdr.ac_errno != 0) {
1044 errno = msg->hdr.ac_errno;
1191 msg->hdr.ac_cmd = PRIVSEP_ACCOUNTING_PAM;
1192 msg->hdr.ac_len = len;
1211 if (msg->hdr.ac_errno != 0) {
1212 errno = msg->hdr.ac_errno;
1252 msg->hdr.ac_cmd = PRIVSEP_XAUTH_LOGIN_PAM;
1253 msg->hdr.ac_len = len;
1281 if (msg->hdr.ac_errno != 0) {
1282 errno = msg->hdr.ac_errno;
1316 msg->hdr.ac_cmd = PRIVSEP_CLEANUP_PAM;
1317 msg->hdr.ac_len = len;
1333 if (msg->hdr.ac_errno != 0)
1334 errno = msg->hdr.ac_errno;