xfrm6_tunnel_alloc_spi
__be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr);
t->id.spi = xfrm6_tunnel_alloc_spi(net, (xfrm_address_t *)&x->props.saddr);
EXPORT_SYMBOL(xfrm6_tunnel_alloc_spi);