Lines Matching refs:gen_spi
921 static inline uint32_t gen_spi(struct in_addr src) in gen_spi() function
1085 err = xfrm_state_add(xfrm_sock, (*seq)++, gen_spi(src), src, dst, desc); in xfrm_set()
1091 err = xfrm_state_add(xfrm_sock, (*seq)++, gen_spi(src), dst, src, desc); in xfrm_set()
1098 err = xfrm_state_check(xfrm_sock, (*seq)++, gen_spi(src), src, dst, desc); in xfrm_set()
1099 err |= xfrm_state_check(xfrm_sock, (*seq)++, gen_spi(src), dst, src, desc); in xfrm_set()
1168 if (xfrm_policy_add(xfrm_sock, (*seq)++, gen_spi(src), src, dst, in xfrm_prepare()
1174 if (xfrm_policy_add(xfrm_sock, (*seq)++, gen_spi(src), dst, src, in xfrm_prepare()
1272 if (xfrm_state_del(xfrm_sock, (*seq)++, gen_spi(src), src, dst, proto)) { in xfrm_delete()
1277 if (xfrm_state_del(xfrm_sock, (*seq)++, gen_spi(src), dst, src, proto)) { in xfrm_delete()
1463 if (xfrm_state_add(xfrm_sock, (*seq)++, gen_spi(src), src, dst, desc)) { in xfrm_expire_state()
1478 req.expire.state.id.spi = gen_spi(src); in xfrm_expire_state()
1537 if (xfrm_policy_add(xfrm_sock, (*seq)++, gen_spi(src), src, dst, in xfrm_expire_policy()