/* Helper function to create a PIMFOR management frame header.  */
static void pimfor_encode_header(int operation, u32 oid, u32 length, pimfor_header_t *h)
/* Helper function to create a PIMFOR management frame header.  */
static void pimfor_encode_header(int operation, u32 oid, u32 length, pimfor_header_t *h)
{
	h->version = PIMFOR_VERSION;
	h->operation = operation;
	h->device_id = PIMFOR_DEV_ID_MHLI_MIB;
	h->flags = 0;
	h->oid = cpu_to_be32(oid);
	h->length = cpu_to_be32(length);
}