Searched refs:sock_admin (Results 1 – 3 of 3) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | admin.c | 108 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 …]
|
D | session.c | 210 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()
|
D | localconf.h | 80 int sock_admin; member
|