| To: | <netdev@xxxxxxxxxxx>, <linux-net@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Resending ethernet packets to direct neighbours |
| From: | "Weber Matthias" <weber@xxxxxxxxxxxxxxxxxxxx> |
| Date: | Mon, 14 Mar 2005 11:38:48 +0100 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| Thread-index: | AcUoggE72zZ+1SELSK2JGDFMGX4dlw== |
| Thread-topic: | Resending ethernet packets to direct neighbours |
Hi, i have a pc with five ethernet devices onto and want to resend ethernet packets coming in from one device to four direct neighbours (distance 1). Therefore i have installed a packet handler receiving skbs. Now i have the following questions: 1) is it enough to change the skb->dev to the output device, rebuild the ethernet header and call dev_queue_xmit()? 2) how to i get the destination ethernet address of the physically direct neighbour within the packet handler? I believe, that i have to use the neighour caches but have not idea how... Any help would be appreciated! Bye Matthias |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] Fix ax25_get_socket locking, Ralf Baechle DL5RB |
|---|---|
| Next by Date: | [13/*] [IPV4] Fix room calculation in icmp_send, Herbert Xu |
| Previous by Thread: | [PATCH] Fix ax25_get_socket locking, Ralf Baechle DL5RB |
| Next by Thread: | Link detection, Hasso Tepper |
| Indexes: | [Date] [Thread] [Top] [All Lists] |