Searched refs:PaddedAddress (Results 1 – 4 of 4) sorted by relevance
/kernel/tests/net/test/ |
D | xfrm.py | 242 def PaddedAddress(addr): function 250 XFRM_ADDR_ANY = PaddedAddress("::") 267 return XfrmSelector(saddr=PaddedAddress(src), daddr=PaddedAddress(dst), 311 saddr = PaddedAddress(tun_addrs[0]) 312 daddr = PaddedAddress(tun_addrs[1]) 516 xfrm_id = XfrmId((PaddedAddress(dst), spi, proto)) 565 sa = XfrmUsersaInfo((selector, xfrm_id, PaddedAddress(src), NO_LIFETIME_CFG, 584 usersa_id = XfrmUsersaId((PaddedAddress(dst), spi, family, proto)) 608 spi.info.id.daddr = PaddedAddress(dst) 749 xfrmMigrate = XfrmMigrate((PaddedAddress(old_daddr), PaddedAddress(old_saddr), [all …]
|
D | pf_key_test.py | 68 self.assertEqual(xfrm.PaddedAddress("192.0.2.1"), state4.saddr) 69 self.assertEqual(xfrm.PaddedAddress("192.0.2.2"), state4.id.daddr) 70 self.assertEqual(xfrm.PaddedAddress("2001:db8::1"), state6.saddr) 71 self.assertEqual(xfrm.PaddedAddress("2001:db8::2"), state6.id.daddr)
|
D | sock_diag_test.py | 138 self.assertEqual(diag_msg.id.src, self.sock_diag.PaddedAddress(src)) 143 self.assertEqual(diag_msg.id.dst, self.sock_diag.PaddedAddress(dst)) 548 self.assertEqual(self.sock_diag.PaddedAddress(self.remotesockaddr), 550 self.assertEqual(self.sock_diag.PaddedAddress(self.mysockaddr),
|
D | sock_diag.py | 345 def PaddedAddress(addr): member in SockDiag 372 src = SockDiag.PaddedAddress(src) 373 dst = SockDiag.PaddedAddress(dst)
|