diff options
Diffstat (limited to 'driver/peer.h')
-rw-r--r-- | driver/peer.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/driver/peer.h b/driver/peer.h index 1cf1b9a..d5d14d7 100644 --- a/driver/peer.h +++ b/driver/peer.h @@ -20,10 +20,17 @@ typedef struct _ENDPOINT WSACMSGHDR Cmsg; union { - IN_PKTINFO Src4; - IN6_PKTINFO Src6; + struct + { + IN_PKTINFO Src4; + WSACMSGHDR CmsgHack4; + }; + struct + { + IN6_PKTINFO Src6; + WSACMSGHDR CmsgHack6; + }; }; - UCHAR CmsgHackBuf[WSA_CMSGHDR_ALIGN(sizeof(WSACMSGHDR))]; }; UINT32 RoutingGeneration; UINT32 UpdateGeneration; |