Searched refs:getbuf (Results 1 - 1 of 1) sorted by relevance

/external/ipsec-tools/src/libipsec/
H A Dtest-policy.c158 char getbuf[1024]; local
185 memset(getbuf, 0, sizeof(getbuf));
186 memcpy(getbuf, policy, sizeof(struct sadb_x_policy));
187 if (getsockopt(so, proto, optname, getbuf, &len) < 0) {
200 if ((buf = ipsec_dump_policy(getbuf, NULL)) == NULL) {

Completed in 72 milliseconds