apalaios@cs.teiath.gr wrote:
check out man 7 raw. the work like any other socket, except for that they can have a socket option set so that only L2 data is constructed for you. All the L3 data is left for the user to construct. Alternatively check out packet sockets (man 7 packet). they even let you construct the L2 data, I believe.Can u give me more info about raw sockets??? I know about tun/tap device but i am not sure that can provide what i need.... I want to send some raw ethernet frames with my data inside them... istead of carryinng other protocols inside... Thx
Quoting Henrik Nordstrom <hno@marasystems.com>:
On Sun, 29 Aug 2004 apalaios@cs.teiath.gr wrote:
Hi there do u know where i can find a program that can send ethernetframes
using only the mac addresses? I need one for some test purposes...
Just open a raw socket, or use a tun/tap device.
what kind of tests are you looking into?
Regards Henrik
----------------------------------------------------------------
This message was sent through the TEI of ATHENS by means of NOC. -
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Neil
-- /*************************************************** *Neil Horman *Software Engineer *Red Hat, Inc. *nhorman@redhat.com *gpg keyid: 1024D / 0x92A74FA1 *http://pgp.mit.edu ***************************************************/
- : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html