public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavan Savoy <pavan_savoy@yahoo.co.in>
To: linux-bluetooth@vger.kernel.org
Subject: promisc mode and broadcast BT sockets
Date: Fri, 4 Sep 2009 17:59:25 +0530 (IST)	[thread overview]
Message-ID: <177499.67132.qm@web94915.mail.in2.yahoo.com> (raw)

Hi,

I remember that eth0 had some flags which sets the raw sockets into promisc mode, so that we can receive the sockets on the interface even if we are not the intended host.
does something like this exist for BT sockets ?

If a user-space process is creating the socket, I understand that the process which does _create, _bind would get the events which it is supposed to, but how ?

example: I run hcitool scan, and a remote pairing request comes in, would the hcitool process also have access to the pairing request ?

if YES- then good - my work is done,
but if NO -- How do I make it to ? + How do I make it receive if the socket is created and does in-kernel socket calls [the hacked up way of get_fs/set_fs of KERNEL_DS].


Thanks in advance.


      Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com


             reply	other threads:[~2009-09-04 12:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-04 12:29 Pavan Savoy [this message]
2009-09-07  9:56 ` promisc mode and broadcast BT sockets Pavan Savoy
2009-09-07 17:00   ` HFP - A2DP in BlueZ Jothikumar Mothilal
2009-09-07 17:32     ` Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=177499.67132.qm@web94915.mail.in2.yahoo.com \
    --to=pavan_savoy@yahoo.co.in \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox