Go to the documentation of this file.
28 #include <linux/types.h>
29 #include <linux/socket.h>
36 #define HINT_COMPUTER 0x04
37 #define HINT_PRINTER 0x08
38 #define HINT_MODEM 0x10
41 #define HINT_EXTENSION 0x80
44 #define HINT_TELEPHONY 0x01
45 #define HINT_FILE_SERVER 0x02
46 #define HINT_COMM 0x04
47 #define HINT_MESSAGE 0x08
48 #define HINT_HTTP 0x10
49 #define HINT_OBEX 0x20
53 #define CS_ISO_8859_1 0x01
54 #define CS_ISO_8859_2 0x02
55 #define CS_ISO_8859_3 0x03
56 #define CS_ISO_8859_4 0x04
57 #define CS_ISO_8859_5 0x05
58 #define CS_ISO_8859_6 0x06
59 #define CS_ISO_8859_7 0x07
60 #define CS_ISO_8859_8 0x08
61 #define CS_ISO_8859_9 0x09
62 #define CS_UNICODE 0xff
92 #define IRLMP_ENUMDEVICES 1
93 #define IRLMP_IAS_SET 2
94 #define IRLMP_IAS_QUERY 3
95 #define IRLMP_HINTS_SET 4
96 #define IRLMP_QOS_SET 5
97 #define IRLMP_QOS_GET 6
98 #define IRLMP_MAX_SDU_SIZE 7
99 #define IRLMP_IAS_GET 8
100 #define IRLMP_IAS_DEL 9
101 #define IRLMP_HINT_MASK_SET 10
102 #define IRLMP_WAITDEVICE 11
104 #define IRTTP_MAX_SDU_SIZE IRLMP_MAX_SDU_SIZE
106 #define IAS_MAX_STRING 256
107 #define IAS_MAX_OCTET_STRING 1024
108 #define IAS_MAX_CLASSNAME 60
109 #define IAS_MAX_ATTRIBNAME 60
110 #define IAS_MAX_ATTRIBNUMBER 256
113 #define IAS_EXPORT_CLASSNAME 64
114 #define IAS_EXPORT_ATTRIBNAME 256
117 #define IAS_MISSING 0
118 #define IAS_INTEGER 1
119 #define IAS_OCT_SEQ 2
122 #define LSAP_ANY 0xff
164 #define SIOCSDONGLE (SIOCDEVPRIVATE + 0)
165 #define SIOCGDONGLE (SIOCDEVPRIVATE + 1)
166 #define SIOCSBANDWIDTH (SIOCDEVPRIVATE + 2)
167 #define SIOCSMEDIABUSY (SIOCDEVPRIVATE + 3)
168 #define SIOCGMEDIABUSY (SIOCDEVPRIVATE + 4)
169 #define SIOCGRECEIVING (SIOCDEVPRIVATE + 5)
170 #define SIOCSMODE (SIOCDEVPRIVATE + 6)
171 #define SIOCGMODE (SIOCDEVPRIVATE + 7)
172 #define SIOCSDTRRTS (SIOCDEVPRIVATE + 8)
173 #define SIOCGQOS (SIOCDEVPRIVATE + 9)
212 #define ifr_baudrate ifr_ifru.ifru_qos.baudrate
213 #define ifr_receiving ifr_ifru.ifru_receiving
214 #define ifr_dongle ifr_ifru.ifru_dongle
215 #define ifr_mode ifr_ifru.ifru_mode
216 #define ifr_dtr ifr_ifru.ifru_line.dtr
217 #define ifr_rts ifr_ifru.ifru_line.rts
221 #define IRDA_NL_NAME "irda"
222 #define IRDA_NL_VERSION 1
231 #define IRDA_NL_CMD_MAX (__IRDA_NL_CMD_AFTER_LAST - 1)
240 #define IRDA_NL_ATTR_MAX (__IRDA_NL_ATTR_AFTER_LAST - 1)
243 #define IRDA_MODE_PRIMARY 0x1
244 #define IRDA_MODE_SECONDARY 0x2
245 #define IRDA_MODE_MONITOR 0x4