Hi gongyayu,
Yes they are part of LSA Header, see them under the "Type" in your packet:
Example:
Type: Stub ID: 192.168.20.0 Data: 255.255.255.0 Metric: 10 <<<<<<<<<<<<<<<<<<
Link ID: 192.168.20.0 - IP network/subnet number
Link Data: 255.255.255.0 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Link Type: 3 - Connection to a stub network
Number of Metrics: 0 - TOS
0 Metric: 10
The link data is the mask as per RFC:
In addition, the Link Data field is specified for each link.
This field gives 32 bits of extra information for the link.
For links to transit networks, numbered point-to-point links
and virtual links, this field specifies the IP interface
address of the associated router interface (this is needed
by the routing table calculation, see Section 16.1.1). For
links to stub networks, this field specifies the stub
network's IP address mask. For unnumbered point-to-point
links, the Link Data field should be set to the unnumbered
interface's MIB-II [Ref8] ifIndex value.
Hope this helps.
Regards,
-r.
--------------------------------------------------
If this solves your problem, please mark this post as "Accepted Solution."
Kudos are always appreciated :).