/external/bluetooth/bluez/compat/ |
pand.c | 216 struct l2cap_options l2o; local 244 memset(&l2o, 0, sizeof(l2o)); 245 olen = sizeof(l2o); 246 if (getsockopt(sk, SOL_L2CAP, L2CAP_OPTIONS, &l2o, &olen) < 0) { 252 l2o.imtu = l2o.omtu = BNEP_MTU; 253 if (setsockopt(sk, SOL_L2CAP, L2CAP_OPTIONS, &l2o, sizeof(l2o)) < 0) { 335 struct l2cap_options l2o; local [all...] |
/external/bluetooth/bluez/test/ |
avtest.c | 437 struct l2cap_options l2o; local 440 memset(&l2o, 0, sizeof(l2o)); 441 optlen = sizeof(l2o); 443 if (getsockopt(sk, SOL_L2CAP, L2CAP_OPTIONS, &l2o, &optlen) < 0) { 448 l2o.imtu = 48; 449 l2o.omtu = 48; 451 if (setsockopt(sk, SOL_L2CAP, L2CAP_OPTIONS, &l2o, sizeof(l2o)) < 0) {
|
/external/bluetooth/bluez/btio/ |
btio.c | 547 struct l2cap_options l2o; local 550 memset(&l2o, 0, sizeof(l2o)); 551 len = sizeof(l2o); 552 if (getsockopt(sock, SOL_L2CAP, L2CAP_OPTIONS, &l2o, 559 l2o.imtu = imtu; 561 l2o.omtu = omtu; 563 l2o.mode = mode; 565 if (setsockopt(sock, SOL_L2CAP, L2CAP_OPTIONS, &l2o, 566 sizeof(l2o)) < 0) 851 struct l2cap_options l2o; local [all...] |