extract host MAC, IPv4 address, IPv6 address from packets