Struct ospf_parser::OspfLinkStateRequestPacket [−][src]
pub struct OspfLinkStateRequestPacket {
pub header: Ospfv2PacketHeader,
pub requests: Vec<OspfLinkStateRequest>,
}
Expand description
The Link State Request packet
Link State Request packets are OSPF packet type 3. After exchanging Database Description packets with a neighboring router, a router may find that parts of its topological database are out of date. The Link State Request packet is used to request the pieces of the neighbor’s database that are more up to date. Multiple Link State Request packets may need to be used. The sending of Link State Request packets is the last step in bringing up an adjacency.
A router that sends a Link State Request packet has in mind the precise instance of the database pieces it is requesting, defined by LS sequence number, LS checksum, and LS age, although these fields are not specified in the Link State Request Packet itself. The router may receive even more recent instances in response.
The sending of Link State Request packets is documented in Section 10.9. The reception of Link State Request packets is documented in Section 10.7.
Fields
header: Ospfv2PacketHeader
requests: Vec<OspfLinkStateRequest>