Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
fe7d26ef
Commit
fe7d26ef
authored
Mar 12, 2011
by
KO Myung-Hun
Committed by
Rémi Denis-Courmont
Dec 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define IPv6 stuffs required in order to compile on OS/2.
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
b1ae79cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
include/vlc_network.h
include/vlc_network.h
+23
-0
No files found.
include/vlc_network.h
View file @
fe7d26ef
...
...
@@ -268,6 +268,29 @@ VLC_API int vlc_getnameinfo( const struct sockaddr *, int, char *, int, int *, i
VLC_API
int
vlc_getaddrinfo
(
vlc_object_t
*
,
const
char
*
,
int
,
const
struct
addrinfo
*
,
struct
addrinfo
**
);
#ifdef __OS2__
/* OS/2 does not support IPv6, yet. But declare these only for compilation */
struct
in6_addr
{
uint8_t
s6_addr
[
16
];
};
struct
sockaddr_in6
{
uint8_t
sin6_len
;
uint8_t
sin6_family
;
uint16_t
sin6_port
;
uint32_t
sin6_flowinfo
;
struct
in6_addr
sin6_addr
;
uint32_t
sin6_scope_id
;
};
# define IN6_IS_ADDR_MULTICAST(a) (((__const uint8_t *) (a))[0] == 0xff)
static
const
struct
in6_addr
in6addr_any
=
{
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
};
#endif
static
inline
bool
net_SockAddrIsMulticast
(
const
struct
sockaddr
*
addr
,
socklen_t
len
)
{
...
...
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