|
Message
From: cvs at opencores.org<cvs@o...>
Date: Wed Jan 24 20:32:48 CET 2007
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/07/01 24:20:32 Modified: jop/java/target/src/common/ejip Arp.java Log: use LinkLayer.ip Revision Changes Path 1.8 jop/java/target/src/common/ejip/Arp.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/common/ejip/Arp.java.diff?r1=1.7&r2=1.8 (In the diff below, changes in quantity of whitespace are not shown.) Index: Arp.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/common/ejip/Arp.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -b -r1.7 -r1.8 --- Arp.java 24 Jan 2007 18:14:22 -0000 1.7 +++ Arp.java 24 Jan 2007 19:32:48 -0000 1.8 @@ -152,8 +152,9 @@ public class Arp { + // TODO: change back to package visible - protected static void init() { + public static void init() { Entry.init(); } @@ -259,8 +260,8 @@ // + (p.interf.getIpAddress() >>> 16); // p.buf[4] = (p.interf.getIpAddress() << 16); // we don't know the - p.buf[3] = (eth[4]<<24) + (eth[5]<<16) + (CS8900.ip>>>16); - p.buf[4] = (CS8900.ip<<16); // we don't know the dest. eth. addr. + p.buf[3] = (eth[4]<<24) + (eth[5]<<16) + (CS8900.single.ip>>>16); + p.buf[4] = (CS8900.single.ip<<16); // we don't know the dest. eth. addr. p.buf[5] = 0; p.buf[6] = ip_dest; // destination IP address p.len = 46; // why 46?
|
 |