solve packet