On Fri, Jun 13, 2008 at 4:06 PM, Peter Memishian <[EMAIL PROTECTED]> wrote: > > How can I send and receive raw Ethernet packets in Solaris, given that > > Solaris doesn't support PF_PACKET? > > Through DLPI; man dlpi_open(), dlpi_bind(), dlpi_info(), and dlpi_send() > for starters. There are numerous example programs in the source tree.
And the related question: I want to build an Ethernet frame from scratch and send it out. If I use a different source mac address in the raw frame (say, the NIC's real mac addr is X, and I use Y in the frame), can this frame be sent out? Will the NIC driver drop it when it found this frame strange? Thanks. -- Huafeng _______________________________________________ networking-discuss mailing list [email protected]
