I am trying to write a code to capture IP address of domain typed in mininet, such as:
h1 ping google.com
My PacketIN looks like: