Home
last modified time | relevance | path

Searched refs:privsep_sock (Results 1 – 1 of 1) sorted by relevance

/external/ipsec-tools/src/racoon/
Dprivsep.c69 static int privsep_sock[2] = { -1, -1 }; variable
186 if (socketpair(PF_LOCAL, SOCK_DGRAM, 0, privsep_sock) != 0) { in privsep_init()
255 if (i == privsep_sock[0]) in privsep_init()
257 if (i == privsep_sock[1]) in privsep_init()
295 if (privsep_recv(privsep_sock[0], &combuf, &len) != 0) in privsep_init()
689 if (privsep_send(privsep_sock[0], in privsep_init()
725 if (privsep_send(privsep_sock[1], msg, len) != 0)
728 if (privsep_recv(privsep_sock[1], &msg, &len) != 0)
873 if (privsep_send(privsep_sock[1], msg, msg->hdr.ac_len) != 0)
876 if (privsep_recv(privsep_sock[1], &msg, &len) != 0)
[all …]