mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
22 lines
643 B
C#
22 lines
643 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace KudzuTest {
|
|
public class RTL8139 {
|
|
|
|
public static void Test() {
|
|
var xFrame = new Frame();
|
|
xFrame.Init1();
|
|
//xFrame.SetEthSrcMAC(0x52, 0x54, 0x00, 0x12, 0x34, 0x57);
|
|
//xFrame.SetIPSrcAddr(10, 0, 2, 15);
|
|
////xFrame.SetIPDestAddr(255, 255, 255, 255);
|
|
//xFrame.UpdateIPChecksum();
|
|
//xFrame.UpdateUDPChecksum();
|
|
//// Ethernet frame CRC - Done by card?
|
|
|
|
//xFrame = new Frame();
|
|
//xFrame.Init2();
|
|
}
|
|
}
|
|
}
|