Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
ZhouShuya
OpenXG-RAN
Commits
9d497026
Commit
9d497026
authored
Jun 17, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: put DEFAULT_REMOTE_IP and DEFAULT_REMOTE_PORT in utils.h
parent
031e6a02
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
9 deletions
+3
-9
common/utils/T/tracer/enb.c
common/utils/T/tracer/enb.c
+0
-3
common/utils/T/tracer/textlog.c
common/utils/T/tracer/textlog.c
+0
-3
common/utils/T/tracer/utils.h
common/utils/T/tracer/utils.h
+3
-0
common/utils/T/tracer/vcd.c
common/utils/T/tracer/vcd.c
+0
-3
No files found.
common/utils/T/tracer/enb.c
View file @
9d497026
...
...
@@ -33,9 +33,6 @@ typedef struct {
pthread_mutex_t
lock
;
}
enb_data
;
#define DEFAULT_REMOTE_IP "127.0.0.1"
#define DEFAULT_REMOTE_PORT 2021
void
is_on_changed
(
void
*
_d
)
{
enb_data
*
d
=
_d
;
...
...
common/utils/T/tracer/textlog.c
View file @
9d497026
...
...
@@ -14,9 +14,6 @@
#include "event_selector.h"
#include "config.h"
#define DEFAULT_REMOTE_IP "127.0.0.1"
#define DEFAULT_REMOTE_PORT 2021
typedef
struct
{
int
socket
;
int
*
is_on
;
...
...
common/utils/T/tracer/utils.h
View file @
9d497026
...
...
@@ -20,6 +20,9 @@ list *list_append(list *l, void *data);
/* socket */
/****************************************************************************/
#define DEFAULT_REMOTE_IP "127.0.0.1"
#define DEFAULT_REMOTE_PORT 2021
/* socket_send: return 0 if okay, -1 on error */
int
socket_send
(
int
socket
,
void
*
buffer
,
int
size
);
int
get_connection
(
char
*
addr
,
int
port
);
...
...
common/utils/T/tracer/vcd.c
View file @
9d497026
...
...
@@ -40,9 +40,6 @@ no_connection:
if
(
pthread_mutex_unlock
(
&
d
->
lock
))
abort
();
}
#define DEFAULT_REMOTE_IP "127.0.0.1"
#define DEFAULT_REMOTE_PORT 2021
void
usage
(
void
)
{
printf
(
...
...
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