Staging: hv: netvsc_drv: Move the definition of struct rndis_filter_packet to hyperv_net.h

Move the definition of struct rndis_filter_packet to hyperv_net.h.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
K. Y. Srinivasan 2011-05-12 19:35:00 -07:00 committed by Greg Kroah-Hartman
parent e3f8a80efb
commit 9dbfd1509e
2 changed files with 7 additions and 8 deletions

View file

@ -1019,6 +1019,13 @@ struct rndis_message {
union rndis_message_container msg;
};
struct rndis_filter_packet {
void *completion_ctx;
void (*completion)(void *context);
struct rndis_message msg;
};
/* Handy macros */
/* get the size of an RNDIS message. Pass in the message type, */

View file

@ -74,14 +74,6 @@ struct rndis_request {
struct rndis_message request_msg;
};
struct rndis_filter_packet {
void *completion_ctx;
void (*completion)(void *context);
struct rndis_message msg;
};
static void rndis_filter_send_completion(void *ctx);
static void rndis_filter_send_request_completion(void *ctx);