Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/netvsc/hv_rndis.h
Show First 20 Lines • Show All 1,082 Lines • ▼ Show 20 Lines | |||||
#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 hn_rx_ring; | struct hn_rx_ring; | ||||
struct hn_tx_ring; | struct hn_tx_ring; | ||||
struct hn_recvinfo; | |||||
int netvsc_recv(struct hn_rx_ring *rxr, | int netvsc_recv(struct hn_rx_ring *rxr, | ||||
netvsc_packet *packet, const rndis_tcp_ip_csum_info *csum_info, | netvsc_packet *packet, const struct hn_recvinfo *info); | ||||
const struct rndis_hash_info *hash_info, | |||||
const struct rndis_hash_value *hash_value); | |||||
void netvsc_channel_rollup(struct hn_rx_ring *rxr, struct hn_tx_ring *txr); | 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__ */ | ||||