Home
last modified time | relevance | path

Searched refs:XFRM_MODE_TUNNEL (Results 1 – 4 of 4) sorted by relevance

/kernel/tests/net/test/
Dxfrm_test.py484 tun_local, tun_remote, 0xABCD, xfrm.XFRM_MODE_TUNNEL, 123,
489 tun_remote, tun_local, 0x9876, xfrm.XFRM_MODE_TUNNEL, 456,
711 self.xfrm.AddSaInfo(tunsrc, tundst, spi, xfrm.XFRM_MODE_TUNNEL, reqid,
722 packetlen = xfrm_base.GetEspPacketLength(xfrm.XFRM_MODE_TUNNEL, version,
763 xfrm.XFRM_MODE_TUNNEL, 100, xfrm_base._ALGO_CBC_AES_256,
793 spi, xfrm.XFRM_MODE_TUNNEL, 0,
842 length = xfrm_base.GetEspPacketLength(xfrm.XFRM_MODE_TUNNEL,
851 TEST_SPI, xfrm.XFRM_MODE_TUNNEL, 0,
862 TEST_SPI, xfrm.XFRM_MODE_TUNNEL, 0,
876 TEST_SPI, xfrm.XFRM_MODE_TUNNEL, 0,
Dxfrm.py107 XFRM_MODE_TUNNEL = 1 variable
302 mode = XFRM_MODE_TUNNEL
554 flags = XFRM_STATE_AF_UNSPEC if mode == XFRM_MODE_TUNNEL else 0
685 self.AddSaInfo(src, dst, spi, XFRM_MODE_TUNNEL, 0, encryption, auth_trunc,
Dxfrm_base.py126 if mode == xfrm.XFRM_MODE_TUNNEL:
Dxfrm_tunnel_test.py406 xfrm.XFRM_MODE_TUNNEL, 0, xfrm_base._ALGO_CRYPT_NULL,
411 xfrm.XFRM_MODE_TUNNEL, 0, xfrm_base._ALGO_CRYPT_NULL,
485 self.local, self.remote, new_out_sa.spi, xfrm.XFRM_MODE_TUNNEL, 0,
490 self.remote, self.local, new_in_sa.spi, xfrm.XFRM_MODE_TUNNEL, 0,