Searched refs:gen_spi (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/testing/selftests/net/ |
D | ipsec.c | 909 static inline uint32_t gen_spi(struct in_addr src) in gen_spi() function 1073 err = xfrm_state_add(xfrm_sock, (*seq)++, gen_spi(src), src, dst, desc); in xfrm_set() 1079 err = xfrm_state_add(xfrm_sock, (*seq)++, gen_spi(src), dst, src, desc); in xfrm_set() 1086 err = xfrm_state_check(xfrm_sock, (*seq)++, gen_spi(src), src, dst, desc); in xfrm_set() 1087 err |= xfrm_state_check(xfrm_sock, (*seq)++, gen_spi(src), dst, src, desc); in xfrm_set() 1156 if (xfrm_policy_add(xfrm_sock, (*seq)++, gen_spi(src), src, dst, in xfrm_prepare() 1162 if (xfrm_policy_add(xfrm_sock, (*seq)++, gen_spi(src), dst, src, in xfrm_prepare() 1260 if (xfrm_state_del(xfrm_sock, (*seq)++, gen_spi(src), src, dst, proto)) { in xfrm_delete() 1265 if (xfrm_state_del(xfrm_sock, (*seq)++, gen_spi(src), dst, src, proto)) { in xfrm_delete() 1451 if (xfrm_state_add(xfrm_sock, (*seq)++, gen_spi(src), src, dst, desc)) { in xfrm_expire_state() [all …]
|