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
常顺宇
OpenXG-RAN
Commits
3b226410
Commit
3b226410
authored
May 31, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
remove forward stuff from defs.h remove defs.h from local.c and forward.c
parent
b3889a44
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
8 deletions
+14
-8
common/utils/T/tracer/defs.h
common/utils/T/tracer/defs.h
+0
-4
common/utils/T/tracer/forward.c
common/utils/T/tracer/forward.c
+5
-3
common/utils/T/tracer/forward.h
common/utils/T/tracer/forward.h
+8
-0
common/utils/T/tracer/local.c
common/utils/T/tracer/local.c
+1
-1
No files found.
common/utils/T/tracer/defs.h
View file @
3b226410
...
...
@@ -16,10 +16,6 @@ void iq_plot_set_sized(void *_plot, short *data, int len, int pp);
void
iq_plot_add_iq_point_loop
(
void
*
_plot
,
short
i
,
short
q
,
int
pp
);
void
iq_plot_add_energy_point_loop
(
void
*
_plot
,
int
e
,
int
pp
);
void
*
forwarder
(
int
port
);
void
forward
(
void
*
forwarder
,
char
*
buf
,
int
size
);
void
forward_start_client
(
void
*
forwarder
,
int
socket
);
/* T gui functions */
void
t_gui_start
(
void
);
void
t_gui_set_input_signal
(
int
eNB
,
int
frame
,
int
subframe
,
int
antenna
,
...
...
common/utils/T/tracer/forward.c
View file @
3b226410
#include "
defs
.h"
#include "
forward
.h"
#include <stdlib.h>
#include <stdio.h>
#include <netinet/ip.h>
...
...
@@ -9,6 +9,10 @@
#include <stdint.h>
#include <inttypes.h>
/* from local.c */
int
get_connection
(
char
*
addr
,
int
port
);
void
new_thread
(
void
*
(
*
f
)(
void
*
),
void
*
data
);
typedef
struct
databuf
{
char
*
d
;
int
l
;
...
...
@@ -102,8 +106,6 @@ void forward_start_client(void *_f, int s)
new_thread
(
forward_s_to_sc
,
f
);
}
int
get_connection
(
char
*
addr
,
int
port
);
void
*
forwarder
(
int
port
)
{
forward_data
*
f
;
...
...
common/utils/T/tracer/forward.h
0 → 100644
View file @
3b226410
#ifndef _FORWARD_H_
#define _FORWARD_H_
void
*
forwarder
(
int
port
);
void
forward
(
void
*
forwarder
,
char
*
buf
,
int
size
);
void
forward_start_client
(
void
*
forwarder
,
int
socket
);
#endif
/* _FORWARD_H_ */
common/utils/T/tracer/local.c
View file @
3b226410
...
...
@@ -11,7 +11,7 @@
#define DEFAULT_PORT 2021
#include "
defs
.h"
#include "
forward
.h"
#include "../T_defs.h"
...
...
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