Searched refs:sock_pfkey (Results 1 – 6 of 6) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | session.c | 222 if (FD_ISSET(lcconf->sock_pfkey, &rfds)) in session() 287 if (lcconf->sock_pfkey >= FD_SETSIZE) { in initfds() 291 FD_SET(lcconf->sock_pfkey, &mask0); in initfds() 292 FD_SET(lcconf->sock_pfkey, &maskdying); in initfds() 293 nfds = (nfds > lcconf->sock_pfkey ? nfds : lcconf->sock_pfkey); in initfds() 455 pfkey_send_flush(lcconf->sock_pfkey, in check_sigreq() 586 pfkey_close(lcconf->sock_pfkey); in close_sockets()
|
D | pfkey.c | 205 msg = (struct sadb_msg *)pk_recv(lcconf->sock_pfkey, &len); in pfkey_handler() 372 if (pfkey_send_flush(lcconf->sock_pfkey, satype) < 0) { 404 if ((lcconf->sock_pfkey = privsep_pfkey_open()) < 0) { in pfkey_init() 409 if (fcntl(lcconf->sock_pfkey, F_SETFL, O_NONBLOCK) == -1) in pfkey_init() 417 if (pfkey_send_register(lcconf->sock_pfkey, in pfkey_init() 419 pfkey_recv_register(lcconf->sock_pfkey) < 0) { in pfkey_init() 431 pfkey_close(lcconf->sock_pfkey); in pfkey_init() 437 if (pfkey_send_spddump(lcconf->sock_pfkey) < 0) { in pfkey_init() 441 pfkey_close(lcconf->sock_pfkey); in pfkey_init() 446 pfkey_close(lcconf->sock_pfkey); in pfkey_init() [all …]
|
D | localconf.h | 81 int sock_pfkey; member
|
D | isakmp_inf.c | 1244 pfkey_send_delete(lcconf->sock_pfkey, 1317 if (pfkey_send_delete_all(lcconf->sock_pfkey, 1332 if (pfkey_send_delete_all(lcconf->sock_pfkey, 1455 pfkey_send_delete(lcconf->sock_pfkey,
|
D | isakmp.c | 3311 pfkey_send_delete(lcconf->sock_pfkey,
|
/external/ipsec-tools/ |
D | setup.c | 436 monitor_fd(localconf.sock_pfkey, (void *)pfkey_handler); in setup() 707 pfkey_close(localconf.sock_pfkey); in shutdown_session()
|