MCPcopy Create free account
hub / github.com/secdev/scapy / destalias

Method destalias

scapy/fwdmachine.py:251–256  ·  view source on GitHub ↗

Alias a destination to another destination. A destination is the tuple (host, port)

(self, dest)

Source from the content-addressed store, hash-verified

249 print("S <=| : %s -> %s" % (req.summary(), rep.summary()))
250
251 def destalias(self, dest):
252 """
253 Alias a destination to another destination.
254 A destination is the tuple (host, port)
255 """
256 return dest
257
258 def _getpeersock(self, dest, server_hostname=None):
259 """

Callers 1

_getpeersockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected