Lines Matching refs:opt
561 int sk, dd, opt;
575 opt = hci_test_bit(HCI_RAW, &di.flags);
576 if (ioctl(dd, HCISETRAW, opt) < 0) {
593 opt = 1;
594 if (setsockopt(sk, SOL_HCI, HCI_DATA_DIR, &opt, sizeof(opt)) < 0) {
599 opt = 1;
600 if (setsockopt(sk, SOL_HCI, HCI_TIME_STAMP, &opt, sizeof(opt)) < 0) {
630 int sk = -1, opt = 1;
654 setsockopt(sk, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt));
694 int sk, opt = 1;
700 if (setsockopt(sk, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) < 0) {
747 int err, opt, datagram, nfds = 0;
781 opt = 1;
783 &opt, sizeof(opt));
785 opt = 0;
787 &opt, sizeof(opt));
999 int opt, pppdump_fd = -1, audio_fd = -1;
1003 while ((opt=getopt_long(argc, argv, "i:l:p:m:w:r:s:n:d:taxXRC:H:O:P:D:A:BVYZN46h", main_options, NULL)) != -1) {
1004 switch(opt) {