* Network Drivers Master Slave
@ 2011-03-04 4:14 sugnan prabhu
2011-03-04 9:08 ` Alice Chan
0 siblings, 1 reply; 2+ messages in thread
From: sugnan prabhu @ 2011-03-04 4:14 UTC (permalink / raw)
To: kernelnewbies
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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110304/3fddf567/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Network Drivers Master Slave
2011-03-04 4:14 Network Drivers Master Slave sugnan prabhu
@ 2011-03-04 9:08 ` Alice Chan
0 siblings, 0 replies; 2+ messages in thread
From: Alice Chan @ 2011-03-04 9:08 UTC (permalink / raw)
To: kernelnewbies
Hi,
Have a look at bonding driver. This might help.
Best Regards,
Alice
2011/3/4 sugnan prabhu <sugnan.prabhu@gmail.com>:
>
> 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
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-04 9:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 4:14 Network Drivers Master Slave sugnan prabhu
2011-03-04 9:08 ` Alice Chan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).