l2cap.h (39d5a3ee355fa903ef4609402c79f570eb9fc4d2) | l2cap.h (58d35f87effa0235181a24d55576aaa756ef7312) |
---|---|
1/* 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 4 Copyright (C) 2009-2010 Gustavo F. Padovan <gustavo@padovan.org> 5 Copyright (C) 2010 Google Inc. 6 7 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> 8 --- 300 unchanged lines hidden (view full) --- 309 310 __u8 remote_tx_win; 311 __u8 remote_max_tx; 312 __u16 remote_mps; 313 314 struct timer_list retrans_timer; 315 struct timer_list monitor_timer; 316 struct timer_list ack_timer; | 1/* 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 4 Copyright (C) 2009-2010 Gustavo F. Padovan <gustavo@padovan.org> 5 Copyright (C) 2010 Google Inc. 6 7 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> 8 --- 300 unchanged lines hidden (view full) --- 309 310 __u8 remote_tx_win; 311 __u8 remote_max_tx; 312 __u16 remote_mps; 313 314 struct timer_list retrans_timer; 315 struct timer_list monitor_timer; 316 struct timer_list ack_timer; |
317 struct sk_buff *tx_send_head; 318 struct sk_buff_head tx_q; |
|
317 struct sk_buff_head srej_q; 318 struct sk_buff_head busy_q; 319 struct work_struct busy_work; 320 struct list_head srej_l; 321 322 struct list_head list; 323}; 324 --- 25 unchanged lines hidden (view full) --- 350}; 351 352#define L2CAP_INFO_CL_MTU_REQ_SENT 0x01 353#define L2CAP_INFO_FEAT_MASK_REQ_SENT 0x04 354#define L2CAP_INFO_FEAT_MASK_REQ_DONE 0x08 355 356/* ----- L2CAP socket info ----- */ 357#define l2cap_pi(sk) ((struct l2cap_pinfo *) sk) | 319 struct sk_buff_head srej_q; 320 struct sk_buff_head busy_q; 321 struct work_struct busy_work; 322 struct list_head srej_l; 323 324 struct list_head list; 325}; 326 --- 25 unchanged lines hidden (view full) --- 352}; 353 354#define L2CAP_INFO_CL_MTU_REQ_SENT 0x01 355#define L2CAP_INFO_FEAT_MASK_REQ_SENT 0x04 356#define L2CAP_INFO_FEAT_MASK_REQ_DONE 0x08 357 358/* ----- L2CAP socket info ----- */ 359#define l2cap_pi(sk) ((struct l2cap_pinfo *) sk) |
358#define TX_QUEUE(sk) (&l2cap_pi(sk)->tx_queue) | |
359 360struct l2cap_pinfo { 361 struct bt_sock bt; 362 __le16 psm; 363 __u16 dcid; 364 __u16 scid; 365 366 __u16 imtu; --- 12 unchanged lines hidden (view full) --- 379 __u8 tx_win; 380 __u8 max_tx; 381 __u16 retrans_timeout; 382 __u16 monitor_timeout; 383 __u16 mps; 384 385 __le16 sport; 386 | 360 361struct l2cap_pinfo { 362 struct bt_sock bt; 363 __le16 psm; 364 __u16 dcid; 365 __u16 scid; 366 367 __u16 imtu; --- 12 unchanged lines hidden (view full) --- 380 __u8 tx_win; 381 __u8 max_tx; 382 __u16 retrans_timeout; 383 __u16 monitor_timeout; 384 __u16 mps; 385 386 __le16 sport; 387 |
387 struct sk_buff_head tx_queue; | |
388 struct l2cap_conn *conn; 389 struct l2cap_chan *chan; 390}; 391 392#define L2CAP_CONF_REQ_SENT 0x01 393#define L2CAP_CONF_INPUT_DONE 0x02 394#define L2CAP_CONF_OUTPUT_DONE 0x04 395#define L2CAP_CONF_MTU_DONE 0x08 --- 76 unchanged lines hidden --- | 388 struct l2cap_conn *conn; 389 struct l2cap_chan *chan; 390}; 391 392#define L2CAP_CONF_REQ_SENT 0x01 393#define L2CAP_CONF_INPUT_DONE 0x02 394#define L2CAP_CONF_OUTPUT_DONE 0x04 395#define L2CAP_CONF_MTU_DONE 0x08 --- 76 unchanged lines hidden --- |