Lines Matching defs:msg
27 struct sk_buff *msg = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_ATOMIC);
30 if (!msg)
34 hdr = genlmsg_put(msg, 0, ieee802154_seq_num++,
38 nlmsg_free(msg);
42 return msg;
45 int ieee802154_nl_mcast(struct sk_buff *msg, unsigned int group)
47 struct nlmsghdr *nlh = nlmsg_hdr(msg);
50 genlmsg_end(msg, hdr);
52 return genlmsg_multicast(&nl802154_family, msg, 0, group, GFP_ATOMIC);
59 struct sk_buff *msg = nlmsg_new(NLMSG_DEFAULT_SIZE, GFP_ATOMIC);
61 if (!msg)
64 hdr = genlmsg_put_reply(msg, info,
67 nlmsg_free(msg);
71 return msg;
74 int ieee802154_nl_reply(struct sk_buff *msg, struct genl_info *info)
76 struct nlmsghdr *nlh = nlmsg_hdr(msg);
79 genlmsg_end(msg, hdr);
81 return genlmsg_reply(msg, info);