Make packet argument deterministic