def extractDst(packet): ip = ipv4.extractDstIp(packet) port = extractDstPort(packet) return (ip, port)
def extractRequestedIp(packet): return ipv4.extractDstIp(packet)