ether-frame
Node module to manipulate ethernet frame headers.
Work in progress. Example below is more API planning than actual support at this point. My current target is a simplistic implementation aiming at a simple IP payload without any fanciness like VLAN tagging, etc.
Example
var EtherFrame = ; var ef = EtherFrame;efsrc === '12:34:56:78:90:12'; // trueefdst === '98:76:54:32:10:98': // trueeftype === 'ip'; // trueeftypeCode === 0x0800; // trueeflength === 14; // truevar payload = buf;var buf = ef;