M
M. R.
hi @all
I would like to create a custom network packet with:
layer 2: ethernet
layer 3: ip
At first, I want to create a ip packet and set some header fields (for
example the TOS-byte) by myself. After that, I take the created
ip-packet and nest it into a new ethernet packet, which I create too.
Also, I would like to change the header fields in the ethernet packet
(e.g. cos-field). Over a raw socket, I'll send the packet to a other
station in the network.
Has anyone a solution or any experience? thanks for help...
I would like to create a custom network packet with:
layer 2: ethernet
layer 3: ip
At first, I want to create a ip packet and set some header fields (for
example the TOS-byte) by myself. After that, I take the created
ip-packet and nest it into a new ethernet packet, which I create too.
Also, I would like to change the header fields in the ethernet packet
(e.g. cos-field). Over a raw socket, I'll send the packet to a other
station in the network.
Has anyone a solution or any experience? thanks for help...