Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152893012
D7593.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
976 B
Referenced Files
None
Subscribers
None
D7593.id.diff
View Options
Index: head/sys/dev/usb/net/if_urndis.c
===================================================================
--- head/sys/dev/usb/net/if_urndis.c
+++ head/sys/dev/usb/net/if_urndis.c
@@ -658,7 +658,7 @@
msg.rm_type = htole32(REMOTE_NDIS_INITIALIZE_MSG);
msg.rm_len = htole32(sizeof(msg));
msg.rm_rid = 0;
- msg.rm_ver_major = htole32(1);
+ msg.rm_ver_major = htole32(RNDIS_VERSION_MAJOR);
msg.rm_ver_minor = htole32(1);
msg.rm_max_xfersz = htole32(RNDIS_RX_MAXLEN);
Index: head/sys/net/rndis.h
===================================================================
--- head/sys/net/rndis.h
+++ head/sys/net/rndis.h
@@ -23,6 +23,10 @@
#ifndef _NET_RNDIS_H_
#define _NET_RNDIS_H_
+/* Canonical major/minor version as of 22th Aug. 2016. */
+#define RNDIS_VERSION_MAJOR 0x00000001
+#define RNDIS_VERSION_MINOR 0x00000000
+
#define RNDIS_STATUS_BUFFER_OVERFLOW 0x80000005L
#define RNDIS_STATUS_FAILURE 0xC0000001L
#define RNDIS_STATUS_INVALID_DATA 0xC0010015L
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 18, 8:23 PM (9 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31716618
Default Alt Text
D7593.id.diff (976 B)
Attached To
Mode
D7593: net/rndis: Add canonical RNDIS major/minor version as of today.
Attached
Detach File
Event Timeline
Log In to Comment