This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* think this is good way to send ethernet frame, commented where needed. | |
use code for experimentation ,use man pages if u want to build something from it... | |
some useful man pages on my machine were: man 2 socket, man 7 socket, man 7 packet, man 7 netdevice, man 7 raw | |
to slap a licence i'd say gpl-2 so that. https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
this gist inspired me to make one which is more tuned to actual raw eth frames and is a bit more complete/correct | |
in that regard in my opinion. | |
https://gist.github.com/austinmarton/1922600 | |