Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
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
nexedi
tsn-measures
Commits
773ed882
Commit
773ed882
authored
Jun 09, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix small mistakes
parent
efa7397b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
packet-exchange/src/send_packet.c
packet-exchange/src/send_packet.c
+1
-1
packet-exchange/src/server.c
packet-exchange/src/server.c
+1
-2
No files found.
packet-exchange/src/send_packet.c
View file @
773ed882
...
...
@@ -158,7 +158,7 @@ packet_info_t send_udp_packet(int use_etf, int use_timestamps,
sin
.
sin_addr
.
s_addr
=
inet_addr
(
server_ip
);
sin
.
sin_port
=
htons
(
SERVER_PORT_INT
);
iov
.
iov_base
=
&
tx_buffer
;
iov
.
iov_base
=
tx_buffer
;
iov
.
iov_len
=
tx_buffer_len
;
memset
(
&
msg
,
0
,
sizeof
(
msg
));
...
...
packet-exchange/src/server.c
View file @
773ed882
...
...
@@ -217,10 +217,9 @@ int main(int argc, char *argv[]) {
if
(
tsn_task
==
RECV_PACKET_TASK
)
{
diff
=
((
int64_t
)
stats
->
max_interval
)
-
stats
->
min_interval
;
printf
(
"(%d) Jitter : %"
PRIi64
" [Packet data: %s
(%x)
]
\n
"
,
printf
(
"(%d) Jitter : %"
PRIi64
" [Packet data: %s]
\n
"
,
stats
->
packets_received
,
diff
,
stats
->
packet_info
.
data
,
stats
->
packet_info
.
data
);
if
(
enable_timestamps
)
{
...
...
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