Describe my work briefly

  • Merge the code by GSoC 2016.
  • Extend to support more netlink family protocols.

What is done

  • Fixed and merged the code of general netlink attribute decoder by GSoC 2016.
  • Fixed and merged the code of decoding NETLINK_ROUTE messages by GSoC 2016.
  • Fixed and merged the code of decoding NETLINK_SOCK_DIAG messages by GSoC 2016.
  • Implemented decoding of NETLINK_SOCK_DIAG netlink attributes.
  • Implemented decoding of netlink message ack flags.
  • Implemented decoding of nlmsgerr netlink attributes.
  • Implemented protocol specific decoding of NETLINK_SELINUX.
  • Implemented protocol specific decoding of NETLINK_CRYPTO.
  • Implemented basic decoding of NETLINK_KOBJECT_UEVENT.

TODO

  • Read the code, fix the bug. “Given enough eyeballs, all bugs are shallow”.
  • Extend to support more netlink family protocols.
  • Further decode some fields, such as cru_type, cru_mask and cru_flags.
  • Further decode NETLINK_KOBJECT_UEVENT. (libudev and kernel messages.)
  • Extend or redesign general netlink attribute decoder for decode attribute that depend on other attribute.

Others

Useful link: