/* @msg: Pointer to a message created with wimax_msg_alloc()  */
const void* wimax_msg_data(struct sk_buff *msg)
/* @msg: Pointer to a message created with wimax_msg_alloc()  */
const void* wimax_msg_data(struct sk_buff *msg)
{
	struct nlmsghdr *nlh = (void *) msg->head;
	struct nlattr *nla;
	nla = nlmsg_find_attr(nlh, sizeof(struct genlmsghdr),
			      WIMAX_GNL_MSG_DATA);
	if (nla == NULL) {
		printk(KERN_ERR "Cannot find attribute WIMAX_GNL_MSG_DATA\n");
		return NULL;
	}
	return nla_data(nla);
}