Searched refs:satype (Results 1 – 2 of 2) sorted by relevance
/kernel/tests/net/test/ |
D | pf_key.py | 228 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,
|
D | pf_key_test.py | 58 self.assertTrue(all(msg.satype == pf_key.SDB_TYPE_ESP)
|