Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
913586c4
Commit
913586c4
authored
Aug 16, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make net_SetDSCP static
parent
aa5d11c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
include/vlc_network.h
include/vlc_network.h
+0
-1
src/libvlc.sym
src/libvlc.sym
+0
-1
src/network/udp.c
src/network/udp.c
+1
-1
No files found.
include/vlc_network.h
View file @
913586c4
...
@@ -113,7 +113,6 @@ static inline int net_ListenUDP1 (vlc_object_t *obj, const char *host, int port)
...
@@ -113,7 +113,6 @@ static inline int net_ListenUDP1 (vlc_object_t *obj, const char *host, int port)
VLC_EXPORT
(
void
,
net_ListenClose
,
(
int
*
fd
)
);
VLC_EXPORT
(
void
,
net_ListenClose
,
(
int
*
fd
)
);
VLC_EXPORT
(
int
,
net_SetDSCP
,
(
int
fd
,
uint8_t
dscp
)
);
int
net_Subscribe
(
vlc_object_t
*
obj
,
int
fd
,
const
struct
sockaddr
*
addr
,
int
net_Subscribe
(
vlc_object_t
*
obj
,
int
fd
,
const
struct
sockaddr
*
addr
,
socklen_t
addrlen
);
socklen_t
addrlen
);
...
...
src/libvlc.sym
View file @
913586c4
...
@@ -197,7 +197,6 @@ net_ListenClose
...
@@ -197,7 +197,6 @@ net_ListenClose
net_Printf
net_Printf
__net_Read
__net_Read
__net_Select
__net_Select
net_SetDSCP
__net_vaPrintf
__net_vaPrintf
__net_Write
__net_Write
osd_ConfigLoader
osd_ConfigLoader
...
...
src/network/udp.c
View file @
913586c4
...
@@ -549,7 +549,7 @@ int net_Subscribe (vlc_object_t *obj, int fd,
...
@@ -549,7 +549,7 @@ int net_Subscribe (vlc_object_t *obj, int fd,
}
}
int
net_SetDSCP
(
int
fd
,
uint8_t
dscp
)
static
int
net_SetDSCP
(
int
fd
,
uint8_t
dscp
)
{
{
struct
sockaddr_storage
addr
;
struct
sockaddr_storage
addr
;
if
(
getsockname
(
fd
,
(
struct
sockaddr
*
)
&
addr
,
&
(
socklen_t
){
sizeof
(
addr
)
})
)
if
(
getsockname
(
fd
,
(
struct
sockaddr
*
)
&
addr
,
&
(
socklen_t
){
sizeof
(
addr
)
})
)
...
...
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