Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Dadmin.c108 so2 = accept(lcconf->sock_admin, (struct sockaddr *)&from, &fromlen); in admin_handler()
565 lcconf->sock_admin = -1; in admin_init()
574 lcconf->sock_admin = socket(AF_UNIX, SOCK_STREAM, 0); in admin_init()
575 if (lcconf->sock_admin == -1) { in admin_init()
582 if (bind(lcconf->sock_admin, (struct sockaddr *)&sunaddr, in admin_init()
587 (void)close(lcconf->sock_admin); in admin_init()
596 (void)close(lcconf->sock_admin); in admin_init()
604 (void)close(lcconf->sock_admin); in admin_init()
608 if (listen(lcconf->sock_admin, 5) != 0) { in admin_init()
612 (void)close(lcconf->sock_admin); in admin_init()
[all …]
Dsession.c210 if ((lcconf->sock_admin != -1) && in session()
211 (FD_ISSET(lcconf->sock_admin, &rfds))) in session()
273 if (lcconf->sock_admin != -1) { in initfds()
274 if (lcconf->sock_admin >= FD_SETSIZE) { in initfds()
278 FD_SET(lcconf->sock_admin, &mask0); in initfds()
282 FD_SET(lcconf->sock_admin, &maskdying); in initfds()
284 nfds = (nfds > lcconf->sock_admin ? nfds : lcconf->sock_admin); in initfds()
Dlocalconf.h80 int sock_admin; member