Home
last modified time | relevance | path

Searched refs:spi (Results 1 – 6 of 6) sorted by relevance

/kernel/tests/net/test/
Dxfrm.py292 def UserTemplate(family, spi, reqid, tun_addrs): argument
315 xfrmid = XfrmId(daddr=daddr, spi=spi, proto=IPPROTO_ESP)
493 def AddSaInfo(self, src, dst, spi, mode, reqid, encryption, auth_trunc, aead, argument
516 xfrm_id = XfrmId((PaddedAddress(dst), spi, proto))
572 def DeleteSaInfo(self, dst, spi, proto, mark=None, xfrm_if_id=None): argument
584 usersa_id = XfrmUsersaId((PaddedAddress(dst), spi, family, proto))
605 spi = XfrmUserSpiInfo("\x00" * len(XfrmUserSpiInfo))
606 spi.min = min_spi
607 spi.max = max_spi
608 spi.info.id.daddr = PaddedAddress(dst)
[all …]
Dxfrm_test.py55 def assertIsUdpEncapEsp(self, packet, spi, seq, length): argument
63 self.assertEqual(xfrm.EspHdr((spi, seq)), esp_hdr)
65 def CreateNewSa(self, localAddr, remoteAddr, spi, reqId, encap_tmpl, argument
69 self.xfrm.AddSaInfo(localAddr, remoteAddr, spi, xfrm.XFRM_MODE_TRANSPORT,
401 spi = 0xABCD
402 new_sa = self.xfrm.AllocSpi("::", IPPROTO_ESP, spi, spi)
403 self.assertEqual(spi, new_sa.id.spi)
407 spi = 0xABCD
408 new_sa = self.xfrm.AllocSpi("::", IPPROTO_ESP, spi, spi)
409 self.assertEqual(spi, new_sa.id.spi)
[all …]
Dpf_key.py239 def AddSa(self, src, dst, spi, satype, mode, reqid, encryption, argument
245 (SADB_EXT_SA, SadbSa((htonl(spi), replay, SADB_SASTATE_MATURE,
256 def DelSa(self, src, dst, spi, satype): argument
260 (SADB_EXT_SA, SadbSa((htonl(spi), 4, SADB_SASTATE_MATURE,
284 sa.spi, sa.replay, state, auth, encrypt, sa.flags))
Dxfrm_algorithm_test.py109 spi=xfrm_test.TEST_SPI,
255 spi=spi_right,
268 spi=spi_right,
281 spi=spi_left,
294 spi=spi_left,
Dpf_key_test.py65 self.assertEqual(0xdeadbeef, state4.id.spi)
66 self.assertEqual(0xbeefdead, state6.id.spi)
/kernel/prebuilts/4.19/arm64/
Dabi_symbol_list2451 # required by citadel-spi.ko
3758 # required by snd-soc-rt5514-spi.ko
3776 # required by spi-geni-qcom.ko