|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ejip.TcpIp
A minimalistic TCP/IP stack (with ICMP). It's enough to handel a HTTP request (and nothing more)!
Constructor Summary | |
TcpIp()
|
Method Summary | |
static int |
chkSum(int[] buf,
int off,
int cnt)
calc ip header check sum. assume (32 bit) word boundries. rest of buffer is 0. off offset in buffer (in words) cnt length in bytes |
static void |
init()
|
static void |
receive(Packet p)
process one ip packet. change buffer and set length to get a packet sent back. called from Eth.process(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TcpIp()
Method Detail |
public static int chkSum(int[] buf, int off, int cnt)
public static void init()
public static void receive(Packet p)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |