Part of #43927. There are exactly three legal values for the Packet.dirs field; server-to-client (down) only, client-to-server (up) only, and unrestricted ~> make it an enum with three constants. If we make it appropriately (frozen)set-valued, we also get conversion from a set of "sc" and "cs" packet flags for free.
Part of #43927. There are exactly three legal values for the Packet.dirs field; server-to-client (down) only, client-to-server (up) only, and unrestricted ~> make it an enum with three constants. If we make it appropriately (frozen)set-valued, we also get conversion from a set of "sc" and "cs" packet flags for free.