10 #include <linux/dlm.h>
35 data =
genlmsg_put(skb, 0, dlm_nl_seqnum++, &family, 0, cmd);
55 static int send_data(
struct sk_buff *skb)
58 void *data = genlmsg_data(genlhdr);
61 rv = genlmsg_end(skb, data);
67 return genlmsg_unicast(&
init_net, skb, listener_nlportid);
73 printk(
"user_cmd nlpid %u\n", listener_nlportid);
77 static struct genl_ops dlm_nl_ops = {
129 data = mk_data(send_skb);
131 nlmsg_free(send_skb);
135 fill_data(data, lkb);