linux/net/nfc/llcp
Thierry Escande 4463523bef NFC: LLCP raw socket support
This adds support for socket of type SOCK_RAW to LLCP.
sk_buff are copied and sent to raw sockets with a 2 bytes extra header:
The first byte header contains the nfc adapter index.
The second one contains flags:
- 0x01 - Direction (0=RX, 1=TX)
- 0x02-0x80 - Reserved
A raw socket has to be explicitly bound to a nfc adapter. This is achieved
by specifying the adapter index to be bound to in the dev_idx field of the
sockaddr_nfc_llcp struct passed to bind().

Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2012-09-27 10:47:59 +02:00
..
commands.c NFC: LLCP raw socket support 2012-09-27 10:47:59 +02:00
Kconfig NFC: Initial LLCP support 2011-12-14 14:50:13 -05:00
llcp.c NFC: LLCP raw socket support 2012-09-27 10:47:59 +02:00
llcp.h NFC: LLCP raw socket support 2012-09-27 10:47:59 +02:00
sock.c NFC: LLCP raw socket support 2012-09-27 10:47:59 +02:00