git-svn-id: https://spexeah.com:8443/svn/Asuro@680 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
63b6fd1670
commit
80e373f871
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/arp.ppu
BIN
lib/arp.ppu
Binary file not shown.
BIN
lib/asuro.ppu
BIN
lib/asuro.ppu
Binary file not shown.
BIN
lib/eth2.ppu
BIN
lib/eth2.ppu
Binary file not shown.
BIN
lib/ipv4.ppu
BIN
lib/ipv4.ppu
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
BIN
lib/shell.ppu
BIN
lib/shell.ppu
Binary file not shown.
BIN
lib/terminal.ppu
BIN
lib/terminal.ppu
Binary file not shown.
@ -35,7 +35,7 @@ var
|
||||
|
||||
begin
|
||||
push_trace('eth2.recv');
|
||||
writeToLogLn('L2: eth2.recv');
|
||||
writeToLogLn(' L2: eth2.recv');
|
||||
//console.outputln('net.eth2', 'RECV.');
|
||||
buf:= puint8(p_data);
|
||||
|
||||
|
@ -70,7 +70,7 @@ var
|
||||
|
||||
begin
|
||||
push_trace('arp.recv');
|
||||
writeToLogLn('L3: arp.recv');
|
||||
writeToLogLn(' L3: arp.recv');
|
||||
{ Get our converted Header }
|
||||
Header:= PARPHeader(p_data);
|
||||
AHeader.Hardware_Type:= (Header^.Hardware_Type_Hi SHL 8) + Header^.Hardware_Type_Lo;
|
||||
@ -84,31 +84,31 @@ begin
|
||||
copyIPv4(@Header^.Destination_Protocol[0], @AHeader.Destination_Protocol[0]);
|
||||
case AHeader.Operation of
|
||||
$1:begin { ARP Request }
|
||||
writeToLogLn(' arp.recv.arp.req');
|
||||
writeToLogLn(' arp.recv.arp.req');
|
||||
end;
|
||||
$2:begin { ARP Reply }
|
||||
writeToLogLn(' arp.recv.arp.rep');
|
||||
writeToLogLn(' arp.recv.arp.rep');
|
||||
end;
|
||||
$3:begin { RARP Request }
|
||||
writeToLogLn(' arp.recv.rarp.req');
|
||||
writeToLogLn(' arp.recv.rarp.req');
|
||||
end;
|
||||
$4:begin { RARP Reply }
|
||||
writeToLogLn(' arp.recv.rarp.rep');
|
||||
writeToLogLn(' arp.recv.rarp.rep');
|
||||
end;
|
||||
$5:begin { DRARP Request }
|
||||
writeToLogLn(' arp.recv.drarp.req');
|
||||
writeToLogLn(' arp.recv.drarp.req');
|
||||
end;
|
||||
$6:begin { DRARP Reply }
|
||||
writeToLogLn(' arp.recv.drarp.rep');
|
||||
writeToLogLn(' arp.recv.drarp.rep');
|
||||
end;
|
||||
$7:begin { DRARP Error }
|
||||
writeToLogLn(' arp.recv.drarp.err');
|
||||
writeToLogLn(' arp.recv.drarp.err');
|
||||
end;
|
||||
$8:begin { InARP Request }
|
||||
writeToLogLn(' arp.recv.inarp.req');
|
||||
writeToLogLn(' arp.recv.inarp.req');
|
||||
end;
|
||||
$9:begin { InARP Reply }
|
||||
writeToLogLn(' arp.recv.inarp.rep');
|
||||
writeToLogLn(' arp.recv.inarp.rep');
|
||||
end;
|
||||
end;
|
||||
pop_trace;
|
||||
|
@ -29,7 +29,7 @@ var
|
||||
|
||||
begin
|
||||
push_trace('ipv4.recv');
|
||||
writeToLogLn('L3: ipv4.recv');
|
||||
writeToLogLn(' L3: ipv4.recv');
|
||||
Header:= PIPV4Header(p_data);
|
||||
AHeader.version:= Header^.version;
|
||||
AHeader.header_len:= Header^.header_len;
|
||||
|
@ -16,7 +16,7 @@ const
|
||||
NASM_VERSION = '2.10.09';
|
||||
MAKE_VERSION = '3.81';
|
||||
COMPILE_DATE = '10/05/18';
|
||||
COMPILE_TIME = '09:02:09';
|
||||
COMPILE_TIME = '09:07:10';
|
||||
|
||||
implementation
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user