summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/rndis.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/rndis.h b/sys/net/rndis.h
index d736b0b..52ec660 100644
--- a/sys/net/rndis.h
+++ b/sys/net/rndis.h
@@ -146,6 +146,9 @@ struct rndis_init_comp {
uint32_t rm_aflistsz;
};
+#define RNDIS_INIT_COMP_SIZE_MIN \
+ __offsetof(struct rndis_init_comp, rm_aflistsz)
+
/* Halt the device. No response sent. */
#define REMOTE_NDIS_HALT_MSG 0x00000003
OpenPOWER on IntegriCloud