Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/hyperv/netvsc/hv_net_vsc.h
Show First 20 Lines • Show All 268 Lines • ▼ Show 20 Lines | |||||
#define TRANSPORT_TYPE_IPV6_UDP ((TYPE_IPV6 << 16) | TYPE_UDP) | #define TRANSPORT_TYPE_IPV6_UDP ((TYPE_IPV6 << 16) | TYPE_UDP) | ||||
#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_ { | |||||
uint32_t status; | |||||
uint32_t tot_data_buf_len; | |||||
void *data; | |||||
} 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; | ||||
} netvsc_device_info; | } netvsc_device_info; | ||||
#ifndef HN_USE_TXDESC_BUFRING | #ifndef HN_USE_TXDESC_BUFRING | ||||
struct hn_txdesc; | struct hn_txdesc; | ||||
SLIST_HEAD(hn_txdesc_list, hn_txdesc); | SLIST_HEAD(hn_txdesc_list, hn_txdesc); | ||||
▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines |