Searched refs:xfrm6_tn (Results 1 – 1 of 1) sorted by relevance
76 struct xfrm6_tunnel_net *xfrm6_tn = xfrm6_tunnel_pernet(net); in __xfrm6_tunnel_spi_lookup() local80 &xfrm6_tn->spi_byaddr[xfrm6_tunnel_spi_hash_byaddr(saddr)], in __xfrm6_tunnel_spi_lookup()104 struct xfrm6_tunnel_net *xfrm6_tn = xfrm6_tunnel_pernet(net); in __xfrm6_tunnel_spi_check() local109 &xfrm6_tn->spi_byspi[index], in __xfrm6_tunnel_spi_check()119 struct xfrm6_tunnel_net *xfrm6_tn = xfrm6_tunnel_pernet(net); in __xfrm6_tunnel_alloc_spi() local124 if (xfrm6_tn->spi < XFRM6_TUNNEL_SPI_MIN || in __xfrm6_tunnel_alloc_spi()125 xfrm6_tn->spi >= XFRM6_TUNNEL_SPI_MAX) in __xfrm6_tunnel_alloc_spi()126 xfrm6_tn->spi = XFRM6_TUNNEL_SPI_MIN; in __xfrm6_tunnel_alloc_spi()128 xfrm6_tn->spi++; in __xfrm6_tunnel_alloc_spi()130 for (spi = xfrm6_tn->spi; spi <= XFRM6_TUNNEL_SPI_MAX; spi++) { in __xfrm6_tunnel_alloc_spi()[all …]