/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/common/ |
btio.c | 479 struct l2cap_options l2o; local 482 memset(&l2o, 0, sizeof(l2o)); 483 len = sizeof(l2o); 484 if (getsockopt(sock, SOL_L2CAP, L2CAP_OPTIONS, &l2o, 491 l2o.imtu = imtu; 493 l2o.omtu = omtu; 495 if (setsockopt(sock, SOL_L2CAP, L2CAP_OPTIONS, &l2o, 496 sizeof(l2o)) < 0) { 724 struct l2cap_options l2o; local [all...] |