* [EMAIL PROTECTED] <[EMAIL PROTECTED]> 2006-07-17 11:52 > + * NetLabel makes use of the Generic NETLINK mechanism as a transport layer > to > + * send messages between kernel and user space. The general format of a > + * NetLabel message is shown below: > + * > + * +-----------------+-------------------+--------- --- -- - > + * | struct nlmsghdr | struct genlmsghdr | payload > + * +-----------------+-------------------+--------- --- -- - > + * > + * The 'nlmsghdr' and 'genlmsghdr' structs should be dealt with like normal. > + * The payload is dependent on the subsystem specified in the > + * 'nlmsghdr->nlmsg_type' and should be defined below, supporting functions > + * should be defined in the corresponding net/netlabel/netlabel_<subsys>.h|c > + * file. All of the fields in the NetLabel payload should be aligned using > + * the alignment functions provided. > + * > + */ > + > +/* > + * NetLabel NETLINK protocol > + */ > +
Is there a reason for not using any of the existing netlink and genetlink interfaces in any of your patches? It's all duplicated code. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html