Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
PRRT
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
37
Issues
37
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LARN
PRRT
Commits
06afdefd
Commit
06afdefd
authored
Mar 15, 2018
by
Andreas Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Python bindings.
parent
44b41686
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
3 deletions
+10
-3
prrt/proto/bbr.c
prrt/proto/bbr.c
+1
-1
prrt/proto/bbr.h
prrt/proto/bbr.h
+1
-1
prrt/proto/receiver.c
prrt/proto/receiver.c
+1
-0
prrt/prrt.pyx
prrt/prrt.pyx
+6
-0
prrt/xlap
prrt/xlap
+1
-1
No files found.
prrt/proto/bbr.c
View file @
06afdefd
...
...
@@ -218,7 +218,7 @@ void BBR_OnACK(BBR* bbr, PrrtChannelStateInformation* csi, PrrtRateSample* rs, P
BBR_SetCwnd
(
bbr
,
packetTracking
);
}
BBR
*
BBR_Init
()
BBR
*
BBR_Init
(
void
)
{
BBR
*
bbr
=
calloc
(
1
,
sizeof
(
BBR
));
check_mem
(
bbr
);
...
...
prrt/proto/bbr.h
View file @
06afdefd
...
...
@@ -71,7 +71,7 @@ typedef struct bbr {
WindowedFilter
*
btlBwFilter
;
}
BBR
;
BBR
*
BBR_Init
();
BBR
*
BBR_Init
(
void
);
void
BBR_OnACK
(
BBR
*
bbr
,
PrrtChannelStateInformation
*
csi
,
PrrtRateSample
*
rs
,
PrrtPacketTracking
*
recv_stats
);
void
BBR_destroy
(
BBR
*
bbr
);
...
...
prrt/proto/receiver.c
View file @
06afdefd
...
...
@@ -192,6 +192,7 @@ bool PrrtReceiver_updateAndGenerateRateSample(PrrtReceiver *recv, prrtSequenceNu
error:
PERROR
(
"Mutex error.%s"
,
""
);
return
false
;
}
void
PrrtReceiver_add_outstanding_packet_state
(
PrrtReceiver
*
recv
,
PrrtPacket
*
packet
,
prrtTimestamp_t
sentTime
)
{
...
...
prrt/prrt.pyx
View file @
06afdefd
...
...
@@ -50,6 +50,9 @@ cdef extern from "proto/processes/dataTransmitter.c":
cdef
extern
from
"proto/block.c"
:
pass
cdef
extern
from
"proto/bbr.c"
:
pass
cdef
extern
from
"proto/clock.c"
:
pass
...
...
@@ -89,6 +92,9 @@ cdef extern from "util/pipe.c":
cdef
extern
from
"util/mpsc_queue.c"
:
pass
cdef
extern
from
"util/windowedFilter.c"
:
pass
class
PrrtCodingConfiguration
:
def
__init__
(
self
,
n
,
k
,
n_cycle
):
# TODO: Validity checks
...
...
xlap
@
5123d833
Compare
116a01bd
...
5123d833
Subproject commit
116a01bd708b76d11124f6dd773d56bbecb93ebf
Subproject commit
5123d8333ea4292f84f73e929d3fb7a5b840d056
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