support packet_out and packet_in, test works with ping