Slides from Lecture 11 of 10 October 2002:
11-ospf.pdf
Do read
RFC 2328
; it's the OSPF RFC.