Commit Graph

104 Commits

Author SHA1 Message Date
Tristan B. Kildaire 3f074bf9a9 Moved processing code for receive queue to redprocessor.h 2020-10-08 09:34:50 +02:00
Tristan B. Kildaire 5e7f9f9c32 WIP: redctl 2020-10-08 09:22:22 +02:00
Tristan B. Kildaire 4b2ee9eec0 Check for -1 2020-10-06 08:14:11 +02:00
Tristan B. Kildaire aae8aa0d14 Added yield 2020-10-06 08:12:16 +02:00
Tristan B. Kildaire 40efa7adfd Removed unused function 2020-10-06 08:11:08 +02:00
Tristan B. Kildaire 88230a0073 Unsigned takes preceddence 2020-10-06 08:05:59 +02:00
Tristan B. Kildaire b2145386ad Thread leader just hangs, now all sub systems are started up 2020-10-05 23:40:45 +02:00
Tristan B. Kildaire ec95850526 Remofed explicit types for things done implicitly (unsigned importance in C moreso than D) 2020-10-05 21:35:07 +02:00
Tristan B. Kildaire d71a697f1a Updated Makefile 2020-10-05 18:57:48 +02:00
Tristan B. Kildaire 6bfa227ff2 Implemented round-robin packet scheduler with queue processor 2020-10-05 18:57:24 +02:00
Tristan B. Kildaire 7fdd09b822 Clone signal handlers 2020-10-05 13:55:07 +02:00
Tristan B. Kildaire 615a877812 Incoming packets are now enqueued to the receivee queue of the respective redInterface 2020-10-05 10:48:20 +02:00
Tristan B. Kildaire d4687603d6 Removed useless cast (it will sign extend due to it being a literal (therefore an int, in this case) 2020-10-05 09:41:43 +02:00
Tristan B. Kildaire 406379edc8 Updated 2020-10-05 09:40:49 +02:00
Tristan B. Kildaire 5a4213cb35 Cleanup 2020-10-05 00:51:40 +02:00
Tristan B. Kildaire c8b1f3f1bc Fixed implicit declarations 2020-10-05 00:46:43 +02:00
Tristan B. Kildaire 930b7f2017 Added queue data structure 2020-10-05 00:34:07 +02:00
Tristan B. Kildaire 0c189cf57e Fixups 2020-10-04 21:39:56 +02:00
Tristan B. Kildaire 1a32437483 Join a thread group of the parent group 2020-10-04 21:25:06 +02:00
Tristan B. Kildaire fb15068c24 TOTOO: TYpe checking 2020-10-04 21:24:35 +02:00
Tristan B. Kildaire 6eea541a34 Spawns processor 2020-10-04 20:48:06 +02:00
Tristan B. Kildaire d3057188ec Added architecture notes 2020-10-04 20:47:56 +02:00
Tristan B. Kildaire 96d50a9a2a Added TODO 2020-10-04 19:47:06 +02:00
Tristan B. Kildaire 8d65609265 Will do unsigned comparison (signed only with -Wsign-compare) 2020-10-04 19:37:45 +02:00
Tristan B. Kildaire 54cef5c21c Initialize host information, routing table 2020-10-04 19:35:36 +02:00
Tristan B. Kildaire 0485cd2a48 Non-blocking receive, now will return if not present on queue, and move to next interface, if present it will dequeue and then move to next interface 2020-10-04 18:26:00 +02:00
Tristan B. Kildaire 9f6ed8184a Use new testing interface 2020-10-04 18:25:25 +02:00
Tristan B. Kildaire 6d9dee8e40 Set socket file descriptor 2020-10-04 18:25:17 +02:00
Tristan B. Kildaire c2f5da7e4b Initialize all redInterfaces 2020-10-04 17:27:03 +02:00
Tristan B. Kildaire 864eaa5940 Added 'createInterface()
'
2020-10-04 16:55:09 +02:00
Tristan B. Kildaire 0f4fb4e69a Updated ethernet interface for testing 2020-10-04 16:09:23 +02:00
Tristan B. Kildaire 50ab2a7554 Open config file for reading 2020-09-14 12:47:07 +02:00
Tristan B. Kildaire e05b075f00 Added configuration file for future use 2020-09-14 12:30:26 +02:00
Tristan B. Kildaire b014ace190 WIP: redInterfaces and multiple listeners 2020-09-14 12:30:05 +02:00
Tristan B. Kildaire 55a0254472 Added support for "make clean" 2020-09-14 12:29:44 +02:00
Tristan B. Kildaire 3e7e6b74ef Merge branch 'master' of github.com:redinet/redcore 2020-09-14 12:29:21 +02:00
Tristan B. Kildaire 02580253d3 Removed prototype which is now included via a header (route.h) 2020-09-14 12:29:10 +02:00
Tristan B. Kildaire 07592417fb Added prototype to route.h 2020-09-14 12:28:33 +02:00
Tristan B. Kildaire 675e16dc46
Update README.md 2020-09-14 12:28:13 +02:00
Tristan B. Kildaire 4e93a04b56 Use redPacket struct, fixed lack of rp->version 2020-09-14 11:02:41 +02:00
Tristan B. Kildaire 3caae84116 Use printPacket() function, removed version print, don't use more stack space 2020-09-14 11:01:10 +02:00
Tristan B. Kildaire f24d53c9d0 Added string representation generator for redPackets 2020-09-14 11:00:42 +02:00
Tristan B. Kildaire 6da3460b1b Varied testSend 2020-09-14 11:00:25 +02:00
Tristan B. Kildaire f7ad21fb4c Added redctl build option 2020-09-14 10:16:46 +02:00
Tristan B. Kildaire 665f869419 Added symbol main for linking to suceed 2020-09-14 10:16:34 +02:00
Tristan B. Kildaire a344c5d587 Executable now named 'redcore' 2020-09-14 01:24:10 +02:00
Tristan B. Kildaire 9c02cc2f7b Updated Makefile 2020-09-14 01:23:30 +02:00
Tristan B. Kildaire ce14b0a37d Updated Makefile 2020-09-14 01:08:36 +02:00
Tristan B. Kildaire 4d207f8843 WIP: Ethernet frame encoder 2020-09-14 01:00:22 +02:00
Tristan B. Kildaire d6ef3ad2a4 Updated testSend 2020-09-14 00:59:29 +02:00