DRCL J-Sim API

drcl.inet.protocol.ospf
Class OSPF_LSA_Header

java.lang.Object
  extended bydrcl.inet.protocol.ospf.OSPF_LSA_Header

public class OSPF_LSA_Header
extends java.lang.Object

OSPF LSA Header (fixed length = 20 byte). Ref: sec. 12.1 & A.4.1 contains fields: ls_age(2), options(1), type(1), LS_ID(4), Adv_router(4), LS_seqno(4), checksum(2), length(2)

Ref: RFC 2328 sec. 12 Remark: ls_age, options, type, checksum, length in RFC is defined unsigned type Here we use signed type for simplicity. Besides, we replace struct in_addr with long

Author:
Wei-peng Chen
See Also:
OSPF_LSA

Method Summary
 java.lang.Object clone()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()

clone

public java.lang.Object clone()

DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~