diff options
author | sephe <sephe@FreeBSD.org> | 2016-10-17 07:10:58 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-10-17 07:10:58 +0000 |
commit | ace68d2a2736b53e866f127f8c756faebca6f0da (patch) | |
tree | a394c6439a22a60f9df625d10082083a137ef5f2 /sys/net | |
parent | bfcc3df58a4e625bd943c097338ca4435168ea69 (diff) | |
download | FreeBSD-src-ace68d2a2736b53e866f127f8c756faebca6f0da.zip FreeBSD-src-ace68d2a2736b53e866f127f8c756faebca6f0da.tar.gz |
MFC 304783-304785
304783
hyperv/hn: Use definition in net/rndis.h for message type and status code.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7620
304784
hyperv/hn: Add compat code for RNDIS reorganization phase.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7621
304785
hyperv/hn: Use vmbus xact for RNDIS initialize.
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7624
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/rndis.h | 3 |
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 |