Changeset 38388 in vbox
- Timestamp:
- Aug 9, 2011 9:21:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdpInternal.h
r38370 r38388 5 5 6 6 /* 7 * Copyright (C) 2008 Oracle Corporation7 * Copyright (C) 2008-2011 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 128 128 } s; 129 129 #endif 130 /** Padding. */ 130 /** Padding + union alignment to a pointer. */ 131 void *pvAlign; 131 132 #if defined(RT_OS_WINDOWS) 132 133 # if defined(VBOX_NETFLT_ONDEMAND_BIND) … … 146 147 typedef struct VBoxNetAdapter VBOXNETADP; 147 148 typedef VBOXNETADP *PVBOXNETADP; 149 /* Paranoia checks for alignment and padding. */ 150 AssertCompileMemberAlignment(VBOXNETADP, u, ARCH_BITS/8); 151 AssertCompileMemberAlignment(VBOXNETADP, szName, ARCH_BITS/8); 152 AssertCompileMembersSameSize(VBOXNETADP, u, VBOXNETADP, u.abPadding); 148 153 149 154 DECLHIDDEN(int) vboxNetAdpInit(void);
Note:
See TracChangeset
for help on using the changeset viewer.