Lines Matching refs:l2o
479 struct l2cap_options l2o;
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;
730 len = sizeof(l2o);
731 memset(&l2o, 0, len);
732 if (getsockopt(sock, SOL_L2CAP, L2CAP_OPTIONS, &l2o, &len) < 0) {
774 *(va_arg(args, uint16_t *)) = l2o.omtu;
777 *(va_arg(args, uint16_t *)) = l2o.imtu;