Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/ospf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4499/core/protocolsuite/tcp_ip/ospf
Modified Files:
OSPF.java OSPF_lsatypeone.java
Added Files:
OSPF_Acknowledgement.java
Log Message:
--- NEW FILE: OSPF_Acknowledgement.java ---
(This appears to be a binary file; contents omitted.)
Index: OSPF_lsatypeone.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/ospf/OSPF_lsatypeone.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** OSPF_lsatypeone.java 23 Feb 2006 16:52:54 -0000 1.2
--- OSPF_lsatypeone.java 23 Feb 2006 20:12:41 -0000 1.3
***************
*** 18,22 ****
private int[] VEB; //three main bits in octet.
private int LinkCount;
!
--- 18,22 ----
private int[] VEB; //three main bits in octet.
private int LinkCount;
!
***************
*** 48,51 ****
--- 48,52 ----
}
LinkCount=Count;
+
}
public void OSPFaddlink(String inlinkID, String inLinkData, int intype, int inTos0metric)
Index: OSPF.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/ospf/OSPF.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** OSPF.java 23 Feb 2006 18:56:24 -0000 1.5
--- OSPF.java 23 Feb 2006 20:12:41 -0000 1.6
***************
*** 397,400 ****
--- 397,402 ----
}catch (Exception e) {}
}
+ // operate packet
+
}
***************
*** 440,443 ****
--- 442,455 ----
}
}
+
+ public void SendLinkAcknowledgement(OSPF_lsaheader inheader)
+ {
+ OSPF_Acknowledgement tosend = new OSPF_Acknowledgement();
+ tosend.Setlsaheader(inheader);
+ try
+ {
+ mParentStack.sendPacket(tosend);
+ }catch (Exception e) {}
+ }
/*
*this method to receive link statereqiest
|