Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/netvsc/hv_net_vsc.h
Show First 20 Lines • Show All 269 Lines • ▼ Show 20 Lines | |||||
#ifdef __LP64__ | #ifdef __LP64__ | ||||
#define BITS_PER_LONG 64 | #define BITS_PER_LONG 64 | ||||
#else | #else | ||||
#define BITS_PER_LONG 32 | #define BITS_PER_LONG 32 | ||||
#endif | #endif | ||||
typedef struct netvsc_packet_ { | typedef struct netvsc_packet_ { | ||||
uint16_t vlan_tci; | |||||
uint32_t status; | uint32_t status; | ||||
uint32_t tot_data_buf_len; | uint32_t tot_data_buf_len; | ||||
void *data; | void *data; | ||||
} netvsc_packet; | } netvsc_packet; | ||||
typedef struct { | typedef struct { | ||||
uint8_t mac_addr[6]; /* Assumption unsigned long */ | uint8_t mac_addr[6]; /* Assumption unsigned long */ | ||||
uint8_t link_state; | uint8_t link_state; | ||||
▲ Show 20 Lines • Show All 144 Lines • Show Last 20 Lines |