Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d82e36fa
Commit
d82e36fa
authored
Oct 01, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Oct 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Wrap uses of u_* types in ws2tcpip.h with WS() macro.
parent
fd4a8941
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
ws2tcpip.h
include/ws2tcpip.h
+9
-9
No files found.
include/ws2tcpip.h
View file @
d82e36fa
...
...
@@ -80,30 +80,30 @@ struct WS(ip_mreq_source) {
struct
WS
(
ip_msfilter
)
{
struct
WS
(
in_addr
)
imsf_multiaddr
;
struct
WS
(
in_addr
)
imsf_interface
;
u_long
imsf_fmode
;
u_long
imsf_numsrc
;
WS
(
u_long
)
imsf_fmode
;
WS
(
u_long
)
imsf_numsrc
;
struct
WS
(
in_addr
)
imsf_slist
[
1
];
};
typedef
struct
WS
(
in_addr6
)
{
u_char
s6_addr
[
16
];
/* IPv6 address */
WS
(
u_char
)
s6_addr
[
16
];
/* IPv6 address */
}
IN6_ADDR
,
*
PIN6_ADDR
,
*
LPIN6_ADDR
;
typedef
struct
WS
(
sockaddr_in6
)
{
short
sin6_family
;
/* AF_INET6 */
u_short
sin6_port
;
/* Transport level port number */
u_long
sin6_flowinfo
;
/* IPv6 flow information */
WS
(
u_short
)
sin6_port
;
/* Transport level port number */
WS
(
u_long
)
sin6_flowinfo
;
/* IPv6 flow information */
struct
WS
(
in_addr6
)
sin6_addr
;
/* IPv6 address */
u_long
sin6_scope_id
;
/* IPv6 scope id */
WS
(
u_long
)
sin6_scope_id
;
/* IPv6 scope id */
}
SOCKADDR_IN6
,
*
PSOCKADDR_IN6
,
*
LPSOCKADDR_IN6
;
typedef
struct
WS
(
sockaddr_in6_old
)
{
short
sin6_family
;
/* AF_INET6 */
u_short
sin6_port
;
/* Transport level port number */
u_long
sin6_flowinfo
;
/* IPv6 flow information */
WS
(
u_short
)
sin6_port
;
/* Transport level port number */
WS
(
u_long
)
sin6_flowinfo
;
/* IPv6 flow information */
struct
WS
(
in_addr6
)
sin6_addr
;
/* IPv6 address */
}
SOCKADDR_IN6_OLD
,
*
PSOCKADDR_IN6_OLD
,
*
LPSOCKADDR_IN6_OLD
;
...
...
@@ -117,7 +117,7 @@ typedef union sockaddr_gen
/* Structure to keep interface specific information */
typedef
struct
_INTERFACE_INFO
{
u_long
iiFlags
;
/* Interface flags */
WS
(
u_long
)
iiFlags
;
/* Interface flags */
WS
(
sockaddr_gen
)
iiAddress
;
/* Interface address */
WS
(
sockaddr_gen
)
iiBroadcastAddress
;
/* Broadcast address */
WS
(
sockaddr_gen
)
iiNetmask
;
/* Network mask */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment