Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150752820
D7708.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
740 B
Referenced Files
None
Subscribers
None
D7708.id.diff
View Options
Index: head/sys/net/rndis.h
===================================================================
--- head/sys/net/rndis.h
+++ head/sys/net/rndis.h
@@ -112,6 +112,26 @@
};
/*
+ * Minimum value for rm_dataoffset, rm_oobdataoffset, and
+ * rm_pktinfooffset.
+ */
+#define RNDIS_PACKET_MSG_OFFSET_MIN \
+ (sizeof(struct rndis_packet_msg) - \
+ __offsetof(struct rndis_packet_msg, rm_dataoffset))
+
+/* Per-packet-info for RNDIS data message */
+struct rndis_pktinfo {
+ uint32_t rm_size;
+ uint32_t rm_type;
+ uint32_t rm_pktinfooffset;
+ uint8_t rm_data[];
+};
+
+#define RNDIS_PKTINFO_OFFSET \
+ __offsetof(struct rndis_pktinfo, rm_data[0])
+#define RNDIS_PKTINFO_ALIGN 4
+
+/*
* RNDIS control messages
*/
struct rndis_comp_hdr {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 8:08 PM (13 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30840265
Default Alt Text
D7708.id.diff (740 B)
Attached To
Mode
D7708: net/rndis: Define per-packet-info for RNDIS packet message
Attached
Detach File
Event Timeline
Log In to Comment