Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/netvsc/if_hnreg.h
Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Lines | |||||
struct hn_nvs_ndis_init { | struct hn_nvs_ndis_init { | ||||
uint32_t nvs_type; /* HN_NVS_TYPE_NDIS_INIT */ | uint32_t nvs_type; /* HN_NVS_TYPE_NDIS_INIT */ | ||||
uint32_t nvs_ndis_major; /* NDIS_VERSION_MAJOR_ */ | uint32_t nvs_ndis_major; /* NDIS_VERSION_MAJOR_ */ | ||||
uint32_t nvs_ndis_minor; /* NDIS_VERSION_MINOR_ */ | uint32_t nvs_ndis_minor; /* NDIS_VERSION_MINOR_ */ | ||||
uint8_t nvs_rsvd[20]; | uint8_t nvs_rsvd[20]; | ||||
} __packed; | } __packed; | ||||
CTASSERT(sizeof(struct hn_nvs_ndis_init) >= HN_NVS_REQSIZE_MIN); | CTASSERT(sizeof(struct hn_nvs_ndis_init) >= HN_NVS_REQSIZE_MIN); | ||||
#define HN_NVS_DATAPATH_SYNTHETIC 0 | #define HN_NVS_DATAPATH_SYNTH 0 | ||||
#define HN_NVS_DATAPATH_VF 1 | #define HN_NVS_DATAPATH_VF 1 | ||||
/* No response */ | /* No response */ | ||||
struct hn_nvs_datapath { | struct hn_nvs_datapath { | ||||
uint32_t nvs_type; /* HN_NVS_TYPE_SET_DATAPATH */ | uint32_t nvs_type; /* HN_NVS_TYPE_SET_DATAPATH */ | ||||
uint32_t nvs_active_path;/* HN_NVS_DATAPATH_* */ | uint32_t nvs_active_path;/* HN_NVS_DATAPATH_* */ | ||||
uint32_t nvs_rsvd[6]; | uint32_t nvs_rsvd[6]; | ||||
} __packed; | } __packed; | ||||
▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines |