summaryrefslogtreecommitdiffstats
path: root/include/rfcomm.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-10-29 02:44:56 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-10-29 02:44:56 +0000
commite1650950c01cf268c61b332efbb9b5b3f731a158 (patch)
tree5739dd3061da15813d9d428bf057bfe31e70686d /include/rfcomm.h
parente32d72e13f1ad2b8fb9d97f99e9c2bd5f94771f9 (diff)
Add RFCOMM socket options
Diffstat (limited to 'include/rfcomm.h')
-rw-r--r--include/rfcomm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rfcomm.h b/include/rfcomm.h
index bb79a7a2..8cb8ac47 100644
--- a/include/rfcomm.h
+++ b/include/rfcomm.h
@@ -49,6 +49,14 @@ struct sockaddr_rc {
uint8_t rc_channel;
};
+/* RFCOMM socket options */
+#define RFCOMM_LM 0x03
+#define RFCOMM_LM_MASTER 0x0001
+#define RFCOMM_LM_AUTH 0x0002
+#define RFCOMM_LM_ENCRYPT 0x0004
+#define RFCOMM_LM_TRUSTED 0x0008
+#define RFCOMM_LM_RELIABLE 0x0010
+
/* RFCOMM TTY support */
#define RFCOMM_MAX_DEV 256