diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-05-03 15:52:42 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2020-05-04 11:01:47 +0200 |
commit | 567f7dc6f68f8c246f821918de22423b035ef50e (patch) | |
tree | 7ebbd7c889e4786e8761ae851d3b2314faa174d3 /src/tools/ocbr/ocbr.c | |
parent | 65054fafc577cd326832fb4f673ecadd93c778e2 (diff) | |
download | ouroboros-567f7dc6f68f8c246f821918de22423b035ef50e.tar.gz ouroboros-567f7dc6f68f8c246f821918de22423b035ef50e.zip |
lib: Refactor FRCT
This is a small refactor of FRCT because I found some things a bit
hard to read. I tried to refactor frcti_rcv to always queue the
packet, but that causes unnecessarily retaking the lock when calling
queued_pdu and thus returning idx is a tiny bit faster.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools/ocbr/ocbr.c')
0 files changed, 0 insertions, 0 deletions