Commit Graph

369 Commits

Author SHA1 Message Date
Mark Spanbroek fe391af848 Packet types `Initial`, `0-RTT`, `Handshake` and `Retry` 2020-09-17 20:35:01 +02:00
Mark Spanbroek c8f1205116 Recognize version negotiation packets 2020-09-17 20:35:01 +02:00
Mark Spanbroek 9ea715662b Add QUIC version to packet header 2020-09-17 20:35:01 +02:00
Mark Spanbroek 813b44f712 Slightly better ordering of procs 2020-09-17 20:35:01 +02:00
Mark Spanbroek 84ab75184c Set individual bytes in a uint32 using MSB 0 indexing 2020-09-17 20:35:01 +02:00
Mark Spanbroek d2d590ada3 Rename: kind -> form
"Header Form" is the term from the QUIC spec
2020-09-17 20:35:01 +02:00
Mark Spanbroek 29d7b5cb7c Ensure that second bit of the header is always 1 2020-09-17 20:35:01 +02:00
Mark Spanbroek db9febbb19 Store its kind in the first bit of the header 2020-09-17 20:35:01 +02:00
Mark Spanbroek 0ca8fd9f27 Put all tests in suites 2020-09-17 20:35:01 +02:00
Mark Spanbroek 63f61b2c72 Add operations for setting bits using MSB 0 indexing
The QUIC spec (and all other RFC's) use MSB 0 indexing.
2020-09-17 20:35:01 +02:00
Mark Spanbroek ce52086d4e Add PacketNumber 2020-09-17 20:35:01 +02:00
Mark Spanbroek 24cc943dfb Add PacketHeader 2020-09-17 20:35:01 +02:00
Mark Spanbroek cdebcf863f Update readme: nim-ngtcp2 no longer requires CMake 2020-09-08 11:02:40 +02:00
Mark Spanbroek 6f7d29fc65 Add dependency on ngtcp2 2020-09-07 16:32:28 +02:00
Mark Spanbroek baad9c8018 Add .gitignore for Nim compiled files 2020-09-07 16:32:28 +02:00
Mark Spanbroek 8565ee1124 Fix CI
Because we're building a library without an executable, 
running `nimble build` doesn't make sense.
2020-09-03 10:48:09 +02:00
Mark Spanbroek 1f4d3993e4 Continuous integration with Github actions 2020-09-03 10:41:05 +02:00
Mark Spanbroek 3ed06e148d Add Readme 2020-09-03 10:26:46 +02:00
Mark Spanbroek 5936c89813 Project setup 2020-09-03 10:05:46 +02:00