Lines Matching refs:dst
258 def SrcDstSelector(src, dst): argument
261 dstver = csocket.AddressVersion(dst)
264 (src, dst))
267 return XfrmSelector(saddr=PaddedAddress(src), daddr=PaddedAddress(dst),
493 def AddSaInfo(self, src, dst, spi, mode, reqid, encryption, auth_trunc, aead, argument
516 xfrm_id = XfrmId((PaddedAddress(dst), spi, proto))
517 family = AF_INET6 if ":" in dst else AF_INET
572 def DeleteSaInfo(self, dst, spi, proto, mark=None, xfrm_if_id=None): argument
583 family = AF_INET6 if ":" in dst else AF_INET
584 usersa_id = XfrmUsersaId((PaddedAddress(dst), spi, family, proto))
592 def AllocSpi(self, dst, proto, min_spi, max_spi): argument
608 spi.info.id.daddr = PaddedAddress(dst)
610 spi.info.family = AF_INET6 if ":" in dst else AF_INET
645 def CreateTunnel(self, direction, selector, src, dst, spi, encryption, argument
671 outer_family = net_test.GetAddressFamily(net_test.GetAddressVersion(dst))
693 self.AddSaInfo(src, dst, spi, XFRM_MODE_TUNNEL, 0, encryption, auth_trunc,
703 tmpl = UserTemplate(outer_family, tmpl_spi, 0, (src, dst))
706 def DeleteTunnel(self, direction, selector, dst, spi, mark, xfrm_if_id): argument
710 self.DeleteSaInfo(dst, spi, IPPROTO_ESP, mark, xfrm_if_id)