2033 Commits

Author SHA1 Message Date
Baptiste Wicht
8a6d0db3f2
Cleanup 2016-10-02 17:19:44 +02:00
Baptiste Wicht
ab1da360a5
Cleanup collector adapters 2016-10-02 17:00:27 +02:00
Baptiste Wicht
ebc2bfbb9c
Use queue instaed of vector
This preserves correctly the order of packets
2016-10-02 16:43:18 +02:00
Baptiste Wicht
60622f8a3b
Add move support 2016-10-02 16:39:43 +02:00
Baptiste Wicht
1d7e9b7390
Add emplace support 2016-10-02 16:34:17 +02:00
Baptiste Wicht
da4f2f1bd2
Use deque to implement a queue 2016-10-02 14:51:59 +02:00
Baptiste Wicht
bec1cb38a2
Tests for deque 2016-10-02 14:50:59 +02:00
Baptiste Wicht
b09d34e468
Implementation of a deque 2016-10-02 14:50:53 +02:00
Baptiste Wicht
c2c184f693
A bit of doc 2016-10-01 22:21:13 +02:00
Baptiste Wicht
bd4e5e5209
Refactorings 2016-10-01 22:03:22 +02:00
Baptiste Wicht
c7a3d7a5c3
Logging 2016-10-01 21:58:08 +02:00
Baptiste Wicht
42caf08daf
Fix destruction in std::expected 2016-10-01 21:53:36 +02:00
Baptiste Wicht
3306504dac
Basic test for expected destruction 2016-10-01 21:52:55 +02:00
Baptiste Wicht
505f2593be
Prevent copy and move of packet 2016-10-01 16:14:48 +02:00
Baptiste Wicht
e2633a0c3f
Remove unused functions 2016-10-01 16:02:10 +02:00
Baptiste Wicht
bdfac39823
Doc of the drivers 2016-10-01 16:01:53 +02:00
Baptiste Wicht
8084d8363d
Doc 2016-10-01 15:59:41 +02:00
Baptiste Wicht
cc4b26ca2e
Documentation of file systems 2016-10-01 15:06:04 +02:00
Baptiste Wicht
25e88f6d25
Cleanup 2016-10-01 14:50:57 +02:00
Baptiste Wicht
1c113afb18
Avoid copies of network packets
Use shared_ptr to count references to network packets
Only copy the shared packets
Change the interface to use only network packets
2016-10-01 14:48:58 +02:00
Baptiste Wicht
ac2949394a
Add tests for std::function 2016-09-30 22:40:23 +02:00
Baptiste Wicht
9e5d22f631
Cleanup function 2016-09-30 22:40:04 +02:00
Baptiste Wicht
115e036e45
Fix warning 2016-09-30 22:26:01 +02:00
Baptiste Wicht
a66ab86969
Remove old TODO
The uptime is now correct with HPET
2016-09-30 22:23:54 +02:00
Baptiste Wicht
8035191756
Unify network API 2016-09-30 22:20:19 +02:00
Baptiste Wicht
07da244762
Add 1 more basic test 2016-09-30 22:12:12 +02:00
Baptiste Wicht
f01994fa8c
Complete function attributes 2016-09-30 22:10:08 +02:00
Baptiste Wicht
31e061f4d0
Register the ARP layer 2016-09-30 22:08:22 +02:00
Baptiste Wicht
947e5c041a
Complete doc 2016-09-30 21:50:30 +02:00
Baptiste Wicht
406ea8bbde
Complete shared_ptr implementation 2016-09-30 21:44:32 +02:00
Baptiste Wicht
6a897bb3ee
shared_ptr doc 2016-09-30 21:36:02 +02:00
Baptiste Wicht
2a477e3217
New tests for shared_ptr 2016-09-30 15:41:44 +02:00
Baptiste Wicht
2dc50176b7
Support for make_shared 2016-09-30 15:41:29 +02:00
Baptiste Wicht
c770c5874f
Prototype of shared_ptr 2016-09-29 15:33:13 +02:00
Baptiste Wicht
cd66712396
Extract the deleters 2016-09-29 12:45:24 +02:00
Baptiste Wicht
fb68f1b27c
Documentation 2016-09-29 12:40:10 +02:00
Baptiste Wicht
9fec17d47b
Doc 2016-09-29 09:51:46 +02:00
Baptiste Wicht
56e865c6de
Move packet out of ethernet 2016-09-29 09:47:05 +02:00
Baptiste Wicht
031352ea34
Cleanup headers 2016-09-29 09:43:14 +02:00
Baptiste Wicht
91c5a9e1e4
Cleanup ARP layer 2016-09-29 09:29:32 +02:00
Baptiste Wicht
8014d17039
Cleanup ethernet layer 2016-09-29 09:25:00 +02:00
Baptiste Wicht
570b508803
Doc 2016-09-29 09:22:31 +02:00
Baptiste Wicht
9038762e00
Extract interface_descriptor header 2016-09-29 09:18:40 +02:00
Baptiste Wicht
ac3d686bcf
No more need for init functions 2016-09-28 23:25:27 +02:00
Baptiste Wicht
d8a7016d8d
Better encapsulation 2016-09-28 23:24:27 +02:00
Baptiste Wicht
048c5c445d
Better encapsulation 2016-09-28 23:21:29 +02:00
Baptiste Wicht
24c670c07c
Cleanup 2016-09-28 23:21:22 +02:00
Baptiste Wicht
efc302e170
Review constness 2016-09-28 23:16:39 +02:00
Baptiste Wicht
0fe6407022
Complete encapsulation of ARP layer 2016-09-28 23:14:57 +02:00
Baptiste Wicht
73ab1d4d4a
Implement all the new functions 2016-09-28 23:07:36 +02:00