Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OSPFv2 DBD (ospfv2_dbd)

  • Layer: L3 (network)
  • Header: variable length

Reached from

Lower layerSelectorValue
ospfv2type2 (0x02)

Fields

FieldTypeDefaultAutoDescription
interface_mtuuint(16)1500Largest IP datagram the interface can send without fragmentation.
optionsflags(8)0x2Optional capabilities (E, MC, N/P, L, DC, O, DN bits).
flagsflags(8)0x7Database Description flags (I = init, M = more, MS = master).
dd_sequenceuint(32)1Database Description sequence number.
lsa_headerslist<struct> — rest of the PDULSA headers (20 octets each; checksums and lengths are Manual).

options

BitMaskName
01 (0x01)mt
12 (0x02)e
24 (0x04)mc
38 (0x08)np
416 (0x10)l
532 (0x20)dc
664 (0x40)o
7128 (0x80)dn

flags

BitMaskName
24 (0x04)init
12 (0x02)more
01 (0x01)master

lsa_headers

Each item is a group of the fields below.

FieldTypeDefaultAutoDescription
ls_ageuint(16)
optionsuint(8)
ls_typeuint(8)
link_state_idipv4
advertising_routeripv4
ls_sequenceuint(32)
ls_checksumuint(16)
lengthuint(16)

Sample templates

  • ospfv2-dbd — templates/protocols/routing/ospfv2-dbd.wpg.yaml