dmi_mgmt_nhi_usb_v2
Synopsis
#include <opendmi/entity/mgmt-controller.h>
typedef struct dmi_mgmt_nhi_usb_v2 {
uint16_t vendor_id;
uint16_t product_id;
const char *serial_number;
dmi_binary_t mac_address;
uint16_t characteristics;
dmi_handle_t credential_bootstrapping_handle;
} dmi_mgmt_nhi_usb_v2_t;
Description
The dmi_mgmt_nhi_usb_v2_t structure holds the second version of the
descriptor of a USB network interface (device type 0x04) through which the host
reaches the management controller. It is the type of the usb_v2 field of
dmi_mgmt_nhi_t, which is valid when the format of it is
DMI_MGMT_NHI_FORMAT_USB_V2.
Fields
vendor_id-
Vendor ID of the device, as its USB device descriptor gives it (
idVendor). product_id-
Product ID of the device, as its USB device descriptor gives it (
idProduct). serial_number-
Serial number of the device, one of the strings of the SMBIOS structure, or
nullptrif the descriptor refers to none. mac_address-
MAC address of the device, six bytes referring to the data of the structure in place.
characteristics-
Device characteristics, a set of the bits
dmi_mgmt_nhi_charnumbers. Zero if the descriptor is too short to hold them, as the descriptors older than DSP0270 1.3 are. credential_bootstrapping_handle-
Handle of the interface to be used for credential bootstrapping via IPMI commands.
DMI_HANDLE_INVALIDif bootstrapping is not supported, or if the descriptor is too short to hold the handle, as the descriptors older than DSP0270 1.3 are.