Exemple #1
0
def extractDst(packet):
    ip = ipv4.extractDstIp(packet)
    port = extractDstPort(packet)
    return (ip, port)
Exemple #2
0
def extractRequestedIp(packet):
    return ipv4.extractDstIp(packet)