/* named_prepare_buf - allocate & initialize a publication message  */
static struct sk_buff* named_prepare_buf(u32 type, u32 size, u32 dest)
/* named_prepare_buf - allocate & initialize a publication message  */
static struct sk_buff* named_prepare_buf(u32 type, u32 size, u32 dest)
{
	struct sk_buff *buf = buf_acquire(LONG_H_SIZE + size);
	struct tipc_msg *msg;
	if (buf != NULL) {
		msg = buf_msg(buf);
		msg_init(msg, NAME_DISTRIBUTOR, type, LONG_H_SIZE, dest);
		msg_set_size(msg, LONG_H_SIZE + size);
	}
	return buf;
}