Get last packet method.