Added APIs get the tcp dump and network state