Sending Ethernet frames
From: Patrik Arlos (Patrik.Arlos_at_bth.se)
Date: 03/21/05
- Previous message: FreeBSD bugmaster: "Current problem reports assigned to you"
- Next in thread: Don Bowman: "RE: Sending Ethernet frames"
- Maybe reply: Don Bowman: "RE: Sending Ethernet frames"
- Reply: Giorgos Keramidas: "Re: Sending Ethernet frames"
- Reply: Bruce M Simpson: "Re: Sending Ethernet frames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <freebsd-net@freebsd.org> Date: Mon, 21 Mar 2005 14:05:48 +0100
Hi,
I'm trying to send 'raw' Ethernet frames. I have however not found any
examples of how to do this in BSD.
Is it possible to open a 'ethernet' socket, similar to a AF_INET? I need to
be able to control the destination address and type/len field in the
Ethernet header.
In Linux it is possible open a SOCK_RAW and bind it to a particular
interface, I've tried to use the sockadd_dl but in this case bind dies with
error 22, any way to do this?
/Patrik
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: FreeBSD bugmaster: "Current problem reports assigned to you"
- Next in thread: Don Bowman: "RE: Sending Ethernet frames"
- Maybe reply: Don Bowman: "RE: Sending Ethernet frames"
- Reply: Giorgos Keramidas: "Re: Sending Ethernet frames"
- Reply: Bruce M Simpson: "Re: Sending Ethernet frames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|