Messages in this thread | | | Date | Wed, 29 Mar 2000 17:20:22 +0200 | From | Michel Kaempf <> | Subject | Re: Setting the source MAC address in sent packets |
| |
On Thu, Mar 30, 2000, Martijn van Oosterhout wrote: > How can I set this (I want bridge IPX packets between > two networks *without* changing any of the headers at > all) from a userspace program?
You can create a SOCK_PACKET type socket (and not SOCK_RAW because in SOCK_RAW mode the kernel creates the ethernet header automatically), and then build yourself the ethernet header and the whole ethernet frame. I have an example programe if you need one.
Regards,
-- MaXX
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |