Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/hyperv/netvsc/hv_net_vsc.h
Show First 20 Lines • Show All 1,250 Lines • ▼ Show 20 Lines | |||||
extern int hv_promisc_mode; | extern int hv_promisc_mode; | ||||
struct hn_send_ctx; | struct hn_send_ctx; | ||||
void netvsc_linkstatus_callback(struct hn_softc *sc, uint32_t status); | void netvsc_linkstatus_callback(struct hn_softc *sc, uint32_t status); | ||||
netvsc_dev *hv_nv_on_device_add(struct hn_softc *sc, | netvsc_dev *hv_nv_on_device_add(struct hn_softc *sc, | ||||
void *additional_info, struct hn_rx_ring *rxr); | void *additional_info, struct hn_rx_ring *rxr); | ||||
int hv_nv_on_device_remove(struct hn_softc *sc, | int hv_nv_on_device_remove(struct hn_softc *sc, | ||||
boolean_t destroy_channel); | boolean_t destroy_channel); | ||||
int hv_nv_on_send(struct vmbus_channel *chan, bool is_data_pkt, | int hv_nv_on_send(struct vmbus_channel *chan, uint32_t rndis_mtype, | ||||
struct hn_send_ctx *sndc, struct vmbus_gpa *gpa, int gpa_cnt); | struct hn_send_ctx *sndc, struct vmbus_gpa *gpa, int gpa_cnt); | ||||
int hv_nv_get_next_send_section(netvsc_dev *net_dev); | int hv_nv_get_next_send_section(netvsc_dev *net_dev); | ||||
void hv_nv_subchan_attach(struct vmbus_channel *chan, | void hv_nv_subchan_attach(struct vmbus_channel *chan, | ||||
struct hn_rx_ring *rxr); | struct hn_rx_ring *rxr); | ||||
#endif /* __HV_NET_VSC_H__ */ | #endif /* __HV_NET_VSC_H__ */ | ||||