Lines Matching +full:0 +full:x40b
70 * open at the same time is 0xffff - 0x0040 = 0xffbf (65471). This number
74 #define NG_L2CAP_NULL_CID 0x0000 /* DO NOT USE THIS CID */
75 #define NG_L2CAP_SIGNAL_CID 0x0001 /* signaling channel ID */
76 #define NG_L2CAP_CLT_CID 0x0002 /* connectionless channel ID */
77 #define NG_L2CAP_A2MP_CID 0x0003
78 #define NG_L2CAP_ATT_CID 0x0004
79 #define NG_L2CAP_LESIGNAL_CID 0x0005
80 #define NG_L2CAP_SMP_CID 0x0006
81 /* 0x0007 - 0x003f Reserved */
82 #define NG_L2CAP_FIRST_CID 0x0040 /* dynamically alloc. (start) */
83 #define NG_L2CAP_LAST_CID 0xffff /* dynamically alloc. (end) */
84 #define NG_L2CAP_LELAST_CID 0x007f
90 #define NG_L2CAP_MTU_MAXIMUM 0xffff
93 #define NG_L2CAP_FLUSH_TIMO_DEFAULT 0xffff /* always retransmit */
94 #define NG_L2CAP_LINK_TIMO_DEFAULT 0xffff
97 #define NG_L2CAP_REJ_NOT_UNDERSTOOD 0x0000
98 #define NG_L2CAP_REJ_MTU_EXCEEDED 0x0001
99 #define NG_L2CAP_REJ_INVALID_CID 0x0002
100 /* 0x0003 - 0xffff - reserved for future use */
103 #define NG_L2CAP_PSM_ANY 0x0000 /* Any/Invalid PSM */
104 #define NG_L2CAP_PSM_SDP 0x0001 /* Service Discovery Protocol */
105 #define NG_L2CAP_PSM_RFCOMM 0x0003 /* RFCOMM protocol */
106 #define NG_L2CAP_PSM_TCP 0x0005 /* Telephony Control Protocol */
107 /* 0x0006 - 0x1000 - reserved for future use */
110 #define NG_L2CAP_SUCCESS 0x0000
111 #define NG_L2CAP_PENDING 0x0001
112 #define NG_L2CAP_PSM_NOT_SUPPORTED 0x0002
113 #define NG_L2CAP_SEQUIRY_BLOCK 0x0003
114 #define NG_L2CAP_NO_RESOURCES 0x0004
115 #define NG_L2CAP_TIMEOUT 0xeeee
116 #define NG_L2CAP_UNKNOWN 0xffff
117 /* 0x0005 - 0xffff - reserved for future use */
120 #define NG_L2CAP_NO_INFO 0x0000
121 #define NG_L2CAP_AUTH_PENDING 0x0001
122 #define NG_L2CAP_AUTZ_PENDING 0x0002
123 /* 0x0003 - 0xffff - reserved for future use */
126 #define NG_L2CAP_UNACCEPTABLE_PARAMS 0x0001
127 #define NG_L2CAP_REJECT 0x0002
128 #define NG_L2CAP_UNKNOWN_OPTION 0x0003
129 /* 0x0003 - 0xffff - reserved for future use */
132 #define NG_L2CAP_OPT_CFLAG_BIT 0x0001
134 #define NG_L2CAP_OPT_HINT_BIT 0x80
136 #define NG_L2CAP_OPT_HINT_MASK 0x7f
137 #define NG_L2CAP_OPT_MTU 0x01
139 #define NG_L2CAP_OPT_FLUSH_TIMO 0x02
141 #define NG_L2CAP_OPT_QOS 0x03
143 /* 0x4 - 0xff - reserved for future use */
146 #define NG_L2CAP_CONNLESS_MTU 0x0001
147 /* 0x0002 - 0xffff - reserved for future use */
150 #define NG_L2CAP_NOT_SUPPORTED 0x0001
151 /* 0x0002 - 0xffff - reserved for future use */
177 /* L2CAP ConnectionLess Traffic (CLT) (if destination cid == 0x2) */
193 #define NG_L2CAP_CMD_REJ 0x01
214 #define NG_L2CAP_CON_REQ 0x02
221 #define NG_L2CAP_CON_RSP 0x03
225 u_int16_t result; /* 0x00 - success */
226 u_int16_t status; /* more info if result != 0x00 */
230 #define NG_L2CAP_CFG_REQ 0x04
238 #define NG_L2CAP_CFG_RSP 0x05
242 u_int16_t result; /* 0x00 - success */
264 #define NG_L2CAP_DISCON_REQ 0x06
271 #define NG_L2CAP_DISCON_RSP 0x07
275 #define NG_L2CAP_ECHO_REQ 0x08
279 #define NG_L2CAP_ECHO_RSP 0x09
285 #define NG_L2CAP_INFO_REQ 0x0a
291 #define NG_L2CAP_INFO_RSP 0x0b
294 u_int16_t result; /* 0x00 - success */
308 #define NG_L2CAP_CMD_PARAM_UPDATE_REQUEST 0x12
317 #define NG_L2CAP_CMD_PARAM_UPDATE_RESPONSE 0x13
318 #define NG_L2CAP_UPDATE_PARAM_ACCEPT 0
358 #define NG_L2CAP_L2CA_IDTYPE_BREDR 0
363 #define NGM_L2CAP_L2CA_CON 0x80
376 u_int16_t result; /* 0x00 - success */
377 u_int16_t status; /* if result != 0x00 */
382 #define NGM_L2CAP_L2CA_CON_IND 0x81
394 #define NGM_L2CAP_L2CA_CON_RSP 0x82
401 u_int16_t result; /* 0x00 - success */
402 u_int16_t status; /* if response != 0x00 */
407 u_int16_t result; /* 0x00 - success */
411 #define NGM_L2CAP_L2CA_CFG 0x83
423 u_int16_t result; /* 0x00 - success */
430 #define NGM_L2CAP_L2CA_CFG_RSP 0x84
440 u_int16_t result; /* 0x00 - sucsess */
444 #define NGM_L2CAP_L2CA_CFG_IND 0x85
455 #define NGM_L2CAP_L2CA_QOS_IND 0x86
463 #define NGM_L2CAP_L2CA_DISCON 0x87
472 u_int16_t result; /* 0x00 - sucsess */
476 #define NGM_L2CAP_L2CA_DISCON_IND 0x88
482 #define NGM_L2CAP_L2CA_WRITE 0x89
487 int result; /* result (0x00 - success) */
494 #define NGM_L2CAP_L2CA_GRP_CREATE 0x8a
506 #define NGM_L2CAP_L2CA_GRP_CLOSE 0x8b
512 #if 0
515 * u_int16_t result; /* 0x00 - success */
520 #define NGM_L2CAP_L2CA_GRP_ADD_MEMBER 0x8c
529 u_int16_t result; /* 0x00 - success */
533 #define NGM_L2CAP_L2CA_GRP_REM_MEMBER 0x8d
538 #if 0
543 #define NGM_L2CAP_L2CA_GRP_MEMBERSHIP 0x8e
551 u_int16_t result; /* 0x00 - success */
557 #define NGM_L2CAP_L2CA_PING 0x8f
567 u_int16_t result; /* 0x00 - success */
574 #define NGM_L2CAP_L2CA_GET_INFO 0x90
585 u_int16_t result; /* 0x00 - success */
591 #define NGM_L2CAP_L2CA_ENABLE_CLT 0x91
595 u_int16_t enable; /* 0x00 - disable */
598 #if 0
601 * u_int16_t result; /* 0x00 - success */
604 #define NGM_L2CAP_L2CA_ENC_CHANGE 0x92
618 #define NG_L2CAP_CON_CLOSED 0 /* connection closed */
623 #define NG_L2CAP_CLOSED 0 /* channel closed */
632 #define NG_L2CAP_CLT_SDP_DISABLED (1 << 0) /* disable SDP CLT */
643 #define NGM_L2CAP_NODE_GET_FLAGS 0x400 /* L2CAP -> User */
647 #define NGM_L2CAP_NODE_GET_DEBUG 0x401 /* L2CAP -> User */
648 #define NGM_L2CAP_NODE_SET_DEBUG 0x402 /* User -> L2CAP */
651 #define NGM_L2CAP_NODE_HOOK_INFO 0x409 /* L2CAP -> Upper */
656 #define NGM_L2CAP_NODE_GET_CON_LIST 0x40a /* L2CAP -> User */
662 #define NG_L2CAP_CON_TX (1 << 0) /* sending data */
678 ((0xffff - sizeof(ng_l2cap_node_con_list_ep))/sizeof(ng_l2cap_node_con_ep))
680 #define NGM_L2CAP_NODE_GET_CHAN_LIST 0x40b /* L2CAP -> User */
699 ((0xffff - sizeof(ng_l2cap_node_chan_list_ep))/sizeof(ng_l2cap_node_chan_ep))
701 #define NGM_L2CAP_NODE_GET_AUTO_DISCON_TIMO 0x40c /* L2CAP -> User */
702 #define NGM_L2CAP_NODE_SET_AUTO_DISCON_TIMO 0x40d /* User -> L2CAP */