osdir.com
mailing list archive

Subject: Bluetooth, Mobile IPv6 and PAN profile - msg#00148

List: linux.bluez.devel

Date: Prev Next Index Thread: Prev Next Index
Hi, all.

Has anybody tried to test the Mobile IPv6 over bluetooth with PAN profile?

For example, two node work as NAP with bluetooth and one node as PANU.

If you did, please give me some hint?

Now I am trying on the stuffs.

Thanks a lot.

Best regards.

Haiguang


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: [1/11] bridge - handle delete of multiple devices with same address

Great work Stephen, just tested with Bluetooth PAN and everything works now. For the bluetooth people, here is the bk link to the patch: http://linux.bkbits.net:8080/linux-2.5/cset@40afb9c8_3WOgNFCBlahWsksS_5icQ?nav=index.html|ChangeSet@-3d Thanks to all the people that helped me. Regards, Diego. On Sat, 2004-05-22 at 00:45, Stephen Hemminger wrote: > This fixes the issue discovered when removing bluetooth devices from a bridge. > Need to add special case code when forwarding table is being cleaned up to > handle the case where several devices share the same hardware address. > > (Could fix on 2.4 if there is demand for it) > > diff -Nru a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c > --- a/net/bridge/br_fdb.c 2004-05-20 08:43:46 -07:00 > +++ b/net/bridge/br_fdb.c 2004-05-20 08:43:46 -07:00 > @@ -157,9 +157,28 @@ > hlist_for_each_safe(h, g, &br->hash[i]) { > struct net_bridge_fdb_entry *f > = hlist_entry(h, struct net_bridge_fdb_entry, > hlist); > - if (f->dst == p) { > - fdb_delete(f); > + if (f->dst != p) > + continue; > + > + /* > + * if multiple ports all have the same device address > + * then when one port is deleted, assign > + * the local entry to other port > + */ > + if (f->is_local) { > + struct net_bridge_port *op; > + list_for_each_entry(op, &br->port_list, list) { > + if (op != p && > + !memcmp(op->dev->dev_addr, > + f->addr.addr, ETH_ALEN)) { > + f->dst = op; > + goto skip_delete; > + } > + } > } > + > + fdb_delete(f); > + skip_delete: ; > } > } > write_unlock_bh(&br->hash_lock); ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

Next Message by Date: click to view message preview

Announce : BlueZ-based implemantation of JSR82

Hi, We have developped a JSR-82 implementation for Linux, which is based on BlueZ and which is compatible with most USB-Dongle's. We've used parts of JavaBluetooth.org's works and parts of JBluez's stuff. The native C-Code of the project is entirely based on the BlueZ project and I would like to thanks Marcel Holtmann for his answers to my questions, which were all helpfull. We've decided to make the Linux version OpenSource. The JSR-82 specification is not yet fully implemented but the major part of the work (let say 95%) is done. The package can be downloaded at the following address: http://www.avetana-gmbh.de/avetana-gmbh/jsr82.xml The web site is in german but will be soon translated in english. JSR-82 is a Sun Microsystems specification for easily developping bluetooth based application in Java. Good tutorials can be found on the Java developper Center web site as well as on manay other web sites. For more information about JSR-82, please consult the site: http://www.jcp.org/en/jsr/detail?id=82 Julien Campana, ------------- Avetana GmbH Julien Campana - CTO Beiertheimer Allee 58 D-76137 Karlsruhe E-mail: julien.campana@xxxxxxxxxx Web: http://www.avetana.de ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

Previous Message by Thread: click to view message preview

Re: [1/11] bridge - handle delete of multiple devices with same address

Great work Stephen, just tested with Bluetooth PAN and everything works now. For the bluetooth people, here is the bk link to the patch: http://linux.bkbits.net:8080/linux-2.5/cset@40afb9c8_3WOgNFCBlahWsksS_5icQ?nav=index.html|ChangeSet@-3d Thanks to all the people that helped me. Regards, Diego. On Sat, 2004-05-22 at 00:45, Stephen Hemminger wrote: > This fixes the issue discovered when removing bluetooth devices from a bridge. > Need to add special case code when forwarding table is being cleaned up to > handle the case where several devices share the same hardware address. > > (Could fix on 2.4 if there is demand for it) > > diff -Nru a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c > --- a/net/bridge/br_fdb.c 2004-05-20 08:43:46 -07:00 > +++ b/net/bridge/br_fdb.c 2004-05-20 08:43:46 -07:00 > @@ -157,9 +157,28 @@ > hlist_for_each_safe(h, g, &br->hash[i]) { > struct net_bridge_fdb_entry *f > = hlist_entry(h, struct net_bridge_fdb_entry, > hlist); > - if (f->dst == p) { > - fdb_delete(f); > + if (f->dst != p) > + continue; > + > + /* > + * if multiple ports all have the same device address > + * then when one port is deleted, assign > + * the local entry to other port > + */ > + if (f->is_local) { > + struct net_bridge_port *op; > + list_for_each_entry(op, &br->port_list, list) { > + if (op != p && > + !memcmp(op->dev->dev_addr, > + f->addr.addr, ETH_ALEN)) { > + f->dst = op; > + goto skip_delete; > + } > + } > } > + > + fdb_delete(f); > + skip_delete: ; > } > } > write_unlock_bh(&br->hash_lock); ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

Next Message by Thread: click to view message preview

Re: Bluetooth, Mobile IPv6 and PAN profile

Hi Haiguang, > Has anybody tried to test the Mobile IPv6 over bluetooth with PAN profile? > > For example, two node work as NAP with bluetooth and one node as PANU. > > If you did, please give me some hint? > > Now I am trying on the stuffs. I've never done this nor have I tested IPv6 together with PAN, but the BNEP is only an ethernet emulation and so everything that's working over ethernet should work over BNEP, too. Regards Marcel ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by