Lines Matching refs:sock_pfkey
205 msg = (struct sadb_msg *)pk_recv(lcconf->sock_pfkey, &len);
372 if (pfkey_send_flush(lcconf->sock_pfkey, satype) < 0) {
404 if ((lcconf->sock_pfkey = privsep_pfkey_open()) < 0) {
409 if (fcntl(lcconf->sock_pfkey, F_SETFL, O_NONBLOCK) == -1)
417 if (pfkey_send_register(lcconf->sock_pfkey,
419 pfkey_recv_register(lcconf->sock_pfkey) < 0) {
431 pfkey_close(lcconf->sock_pfkey);
437 if (pfkey_send_spddump(lcconf->sock_pfkey) < 0) {
441 pfkey_close(lcconf->sock_pfkey);
446 pfkey_close(lcconf->sock_pfkey);
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);