Hello, I want to broadcast all packets to all the nodes
on my LAN, because I put some information on alle the packets
that all the nodes need.
When I used a hub, this was done
by setting the NIC's in promiscous mode, and it worked fine. 
But now I have to do the same thing with a switch, and the
only solution I found is to broadcast all the packets, and
recognize them in the NIC driver.
My question is: When I receive a packet by broadcast, and I
find out that the packet is ment for this node, how do I send
the packet up to the IP-layer?
Which part of the sk_buff has to be changed so the kernel recognize
it as a normal unicast packet when I call netif_rx()?
I want to do the approriate changes to the skb, and then call netif_rx()
as usual.

Svend Eriksen
Unik

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to