Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/netvsc/hv_rndis.h
Show First 20 Lines • Show All 1,077 Lines • ▼ Show 20 Lines | |||||
#define NDIS_PACKET_TYPE_ALL_FUNCTIONAL 0x00000200 | #define NDIS_PACKET_TYPE_ALL_FUNCTIONAL 0x00000200 | ||||
#define NDIS_PACKET_TYPE_FUNCTIONAL 0x00000400 | #define NDIS_PACKET_TYPE_FUNCTIONAL 0x00000400 | ||||
#define NDIS_PACKET_TYPE_MAC_FRAME 0x00000800 | #define NDIS_PACKET_TYPE_MAC_FRAME 0x00000800 | ||||
/* | /* | ||||
* Externs | * Externs | ||||
*/ | */ | ||||
struct hv_vmbus_channel; | struct hv_vmbus_channel; | ||||
struct hn_rx_ring; | |||||
struct hn_tx_ring; | |||||
int netvsc_recv(struct hv_vmbus_channel *chan, | int netvsc_recv(struct hn_rx_ring *rxr, | ||||
netvsc_packet *packet, const rndis_tcp_ip_csum_info *csum_info, | netvsc_packet *packet, const rndis_tcp_ip_csum_info *csum_info, | ||||
const struct rndis_hash_info *hash_info, | const struct rndis_hash_info *hash_info, | ||||
const struct rndis_hash_value *hash_value); | const struct rndis_hash_value *hash_value); | ||||
void netvsc_channel_rollup(struct hv_vmbus_channel *chan); | void netvsc_channel_rollup(struct hn_rx_ring *rxr, struct hn_tx_ring *txr); | ||||
void* hv_set_rppi_data(rndis_msg *rndis_mesg, | void* hv_set_rppi_data(rndis_msg *rndis_mesg, | ||||
uint32_t rppi_size, | uint32_t rppi_size, | ||||
int pkt_type); | int pkt_type); | ||||
void* hv_get_ppi_data(rndis_packet *rpkt, uint32_t type); | void* hv_get_ppi_data(rndis_packet *rpkt, uint32_t type); | ||||
#endif /* __HV_RNDIS_H__ */ | #endif /* __HV_RNDIS_H__ */ | ||||