Commit Graph

24 Commits

Author SHA1 Message Date
09febbfb75 README.md: quick start instructions 2021-12-26 15:08:12 +01:00
842dc10a5a example/simple-udp-server: written Makefile 2021-12-26 14:39:03 +01:00
42e70e9c20 ipv6: constexpr compile-time SLAAC settings 2021-12-26 14:37:29 +01:00
3d206c0d23 ipv6: format 2021-12-24 17:56:17 +01:00
dc03eeb307 added README.md and LICENSE file 2019-12-31 11:18:44 +01:00
cd37805f70 repository structured as an arduino library 2019-12-31 10:42:25 +01:00
ac955647cf added comments for UDP part 2019-12-24 23:51:00 +01:00
260f537125 adding comments here and there 2019-12-24 23:41:31 +01:00
5c7b1ffc99 basics of ND with RADV
neighbor discovery protocol basics, just for fun and for radv slaac
this is a working version, but code is not perfect,
just commit to save the checkpoint -- this isn't the master, is it?
2019-12-24 23:00:31 +01:00
9beb97fdba software engeneering for better resrouce management
now reproduced also in UDP, not only ICMP
This patch also allows for a better ISO/OSI layer separation between
IPv6 and upper layers, and upper layers can use the same common
interface
2019-12-24 19:33:07 +01:00
339de9322f software engineering for best resource management
actually only one packet is managed at a time,
then a packetin+packetout buffer area has been created for IPv6 packets.
Upper layers can then access this data by means of pointer,
avoiding further allocations on the stack.
Obviously, packetin is read-only (eg. upper layers can only read it)
2019-12-24 17:59:51 +01:00
ba2f76f7e6 simple udp server handler 2019-12-24 16:54:16 +01:00
fabd0886b6 more consistent usage of data structures in the code 2019-12-24 16:00:09 +01:00
b21625cd27 basic udp echo server 2019-12-24 14:47:32 +01:00
c05386db26 Internet Checksum computation generalized 2019-12-24 10:36:49 +01:00
3eb51a7442 IPv6 packet constructor engineered 2019-12-24 10:01:27 +01:00
c07807fc86 removed serialize/deserialize methods
it's everything already stored as serialized, just to save memory
(we only have 2k of memory)
2019-12-23 22:30:58 +01:00
fb79e3d371 added proper IPv6 flow reply for ICMP packets 2019-12-23 21:47:25 +01:00
895206a046 SLIP bug: reading too fast from serial
when the escape char was read from serial, then the escaped char was
read immediately after, but it was not available, thus resulting in
no proper escape; now fixed
2019-12-23 21:45:25 +01:00
aa4a347bfb less memory usage improvements 2019-12-23 19:09:41 +01:00
326016b565 removed old functions 2019-12-23 19:03:32 +01:00
3d3d24942e sizes in int 2019-12-23 19:02:05 +01:00
11e56ac38c code polishing 2019-12-23 18:57:21 +01:00
12d09f24c5 First commit 2019-12-23 14:13:13 +01:00