Lines Matching refs:sock_pfkey
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()
904 lcconf->sock_pfkey,
1046 sa_args.so = lcconf->sock_pfkey;
1333 sa_args.so = lcconf->sock_pfkey;
2194 lcconf->sock_pfkey,
2316 lcconf->sock_pfkey,
2434 lcconf->sock_pfkey,
2752 len = pfkey_send(lcconf->sock_pfkey, newmsg, len);