.. | .. |
---|
22 | 22 | */ |
---|
23 | 23 | |
---|
24 | 24 | #include <linux/refcount.h> |
---|
| 25 | +#include <linux/android_kabi.h> |
---|
25 | 26 | |
---|
26 | 27 | #ifndef __RFCOMM_H |
---|
27 | 28 | #define __RFCOMM_H |
---|
.. | .. |
---|
34 | 35 | #define RFCOMM_DEFAULT_MTU 127 |
---|
35 | 36 | #define RFCOMM_DEFAULT_CREDITS 7 |
---|
36 | 37 | |
---|
37 | | -#define RFCOMM_MAX_L2CAP_MTU 1013 |
---|
38 | 38 | #define RFCOMM_MAX_CREDITS 40 |
---|
39 | 39 | |
---|
40 | 40 | #define RFCOMM_SKB_HEAD_RESERVE 8 |
---|
.. | .. |
---|
165 | 165 | uint mtu; |
---|
166 | 166 | |
---|
167 | 167 | struct list_head dlcs; |
---|
| 168 | + |
---|
| 169 | + ANDROID_KABI_RESERVE(1); |
---|
168 | 170 | }; |
---|
169 | 171 | |
---|
170 | 172 | struct rfcomm_dlc { |
---|
.. | .. |
---|
198 | 200 | void (*data_ready)(struct rfcomm_dlc *d, struct sk_buff *skb); |
---|
199 | 201 | void (*state_change)(struct rfcomm_dlc *d, int err); |
---|
200 | 202 | void (*modem_status)(struct rfcomm_dlc *d, u8 v24_sig); |
---|
| 203 | + |
---|
| 204 | + ANDROID_KABI_RESERVE(1); |
---|
| 205 | + ANDROID_KABI_RESERVE(2); |
---|
201 | 206 | }; |
---|
202 | 207 | |
---|
203 | 208 | /* DLC and session flags */ |
---|
.. | .. |
---|
356 | 361 | |
---|
357 | 362 | struct rfcomm_dev_list_req { |
---|
358 | 363 | u16 dev_num; |
---|
359 | | - struct rfcomm_dev_info dev_info[0]; |
---|
| 364 | + struct rfcomm_dev_info dev_info[]; |
---|
360 | 365 | }; |
---|
361 | 366 | |
---|
362 | 367 | int rfcomm_dev_ioctl(struct sock *sk, unsigned int cmd, void __user *arg); |
---|