Searched refs:xfrm_listen (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/tools/testing/selftests/net/ |
D | ipsec.c | 1375 int xfrm_listen = -1, ret = KSFT_FAIL; in xfrm_monitor_acquire() local 1378 if (netlink_sock_bind(&xfrm_listen, &seq_listen, NETLINK_XFRM, XFRMNLGRP_ACQUIRE)) in xfrm_monitor_acquire() 1416 if (recv(xfrm_listen, &req, sizeof(req), 0) < 0) { in xfrm_monitor_acquire() 1430 close(xfrm_listen); in xfrm_monitor_acquire() 1445 int xfrm_listen = -1, ret = KSFT_FAIL; in xfrm_expire_state() local 1456 if (netlink_sock_bind(&xfrm_listen, &seq_listen, NETLINK_XFRM, XFRMNLGRP_EXPIRE)) in xfrm_expire_state() 1490 if (recv(xfrm_listen, &req, sizeof(req), 0) < 0) { in xfrm_expire_state() 1502 close(xfrm_listen); in xfrm_expire_state() 1517 int xfrm_listen = -1, ret = KSFT_FAIL; in xfrm_expire_policy() local 1531 if (netlink_sock_bind(&xfrm_listen, &seq_listen, NETLINK_XFRM, XFRMNLGRP_EXPIRE)) in xfrm_expire_policy() [all …]
|