Home
last modified time | relevance | path

Searched refs:satype (Results 1 – 2 of 2) sorted by relevance

/kernel/tests/net/test/
Dpf_key.py228 def MakeSadbMsg(self, msgtype, satype): argument
230 return SadbMsg((PF_KEY_V2, msgtype, 0, satype, 0, 0, 0, 0))
239 def AddSa(self, src, dst, spi, satype, mode, reqid, encryption, argument
242 msg = self.MakeSadbMsg(SADB_ADD, satype)
256 def DelSa(self, src, dst, spi, satype): argument
258 msg = self.MakeSadbMsg(SADB_DELETE, satype)
270 satype = _GetConstantName(msg.satype, "SADB_TYPE_")
273 msg.version, msgtype, msg.errno, satype, msg.len,
Dpf_key_test.py58 self.assertTrue(all(msg.satype == pf_key.SDB_TYPE_ESP)