diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ipxe/rndis.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/include/ipxe/rndis.h b/src/include/ipxe/rndis.h index 60ffd10f5..4e4ab7f8f 100644 --- a/src/include/ipxe/rndis.h +++ b/src/include/ipxe/rndis.h @@ -28,10 +28,10 @@ struct rndis_header { } __attribute__ (( packed )); /** RNDIS initialise message */ -#define RNDIS_INITIALIZE_MSG 0x00000002UL +#define RNDIS_INITIALISE_MSG 0x00000002UL /** RNDIS initialise message */ -struct rndis_initialize_message { +struct rndis_initialise_message { /** Request ID */ uint32_t id; /** Major version */ @@ -42,6 +42,24 @@ struct rndis_initialize_message { uint32_t mtu; } __attribute__ (( packed )); +/** Request ID used for initialisation + * + * This is a policy decision. + */ +#define RNDIS_INIT_ID 0xe110e110UL + +/** RNDIS major version */ +#define RNDIS_VERSION_MAJOR 1 + +/** RNDIS minor version */ +#define RNDIS_VERSION_MINOR 0 + +/** RNDIS maximum transfer size + * + * This is a policy decision. + */ +#define RNDIS_MTU 2048 + /** RNDIS initialise completion */ #define RNDIS_INITIALISE_CMPLT 0x80000002UL |
