History

NFC: llcp: Implement socket options

Some LLCP services (e.g. the validation ones) require some control over the LLCP link parameters like the receive window (RW) or the MIU extension (MIUX). This can only be done through socket options.

Samuel Ortiz committed 13 years ago

Commit 26fd76c1 parent e4306be4 files · +125 −2Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/nfc.h+4−0
@@ -220,4 +220,8 @@ struct sockaddr_nfc_llcp { · 219 unmodified lines
220220 #define NFC_LLCP_DIRECTION_RX 0x00
221221 #define NFC_LLCP_DIRECTION_TX 0x01
222222
223+/* socket option names */
224+#define NFC_LLCP_RW 0
225+#define NFC_LLCP_MIUX 1
226+
223227 #endif /*__LINUX_NFC_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t