projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
liblttng-ctl: use export list to define exported symbols
[lttng-tools.git]
/
src
/
common
/
sessiond-comm
/
inet.c
diff --git
a/src/common/sessiond-comm/inet.c
b/src/common/sessiond-comm/inet.c
index 15608fd94c194157b72f6076c10e54bb9fbb65ed..357e10b08a938cfd9c0252872ec0d95ae6d4a528 100644
(file)
--- a/
src/common/sessiond-comm/inet.c
+++ b/
src/common/sessiond-comm/inet.c
@@
-43,7
+43,6
@@
unsigned long lttcomm_inet_tcp_timeout;
/*
* Creates an PF_INET socket.
*/
/*
* Creates an PF_INET socket.
*/
-LTTNG_HIDDEN
int lttcomm_create_inet_sock(struct lttcomm_sock *sock, int type, int proto)
{
int val = 1, ret;
int lttcomm_create_inet_sock(struct lttcomm_sock *sock, int type, int proto)
{
int val = 1, ret;
@@
-86,7
+85,6
@@
error:
/*
* Bind socket and return.
*/
/*
* Bind socket and return.
*/
-LTTNG_HIDDEN
int lttcomm_bind_inet_sock(struct lttcomm_sock *sock)
{
return bind(sock->fd,
int lttcomm_bind_inet_sock(struct lttcomm_sock *sock)
{
return bind(sock->fd,
@@
-216,7
+214,6
@@
error:
/*
* Connect PF_INET socket.
*/
/*
* Connect PF_INET socket.
*/
-LTTNG_HIDDEN
int lttcomm_connect_inet_sock(struct lttcomm_sock *sock)
{
int ret, closeret;
int lttcomm_connect_inet_sock(struct lttcomm_sock *sock)
{
int ret, closeret;
@@
-246,7
+243,6
@@
error_connect:
* Do an accept(2) on the sock and return the new lttcomm socket. The socket
* MUST be bind(2) before.
*/
* Do an accept(2) on the sock and return the new lttcomm socket. The socket
* MUST be bind(2) before.
*/
-LTTNG_HIDDEN
struct lttcomm_sock *lttcomm_accept_inet_sock(struct lttcomm_sock *sock)
{
int new_fd;
struct lttcomm_sock *lttcomm_accept_inet_sock(struct lttcomm_sock *sock)
{
int new_fd;
@@
-310,7
+306,6
@@
error:
/*
* Make the socket listen using LTTNG_SESSIOND_COMM_MAX_LISTEN.
*/
/*
* Make the socket listen using LTTNG_SESSIOND_COMM_MAX_LISTEN.
*/
-LTTNG_HIDDEN
int lttcomm_listen_inet_sock(struct lttcomm_sock *sock, int backlog)
{
int ret;
int lttcomm_listen_inet_sock(struct lttcomm_sock *sock, int backlog)
{
int ret;
@@
-341,7
+336,6
@@
end:
*
* Return the size of received data.
*/
*
* Return the size of received data.
*/
-LTTNG_HIDDEN
ssize_t lttcomm_recvmsg_inet_sock(struct lttcomm_sock *sock, void *buf,
size_t len, int flags)
{
ssize_t lttcomm_recvmsg_inet_sock(struct lttcomm_sock *sock, void *buf,
size_t len, int flags)
{
@@
-398,7
+392,6
@@
end:
*
* Return the size of sent data.
*/
*
* Return the size of sent data.
*/
-LTTNG_HIDDEN
ssize_t lttcomm_sendmsg_inet_sock(struct lttcomm_sock *sock, const void *buf,
size_t len, int flags)
{
ssize_t lttcomm_sendmsg_inet_sock(struct lttcomm_sock *sock, const void *buf,
size_t len, int flags)
{
@@
-445,7
+438,6
@@
ssize_t lttcomm_sendmsg_inet_sock(struct lttcomm_sock *sock, const void *buf,
/*
* Shutdown cleanly and close.
*/
/*
* Shutdown cleanly and close.
*/
-LTTNG_HIDDEN
int lttcomm_close_inet_sock(struct lttcomm_sock *sock)
{
int ret;
int lttcomm_close_inet_sock(struct lttcomm_sock *sock)
{
int ret;
@@
-513,7
+505,6
@@
error:
return val;
}
return val;
}
-LTTNG_HIDDEN
void lttcomm_inet_init(void)
{
unsigned long syn_retries, fin_timeout, syn_timeout, env;
void lttcomm_inet_init(void)
{
unsigned long syn_retries, fin_timeout, syn_timeout, env;
This page took
0.027142 seconds
and
4
git commands to generate.