D | ipsec.c | 929 static int xfrm_state_add(int xfrm_sock, uint32_t seq, uint32_t spi, in xfrm_state_add() argument 955 req.info.id.spi = spi; in xfrm_state_add() 980 static bool xfrm_usersa_found(struct xfrm_usersa_info *info, uint32_t spi, in xfrm_usersa_found() argument 995 if (info->id.spi != spi || info->id.proto != desc->proto) in xfrm_usersa_found() 1018 static int xfrm_state_check(int xfrm_sock, uint32_t seq, uint32_t spi, in xfrm_state_check() argument 1075 if (xfrm_usersa_found(&answer.info, spi, src, dst, desc)) in xfrm_state_check() 1111 static int xfrm_policy_add(int xfrm_sock, uint32_t seq, uint32_t spi, in xfrm_policy_add() argument 1147 tmpl.id.spi = spi; in xfrm_policy_add() 1237 static int xfrm_state_del(int xfrm_sock, uint32_t seq, uint32_t spi, in xfrm_state_del() argument 1257 req.id.spi = spi; in xfrm_state_del() [all …]
|