Project

General

Profile

LSAs » History » Version 2

Ashlesh Gawande, 06/21/2017 10:42 AM

1 1 Vince Lehman
LSAs
2
====
3
4 2 Ashlesh Gawande
NLSR no longer uses a combined sequence number as [1523](https://redmine.named-data.net/issues/1523) has been merged.
5
It uses a separate sequence number for each type of LSA.
6
7 1 Vince Lehman
## Combined Sequence Number
8
9
The sequence numbers for each LSA type are combined and synced as one 64-bit sequence number.
10
11
The Name LSA sequence number is represented by a 24-bit value.
12
13
The Adjacency LSA and Coordinate LSA sequence numbers are represented by 20-bit values.
14
15
The sequence numbers are combined as follows:
16
17
    Combined sequence number = (Name LSA SeqNo << 40) | (Coordinate LSA SeqNo << 20) | (Adjacency LSA SeqNo)