Home
last modified time | relevance | path

Searched refs:xioctl (Results 1 – 23 of 23) sorted by relevance

/external/toybox/toys/pending/
Dbrctl.c54 xioctl(TT.sockfd, SIOCDEVPRIVATE, &ifr);
119 xioctl(TT.sockfd, SIOCBRADDBR, argv[0]); in br_addbr()
122 xioctl(TT.sockfd, SIOCSIFBR, args); in br_addbr()
132 xioctl(TT.sockfd, SIOCBRDELBR, argv[0]); in br_delbr()
135 xioctl(TT.sockfd, SIOCSIFBR, args); in br_delbr()
148 xioctl(TT.sockfd, SIOCBRADDIF, &ifr); in br_addif()
153 xioctl(TT.sockfd, SIOCDEVPRIVATE, &ifr); in br_addif()
166 xioctl(TT.sockfd, SIOCBRDELIF, &ifr); in br_delif()
171 xioctl(TT.sockfd, SIOCDEVPRIVATE, &ifr); in br_delif()
199 xioctl(TT.sockfd, SIOCDEVPRIVATE, &ifr); in set_time()
[all …]
Dopenvt.c93 xioctl(fd, VT_GETSTATE, &vstate); in openvt_main()
100 xioctl(fd, VT_GETSTATE, &vstate); in openvt_main()
130 xioctl(fd, VT_DISALLOCATE, (void *)(ptrdiff_t)TT.vt_num); in openvt_main()
143 xioctl(fd, VT_DISALLOCATE, (void *)vt_num); in deallocvt_main()
Darping.c63 xioctl(fd, SIOCGIFFLAGS, &req); in get_interface()
67 xioctl(fd, SIOCGIFADDR, &req); in get_interface()
72 xioctl(fd, SIOCGIFINDEX, &req); in get_interface()
76 xioctl(fd, SIOCGIFHWADDR, &req); in get_interface()
216 xioctl(TT.sockfd, SIOCGIFFLAGS, (char*)&ifr); in arping_main()
Droute.c295 if (action == 1) xioctl(sokfd, SIOCADDRT, &rt); in setroute()
296 else xioctl(sokfd, SIOCDELRT, &rt); in setroute()
379 xioctl(sockfd, SIOGIFINDEX, ifre); in setroute_inet6()
382 if (action == 1) xioctl(sockfd, SIOCADDRT, &rt); in setroute_inet6()
383 else xioctl(sockfd, SIOCDELRT, &rt); in setroute_inet6()
Darp.c164 xioctl(TT.sockfd, SIOCGIFHWADDR, &ifre); in set_entry()
174 xioctl(TT.sockfd, SIOCSARP, &req); in set_entry()
203 xioctl(TT.sockfd, SIOCDARP, &req); in delete_entry()
Dip.c645 xioctl(fd, SIOCGIFINDEX, &req); in link_set()
672 xioctl(fd, SIOCSIFNAME, &req); in link_set()
674 xioctl(fd, SIOCGIFINDEX, &req); in link_set()
678 xioctl(fd, SIOCSIFTXQLEN, &req); in link_set()
682 xioctl(fd, SIOCSIFMTU, &req); in link_set()
685 xioctl(fd, SIOCGIFHWADDR, &req); in link_set()
688 xioctl(fd, SIOCSIFHWADDR, &req); in link_set()
691 xioctl(fd, SIOCGIFHWADDR, &req); in link_set()
694 xioctl(fd, SIOCSIFHWBROADCAST, &req); in link_set()
698 xioctl(fd, SIOCGIFFLAGS, &req); in link_set()
[all …]
Ddhcp.c291 xioctl(fd, SIOCGIFFLAGS, &req); in get_interface()
295 xioctl(fd, SIOCGIFADDR, &req); in get_interface()
301 xioctl(fd, SIOCGIFINDEX, &req); in get_interface()
306 xioctl(fd, SIOCGIFHWADDR, &req); in get_interface()
Ddhcpd.c371 xioctl(fd, SIOCGIFFLAGS, &req); in get_interface()
407 xioctl(fd, SIOCGIFADDR, &req); in get_interface()
415 xioctl(fd, SIOCGIFINDEX, &req); in get_interface()
420 xioctl(fd, SIOCGIFHWADDR, &req); in get_interface()
Ddhcp6.c169 xioctl(fd, SIOCGIFHWADDR, &req); in get_mac()
/external/toybox/toys/net/
Dtunctl.c47 xioctl(fd, TUNSETIFF, toybuf);
50 xioctl(fd, TUNSETPERSIST, (void *)1);
51 xioctl(fd, TUNSETOWNER, (void *)(long)u);
52 } else xioctl(fd, TUNSETPERSIST, (void *)0);
Difconfig.c137 xioctl(TT.sockfd, SIOCGIFHWADDR, &ifre); in display_ifconfig()
349 xioctl(TT.sockfd, SIOCGIFCONF, &ifcon); in show_iface()
466 } else xioctl(TT.sockfd, SIOCSIFHWADDR, &ifre); in ifconfig_main()
483 xioctl(fd6, SIOCGIFINDEX, &ifre); in ifconfig_main()
486 xioctl(fd6, **(argv++)=='a' ? SIOCSIFADDR : SIOCDIFADDR, &ifre6); in ifconfig_main()
509 if (off == SIOCSIFMAP) xioctl(TT.sockfd, SIOCGIFMAP, &ifre); in ifconfig_main()
512 xioctl(TT.sockfd, off, &ifre); in ifconfig_main()
522 xioctl(TT.sockfd, off, &ifre); in ifconfig_main()
529 xioctl(TT.sockfd, SIOCSIFNETMASK, &ifre); in ifconfig_main()
538 xioctl(TT.sockfd, SIOCGIFFLAGS, &ifre); in ifconfig_main()
[all …]
/external/toybox/toys/other/
Deject.c49 xioctl(fd, SG_IO, (void *)header); in remove_scsi()
67 if (!toys.optflags) xioctl(fd, 0x5309, &out); // CDROM_EJECT in eject_main()
73 xioctl(fd, 0x5319, &out); // CDROM_CLOSE_TRAY in eject_main()
74 else xioctl(fd, 0x5309, &out); // CDROM_EJECT in eject_main()
Dmix.c38 xioctl(fd, SOUND_MIXER_READ_DEVMASK, &mask); in mix_main()
53 xioctl(fd, MIXER_READ(channel), &level); in mix_main()
62 xioctl(fd, MIXER_WRITE(channel), &level); in mix_main()
Dvconfig.c51 xioctl(fd, SIOCSIFVLAN, &request); in vconfig_main()
85 xioctl(fd, SIOCSIFVLAN, &request); in vconfig_main()
Dhwclock.c93 xioctl(fd, RTC_RD_TIME, &tm); in hwclock_main()
114 xioctl(fd, RTC_SET_TIME, &tm); in hwclock_main()
Di2ctools.c93 if (slave) xioctl(fd, slave, (void *)(long)chip); in i2c_open()
102 xioctl(fd, I2C_FUNCS, &result); in i2c_get_funcs()
312 xioctl(fd, I2C_SMBUS, &ioctl_data); in i2cset_main()
Dfreeramdisk.c25 xioctl(fd, BLKFLSBUF, toys.optargs[0]); in freeramdisk_main()
Dfsfreeze.c29 xioctl(fd, (toys.optflags & FLAG_f) ? FIFREEZE : FITHAW, &p); in fsfreeze_main()
Dblockdev.c63 xioctl(fd, cmds[i], &val);
Dnbd_client.c74 xioctl(nbd, BLKROSET, &temp); in nbd_client_main()
Dinotifyd.c80 xioctl(fds.fd, FIONREAD, &len); in inotifyd_main()
/external/toybox/lib/
Dlib.h162 int xioctl(int fd, int request, void *data);
Dxwrap.c756 int xioctl(int fd, int request, void *data) in xioctl() function