linux/drivers/net/ethernet/cisco/enic/vnic_vic.h

/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright 2010 Cisco Systems, Inc.  All rights reserved. */

#ifndef _VNIC_VIC_H_
#define _VNIC_VIC_H_

/* Note: All integer fields in NETWORK byte order */

/* Note: String field lengths include null char */

#define VIC_PROVINFO_CISCO_OUI
#define VIC_PROVINFO_GENERIC_TYPE

enum vic_generic_prov_tlv_type {};

enum vic_generic_prov_os_type {};

struct vic_provinfo {} __packed;

#define VIC_PROVINFO_ADD_TLV(vp, tlvtype, tlvlen, data)

#define VIC_PROVINFO_MAX_DATA
#define VIC_PROVINFO_MAX_TLV_DATA

struct vic_provinfo *vic_provinfo_alloc(gfp_t flags, const u8 *oui,
	const u8 type);
void vic_provinfo_free(struct vic_provinfo *vp);
int vic_provinfo_add_tlv(struct vic_provinfo *vp, u16 type, u16 length,
	const void *value);
size_t vic_provinfo_size(struct vic_provinfo *vp);

#endif	/* _VNIC_VIC_H_ */