question about version of generic netlink header

Kevin Wilson wkevils at gmail.com
Sun Sep 8 07:08:35 EDT 2013


Hello, libnl developers,


I have this question about version of generic netlink header, if I may:

we have this definition in the libnl linux/genetlink.h header, and
also in the kernel in include/uapi/linux/genetlink.h:


struct genlmsghdr {

   __u8    cmd;
   __u8    version;
  __u16    reserved;

};

My question is about the version: what is it for ? it seems to me that
it is always 1; is it indeed so ? are there cases when it is not 1 ?


regards,
Kevin



More information about the libnl mailing list