def _read_opt_type(self, kind):
bin_ = bin(kind)[<NUM_LIT:2>:].zfill(<NUM_LIT:8>)<EOL>type_ = dict(<EOL>value=kind,<EOL>action=_HOPOPT_ACT.get(bin_[:<NUM_LIT:2>]),<EOL>change=True if int(bin_[<NUM_LIT:2>], base=<NUM_LIT:2>) else False,<EOL>)<EOL>return type_<EOL>
Read option type field.

        Positional arguments:
            * kind -- int, option kind value

        Returns:
            * dict -- extracted HOPOPT option

        Structure of option type field [RFC 791]:

            Octets      Bits        Name                    Descriptions
              0           0     hopopt.opt.type.value   Option Number
              0           0     hopopt.opt.type.action  Action (00-11)
              0           2     hopopt.opt.type.change  Change Flag (0/1)