Home | History | Annotate | Download | only in racoon

Lines Matching full:combuf

108 	struct admin_com *combuf;
134 if ((combuf = (struct admin_com *)racoon_malloc(com.ac_len)) == NULL) {
141 while ((len = recvfrom(sock, (char *)combuf,
158 *bufp = (struct privsep_com_msg *)combuf;
287 struct privsep_com_msg *combuf;
295 if (privsep_recv(privsep_sock[0], &combuf, &len) != 0)
299 if (len < sizeof(*combuf)) {
305 data = (char *)(combuf + 1);
306 totallen = sizeof(*combuf);
309 data += combuf->bufs.buflen[i];
310 totallen += combuf->bufs.buflen[i];
327 reply->hdr.ac_cmd = combuf->hdr.ac_cmd;
330 switch(combuf->hdr.ac_cmd) {
343 if (safety_check(combuf, 0) != 0)
345 bufs[0][combuf->bufs.buflen[0] - 1] = '\0';
390 if (safety_check(combuf, 0) != 0)
392 bufs[0][combuf->bufs.buflen[0] - 1] = '\0';
398 if (combuf->bufs.buflen[count] == 0)
401 [combuf->bufs.buflen[count] - 1] = '\0';
433 if (combuf->bufs.buflen[count] != sizeof(name)) {
440 for (i = 0; combuf->bufs.buflen[count]; count++)
472 if (safety_check(combuf, 0) != 0)
474 bufs[0][combuf->bufs.buflen[0] - 1] = '\0';
476 if (combuf->bufs.buflen[1] != sizeof(keylen)) {
513 if (safety_check(combuf, 0) != 0)
515 if (safety_check(combuf, 1) != 0)
517 if (safety_check(combuf, 2) != 0)
519 if (safety_check(combuf, 3) != 0)
525 bufs[2][combuf->bufs.buflen[2] - 1] = '\0';
546 if (safety_check(combuf, 0) != 0)
548 bufs[0][combuf->bufs.buflen[0] - 1] = '\0';
550 if (safety_check(combuf, 1) != 0)
552 bufs[1][combuf->bufs.buflen[1] - 1] = '\0';
573 if (safety_check(combuf, 0) != 0)
575 if (safety_check(combuf, 1) != 0)
577 if (safety_check(combuf, 2) != 0)
610 if (safety_check(combuf, 0) != 0)
612 if (safety_check(combuf, 1) != 0)
614 if (safety_check(combuf, 2) != 0)
616 if (safety_check(combuf, 3) != 0)
618 if (safety_check(combuf, 4) != 0)
625 bufs[3][combuf->bufs.buflen[3] - 1] = '\0';
626 bufs[4][combuf->bufs.buflen[4] - 1] = '\0';
654 if (safety_check(combuf, 0) != 0)
656 if (safety_check(combuf, 1) != 0)
683 combuf->hdr.ac_cmd);
693 racoon_free(combuf);