Searched hist:f29972de (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/net/bluetooth/ |
H A D | l2cap.h | f29972de Wed Feb 11 22:07:45 CST 2009 Marcel Holtmann <marcel@holtmann.org> Bluetooth: Add CID field to L2CAP socket address structure
In preparation for L2CAP fixed channel support, the CID value of a L2CAP connection needs to be accessible via the socket interface. The CID is the connection identifier and exists as source and destination value. So extend the L2CAP socket address structure with this field and change getsockname() and getpeername() to fill it in.
The bind() and connect() functions have been modified to handle L2CAP socket address structures of variable sizes. This makes them future proof if additional fields need to be added.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> f29972de Wed Feb 11 22:07:45 CST 2009 Marcel Holtmann <marcel@holtmann.org> Bluetooth: Add CID field to L2CAP socket address structure In preparation for L2CAP fixed channel support, the CID value of a L2CAP connection needs to be accessible via the socket interface. The CID is the connection identifier and exists as source and destination value. So extend the L2CAP socket address structure with this field and change getsockname() and getpeername() to fill it in. The bind() and connect() functions have been modified to handle L2CAP socket address structures of variable sizes. This makes them future proof if additional fields need to be added. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
|