I have a question about how to make a handcrafted packet. Below is the example code.
EthernetLayer ethernetLayer =
Source = new MacAddress(HostMacAddress),
Destination = new MacAddress(DestMacAddress),
EtherType = EthernetType.IpV4,
I want set the EtherType property as my own protocol, but I don't know how to do this.
Dose anyone know how can I do?
Instead of the enum of EthernetLayer, EtherType = "0912"
Thanks for your help in advance.