Commit Graph

29 Commits

Author SHA1 Message Date
Lee Smet 26819c2953 Expose API method to remove existing peer
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 17:20:06 +01:00
Lee Smet a8122f8621 Fix operationId typo for addPeer in docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 16:01:41 +01:00
Lee Smet c26d8f8812 Expose API method to add new peer
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 15:58:00 +01:00
Lee Smet e2d1c52231 Add get_info endpoint to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 11:45:49 +01:00
Lee Smet aca36211ca Correct get peers path in docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 11:30:12 +01:00
Florian Klink f1b785c42d fix some typos, update example IPs to 400:/7 subnet 2024-02-26 20:55:47 +02:00
Lee Smet b61581d52d Add get_fallback_routes endpoint to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-26 15:48:32 +01:00
Lee Smet 38df75fd28 Add get_selected_routes endpoint to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-26 15:07:50 +01:00
Lee Smet a24ed4f0b1 Add Route tag to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-26 12:11:17 +01:00
Lee Smet f8bc7f976f Document get_peers method in API spec
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-23 16:08:10 +01:00
Lee Smet eb3b454dd4 Close #126: Increase packet length field size
This increases the potential max size of packet to 512K, in case we ever
want to enable TSO/GSO/GRO.

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-21 12:09:20 +01:00
a-kenji 8fa6c830fb Fix various typos 2024-02-20 11:23:09 +01:00
Lee Smet f8f146502a Fix typo in data_packet docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-12-01 15:59:13 +01:00
Lee Smet 17ac202d40 Close #80: Keep track of TTL for data packets
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-12-01 11:51:32 +01:00
Lee Smet 7991f4b36e Fix typo in packet docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-27 13:27:23 +01:00
Lee Smet d1ff31b084 Clsoe #62: Make topic part of init packet
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-15 15:46:50 +01:00
Lee Smet 5d3130c91c Add basic docs about the current message system
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-03 17:53:53 +01:00
Lee Smet 0444ef0dfa Update api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-03 17:32:17 +01:00
Lee Smet aac6081e6e Add reply methods to API spec
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-02 17:46:33 +01:00
Lee Smet 7d4628a295 Fix api doc LICENSE link
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 16:12:07 +02:00
Lee Smet d0c8a813d5 Allow long poll when reading new messages
Also unify the peek and pop handlers

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 15:45:51 +02:00
Lee Smet def11c5a6e Make status variable of message lowercase in API
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 13:08:06 +02:00
Lee Smet b01d7f0fb3 Allow sending messages to public keys as well
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 13:05:33 +02:00
Lee Smet c653c6be23 Add SRC and DST IP when peeking/popping message
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 11:37:37 +02:00
Lee Smet 08db57a6a0 Update message API doc paths
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 11:05:33 +02:00
Lee Smet 94eb831227 Add initial API spec
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-26 13:54:36 +02:00
Lee Smet 352f2f2903 Add protocol version in packet header
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-09-25 16:14:35 +02:00
Lee Smet 188415b6de Add basic DataPacket documentation
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-09-21 17:15:01 +02:00
Lee Smet d873c67492 Add basic packet docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-09-21 16:46:19 +02:00