packet requires cstruct >= 0.7.0 for type t and `of_string`