From mboxrd@z Thu Jan 1 00:00:00 1970 From: alicechan6405@gmail.com (Alice Chan) Date: Fri, 4 Mar 2011 17:08:14 +0800 Subject: Network Drivers Master Slave In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi, Have a look at bonding driver. This might help. Best Regards, Alice 2011/3/4 sugnan prabhu : > > Hello All, > ?? ? ? ? I have written two network drivers master0 and slave0, where the > packets received by master0 interface?will be forwarded to the?slave0 > interface and?vice versa. I have further linked the master0 interface to a > usb driver in such way that, interface registered only on connecting the usb > device. My requirement is that, when ever the master interface is up,?slave > interface should be brought up automatically and when the?master device is > disconnected then even the slave interface?should be disconnected, so that > the slave interface drops the data.?Can some one give some pointer for doing > this in a right way. > ?I have been trying to understand the pernet device framework, can someone > please explain it briefly. > > Thanks in advance, > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > >