Searched defs:retbuf (Results 1 - 1 of 1) sorted by relevance

/external/ipsec-tools/src/racoon/
H A Dadmin.c509 char *retbuf = NULL; local
516 retbuf = racoon_calloc(1, tlen);
517 if (retbuf == NULL) {
523 memcpy(retbuf, combuf, sizeof(*combuf));
524 ((struct admin_com *)retbuf)->ac_len = tlen;
527 memcpy(retbuf + sizeof(*combuf), buf->v, buf->l);
529 tlen = send(so, retbuf, tlen, 0);
530 racoon_free(retbuf);

Completed in 61 milliseconds