Searched defs:ctl (Results 1 - 16 of 16) sorted by relevance

/external/libpcap/
H A Dpcap-enet.c154 struct eniocb ctl; local
174 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) {
182 ctl.en_rtout = 1 * ctl.en_hz;
183 ctl.en_tr_etherhead = 1;
184 ctl.en_tap_network = 1;
185 ctl.en_multi_packet = 1;
186 ctl.en_maxlen = BUFSPACE;
188 ctl.en_rtout = 64; /* randomly picked value for HZ */
190 if (ioctl(if_fd, EIOCSETP, &ctl)
[all...]
H A Dpcap-snit.c210 struct strbuf ctl, data; local
217 ctl.len = sizeof(*sa); /* XXX - what was this? */
218 ctl.buf = (char *)sa;
221 ret = putmsg(p->fd, &ctl, &data);
H A Dpcap-dlpi.c237 static struct strbuf ctl = { variable in typeref:struct:strbuf
284 if (getmsg(p->fd, &ctl, &data, &flags) < 0) {
1123 struct strbuf ctl; local
1126 ctl.maxlen = 0;
1127 ctl.len = len;
1128 ctl.buf = ptr;
1131 if (putmsg(fd, &ctl, (struct strbuf *) NULL, flags) < 0) {
1144 struct strbuf ctl; local
1154 ctl.maxlen = MAXDLBUF;
1155 ctl
1496 struct strbuf ctl, data; local
1625 struct strbuf ctl; local
[all...]
/external/bluetooth/bluez/compat/
H A Dbnep.c44 static int ctl; variable
89 ctl = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_BNEP);
90 if (ctl < 0) {
103 if (!ioctl(ctl, BNEPGETCONNLIST, &req)) {
123 close(ctl);
135 if (ioctl(ctl, bnepgetconnlist, &req)) {
154 if (ioctl(ctl, bnepconndel, &req)) {
169 if (ioctl(ctl, bnepgetconnlist, &req)) {
178 ioctl(ctl, bnepconndel, &req);
191 if (ioctl(ctl, bnepconnad
[all...]
H A Dhidd.c250 static int create_device(int ctl, int csk, int isk, uint8_t subclass, int nosdp, int nocheck, int bootonly, int encrypt, int timeout) argument
341 err = ioctl(ctl, HIDPCONNADD, &req);
350 static void run_server(int ctl, int csk, int isk, uint8_t subclass, int nosdp, int nocheck, int bootonly, int encrypt, int timeout) argument
383 err = create_device(ctl, ncsk, nisk, subclass, nosdp, nocheck, bootonly, encrypt, timeout);
423 static void do_show(int ctl) argument
433 if (ioctl(ctl, HIDPGETCONNLIST, &req) < 0) {
435 close(ctl);
447 static void do_connect(int ctl, bdaddr_t *src, bdaddr_t *dst, uint8_t subclass, int fakehid, int bootonly, int encrypt, int timeout) argument
464 close(ctl);
475 close(ctl);
535 do_search(int ctl, bdaddr_t *bdaddr, uint8_t subclass, int fakehid, int bootonly, int encrypt, int timeout) argument
596 do_kill(int ctl, bdaddr_t *bdaddr, uint32_t flags) argument
699 int opt, ctl, csk, isk; local
[all...]
/external/bluetooth/bluez/network/
H A Dcommon.c47 static int ctl; variable
137 ctl = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_BNEP);
139 if (ctl < 0) {
154 close(ctl);
165 if (ioctl(ctl, BNEPCONNDEL, &req)) {
184 if (ioctl(ctl, BNEPGETCONNLIST, &req)) {
197 ioctl(ctl, BNEPCONNDEL, &del);
211 if (ioctl(ctl, BNEPCONNADD, &req) < 0) {
/external/bluetooth/bluez/tools/
H A Dciptool.c131 static int do_connect(int ctl, int dev_id, bdaddr_t *src, bdaddr_t *dst, unsigned short psm, uint32_t flags) argument
193 if (ioctl(ctl, CMTPCONNADD, &req) < 0) {
201 static void cmd_show(int ctl, bdaddr_t *bdaddr, int argc, char **argv) argument
211 if (ioctl(ctl, CMTPGETCONNLIST, &req) < 0) {
224 static void cmd_search(int ctl, bdaddr_t *bdaddr, int argc, char **argv) argument
262 do_connect(ctl, dev_id, &src, &dst, psm, 0);
272 static void cmd_create(int ctl, bdaddr_t *bdaddr, int argc, char **argv) argument
298 do_connect(ctl, dev_id, &src, &dst, psm, 0);
301 static void cmd_release(int ctl, bdaddr_t *bdaddr, int argc, char **argv) argument
311 if (ioctl(ctl, CMTPGETCONNLIS
334 cmd_loopback(int ctl, bdaddr_t *bdaddr, int argc, char **argv) argument
451 int i, opt, ctl; local
[all...]
H A Dhciconfig.c52 static void print_dev_info(int ctl, struct hci_dev_info *di);
54 static void print_dev_list(int ctl, int flags) argument
67 if (ioctl(ctl, HCIGETDEVLIST, (void *) dl) < 0) {
74 if (ioctl(ctl, HCIGETDEVINFO, (void *) &di) < 0)
82 print_dev_info(ctl, &di);
122 static void cmd_rstat(int ctl, int hdev, char *opt) argument
125 if (ioctl(ctl, HCIDEVRESTAT, hdev) < 0) {
132 static void cmd_scan(int ctl, int hdev, char *opt) argument
145 if (ioctl(ctl, HCISETSCAN, (unsigned long) &dr) < 0) {
152 static void cmd_iac(int ctl, in argument
201 cmd_auth(int ctl, int hdev, char *opt) argument
218 cmd_encrypt(int ctl, int hdev, char *opt) argument
235 cmd_up(int ctl, int hdev, char *opt) argument
247 cmd_down(int ctl, int hdev, char *opt) argument
257 cmd_reset(int ctl, int hdev, char *opt) argument
271 cmd_ptype(int ctl, int hdev, char *opt) argument
289 cmd_lp(int ctl, int hdev, char *opt) argument
307 cmd_lm(int ctl, int hdev, char *opt) argument
325 cmd_aclmtu(int ctl, int hdev, char *opt) argument
345 cmd_scomtu(int ctl, int hdev, char *opt) argument
365 cmd_features(int ctl, int hdev, char *opt) argument
415 cmd_name(int ctl, int hdev, char *opt) argument
654 cmd_class(int ctl, int hdev, char *opt) argument
717 cmd_voice(int ctl, int hdev, char *opt) argument
784 cmd_putkey(int ctl, int hdev, char *opt) argument
822 cmd_delkey(int ctl, int hdev, char *opt) argument
855 cmd_oob_data(int ctl, int hdev, char *opt) argument
885 cmd_commands(int ctl, int hdev, char *opt) argument
924 cmd_version(int ctl, int hdev, char *opt) argument
961 cmd_inq_tpl(int ctl, int hdev, char *opt) argument
996 cmd_inq_mode(int ctl, int hdev, char *opt) argument
1045 cmd_inq_data(int ctl, int hdev, char *opt) argument
1147 cmd_inq_type(int ctl, int hdev, char *opt) argument
1183 cmd_inq_parms(int ctl, int hdev, char *opt) argument
1252 cmd_page_parms(int ctl, int hdev, char *opt) argument
1321 cmd_page_to(int ctl, int hdev, char *opt) argument
1385 cmd_afh_mode(int ctl, int hdev, char *opt) argument
1418 cmd_ssp_mode(int ctl, int hdev, char *opt) argument
1531 cmd_revision(int ctl, int hdev, char *opt) argument
1592 print_dev_info(int ctl, struct hci_dev_info *di) argument
1695 int opt, ctl, i, cmd=0; local
[all...]
/external/bluetooth/bluez/plugins/
H A Dhciops.c279 static int init_known_adapters(int ctl) argument
296 if (ioctl(ctl, HCIGETDEVLIST, (void *) dl) < 0) {
/external/bluetooth/bluez/rfcomm/
H A Dmain.c125 static void print_dev_list(int ctl, int flags) argument
140 if (ioctl(ctl, RFCOMMGETDEVLIST, (void *) dl) < 0) {
149 static int create_dev(int ctl, int dev, uint32_t flags, bdaddr_t *bdaddr, int argc, char **argv) argument
182 err = ioctl(ctl, RFCOMMCREATEDEV, &req);
191 static int create_all(int ctl) argument
214 ioctl(ctl, RFCOMMCREATEDEV, &req);
220 static int release_dev(int ctl, int dev, uint32_t flags) argument
228 err = ioctl(ctl, RFCOMMRELEASEDEV, &req);
235 static int release_all(int ctl) argument
250 if (ioctl(ctl, RFCOMMGETDEVLIS
313 cmd_connect(int ctl, int dev, bdaddr_t *bdaddr, int argc, char **argv) argument
477 cmd_listen(int ctl, int dev, bdaddr_t *bdaddr, int argc, char **argv) argument
643 cmd_watch(int ctl, int dev, bdaddr_t *bdaddr, int argc, char **argv) argument
651 cmd_create(int ctl, int dev, bdaddr_t *bdaddr, int argc, char **argv) argument
659 cmd_release(int ctl, int dev, bdaddr_t *bdaddr, int argc, char **argv) argument
667 cmd_show(int ctl, int dev, bdaddr_t *bdaddr, int argc, char **argv) argument
745 int i, opt, ctl, dev_id, show_all = 0; local
[all...]
/external/ppp/pppd/plugins/rp-pppoe/
H A Dif.c770 struct strbuf ctl; local
776 ctl.maxlen = 0;
777 ctl.len = sizeof (promiscon_req);
778 ctl.buf = (char *) &promiscon_req;
782 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
790 struct strbuf ctl; local
795 ctl.maxlen = 0;
796 ctl.len = sizeof (info_req);
797 ctl.buf = (char *) &info_req;
801 if (putmsg(fd, &ctl, (struc
809 struct strbuf data, ctl; local
836 struct strbuf ctl; local
868 struct strbuf ctl; local
891 struct strbuf ctl; local
910 struct strbuf ctl; local
942 struct strbuf ctl; local
[all...]
/external/strace/
H A Dsystem.c1987 char ctl[1024]; local
2003 i = sizeof(ctl);
2005 if (sysctl(qoid, tcp->u_arg[1] + 2, ctl, &i, 0, 0) >= 0) {
2007 tprintf("%s%s", ctl, numeric ? ", " : "");
H A Dprocess.c233 unalignctl_string (unsigned int ctl) argument
237 switch (ctl) {
249 sprintf(buf, "%x", ctl);
301 int ctl; local
303 umove(tcp, tcp->u_arg[1], &ctl);
304 tcp->auxstr = unalignctl_string(ctl);
/external/bluetooth/bluez/input/
H A Ddevice.c564 int ctl, err = 0; local
566 ctl = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HIDP);
567 if (ctl < 0)
570 if (ioctl(ctl, HIDPCONNADD, req) < 0)
573 close(ctl);
683 int ctl; local
690 ctl = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HIDP);
691 if (ctl < 0)
696 if (ioctl(ctl, HIDPGETCONNINFO, &ci) < 0) {
697 close(ctl);
715 int ctl, err; local
[all...]
/external/kernel-headers/original/linux/
H A Data.h255 u8 ctl; /* control reg */ member in struct:ata_taskfile
/external/qemu/hw/
H A Dusb-ohci.c80 uint32_t ctl, status; member in struct:__anon3958
352 if ((s->ctl & OHCI_CTL_HCFS) == OHCI_USB_SUSPEND)
390 ohci->ctl = 0;
1107 if ((ohci->ctl & OHCI_CTL_CLE) && (ohci->status & OHCI_STATUS_CLF)) {
1117 if ((ohci->ctl & OHCI_CTL_BLE) && (ohci->status & OHCI_STATUS_BLF)) {
1134 if (ohci->ctl & OHCI_CTL_PLE) {
1143 ohci->old_ctl & (~ohci->ctl) & (OHCI_CTL_BLE | OHCI_CTL_CLE)) {
1147 ohci->old_ctl = ohci->ctl;
1271 old_state = ohci->ctl & OHCI_CTL_HCFS;
1272 ohci->ctl
[all...]

Completed in 113 milliseconds