Skip to content

Commit 0b9b7fa

Browse files
committed
briefly define fragementation protocol
1 parent 38e806c commit 0b9b7fa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Overview.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,20 @@ NDN Layer:
2929
* Abstract Face that can be inherited by OS/SDK specific adaptations.
3030
* DirectFace to support app-forwarder communication for single-thread applications.
3131
* DummyFace for test only.
32+
* Fragmentation: reuses the [ndn-riot](https://github.com/named-data-iot/ndn-riot) fragmentation header (3 bytes header)
33+
```
34+
0 1 2 3
35+
0 1 2 3 8 15 23
36+
+-+-+--+----+----------------------+
37+
|1|X|MF|Seq#| Identification |
38+
+-+-+--+----+----------------------+
39+
40+
First bit: header bit, always 1 (indicating the fragmentation header)
41+
Second bit: reserved, always 0
42+
Third bit: MF bit, 1 indicating the last frame
43+
4th to 8th bit: sequence number (5 bits, encoding up to 31)
44+
9th to 24th bit: identification (2-byte random number)
45+
```
3246

3347
Security:
3448
* Crypto front end which supports OS/SDK specific crypto back-end implementation.

0 commit comments

Comments
 (0)