hyperv/hn: Add stubs for OFFLOAD_CURRENT_CONFIG and NETWORK_CHANGE status
MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8068
This commit is contained in:
parent
90587be327
commit
1a3c881209
@ -155,6 +155,15 @@ hv_rf_receive_indicate_status(struct hn_softc *sc, const void *data, int dlen)
|
|||||||
netvsc_linkstatus_callback(sc, 0);
|
netvsc_linkstatus_callback(sc, 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case RNDIS_STATUS_TASK_OFFLOAD_CURRENT_CONFIG:
|
||||||
|
/* Not really useful; ignore. */
|
||||||
|
break;
|
||||||
|
|
||||||
|
case RNDIS_STATUS_NETWORK_CHANGE:
|
||||||
|
/* TODO */
|
||||||
|
if_printf(sc->hn_ifp, "network changed\n");
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
/* TODO: */
|
/* TODO: */
|
||||||
if_printf(sc->hn_ifp, "unknown RNDIS status 0x%08x\n",
|
if_printf(sc->hn_ifp, "unknown RNDIS status 0x%08x\n",
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
#define RNDIS_STATUS_PENDING 0x00000103L
|
#define RNDIS_STATUS_PENDING 0x00000103L
|
||||||
#define RNDIS_STATUS_MEDIA_CONNECT 0x4001000BL
|
#define RNDIS_STATUS_MEDIA_CONNECT 0x4001000BL
|
||||||
#define RNDIS_STATUS_MEDIA_DISCONNECT 0x4001000CL
|
#define RNDIS_STATUS_MEDIA_DISCONNECT 0x4001000CL
|
||||||
|
#define RNDIS_STATUS_NETWORK_CHANGE 0x40010018L
|
||||||
|
#define RNDIS_STATUS_TASK_OFFLOAD_CURRENT_CONFIG 0x40020006L
|
||||||
#define RNDIS_STATUS_BUFFER_OVERFLOW 0x80000005L
|
#define RNDIS_STATUS_BUFFER_OVERFLOW 0x80000005L
|
||||||
#define RNDIS_STATUS_FAILURE 0xC0000001L
|
#define RNDIS_STATUS_FAILURE 0xC0000001L
|
||||||
#define RNDIS_STATUS_NOT_SUPPORTED 0xC00000BBL
|
#define RNDIS_STATUS_NOT_SUPPORTED 0xC00000BBL
|
||||||
|
Loading…
Reference in New Issue
Block a user