Searched refs:combuf (Results 1 – 4 of 4) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | privsep.c | 108 struct admin_com *combuf; local 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; in privsep_init() local 295 if (privsep_recv(privsep_sock[0], &combuf, &len) != 0) in privsep_init() 299 if (len < sizeof(*combuf)) { in privsep_init() 305 data = (char *)(combuf + 1); in privsep_init() 306 totallen = sizeof(*combuf); in privsep_init() 309 data += combuf->bufs.buflen[i]; in privsep_init() [all …]
|
D | admin.c | 105 char *combuf = NULL; in admin_handler() local 134 if ((combuf = racoon_malloc(com.ac_len)) == 0) { in admin_handler() 141 while ((len = recv(so2, combuf, com.ac_len, 0)) < 0) { in admin_handler() 156 error = admin_process(so2, combuf); in admin_handler() 160 if (combuf) in admin_handler() 161 racoon_free(combuf); in admin_handler() 170 admin_process(so2, combuf) in admin_process() argument 172 char *combuf; 174 struct admin_com *com = (struct admin_com *)combuf; 503 admin_reply(so, combuf, buf) in admin_reply() argument [all …]
|
D | kmpstat.c | 121 com_send(combuf) in com_send() argument 122 vchar_t *combuf; in com_send() 126 if ((len = send(so, combuf->v, combuf->l, 0)) == -1) {
|
D | racoonctl.c | 259 vchar_t *combuf; local 301 combuf = get_combuf(ac, av); 302 if (!combuf) 306 racoon_hexdump(combuf, ((struct admin_com *)combuf)->ac_len); 310 if (com_send(combuf) != 0) 313 vfree(combuf); 315 if (com_recv(&combuf) != 0) 317 if (handle_recv(combuf) != 0) 320 vfree(combuf); 1549 handle_recv(combuf) in handle_recv() argument [all …]
|