Home
last modified time | relevance | path

Searched refs:xioctl (Results 1 – 20 of 20) 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.c92 xioctl(fd, VT_GETSTATE, &vstate); in openvt_main()
99 xioctl(fd, VT_GETSTATE, &vstate); in openvt_main()
129 xioctl(fd, VT_DISALLOCATE, (void *)(ptrdiff_t)TT.vt_num); in openvt_main()
142 xioctl(fd, VT_DISALLOCATE, (void *)vt_num); in deallocvt_main()
Darping.c69 xioctl(fd, SIOCGIFFLAGS, &req); in get_interface()
73 xioctl(fd, SIOCGIFADDR, &req); in get_interface()
78 xioctl(fd, SIOCGIFINDEX, &req); in get_interface()
82 xioctl(fd, SIOCGIFHWADDR, &req); in get_interface()
222 xioctl(TT.sockfd, SIOCGIFFLAGS, (char*)&ifr); in arping_main()
Dhwclock.c91 xioctl(fd, RTC_RD_TIME, &tm); in hwclock_main()
110 xioctl(fd, RTC_SET_TIME, &time); in hwclock_main()
Droute.c321 if (action == 1) xioctl(sokfd, SIOCADDRT, &rt); in setroute()
322 else xioctl(sokfd, SIOCDELRT, &rt); in setroute()
415 xioctl(sockfd, SIOGIFINDEX, ifre); in setroute_inet6()
418 if (action == 1) xioctl(sockfd, SIOCADDRT, &rt); in setroute_inet6()
419 else xioctl(sockfd, SIOCDELRT, &rt); in setroute_inet6()
Darp.c169 xioctl(TT.sockfd, SIOCGIFHWADDR, &ifre); in set_entry()
179 xioctl(TT.sockfd, SIOCSARP, &req); in set_entry()
208 xioctl(TT.sockfd, SIOCDARP, &req); in delete_entry()
Dip.c651 xioctl(fd, SIOCGIFINDEX, &req); in link_set()
678 xioctl(fd, SIOCSIFNAME, &req); in link_set()
680 xioctl(fd, SIOCGIFINDEX, &req); in link_set()
684 xioctl(fd, SIOCSIFTXQLEN, &req); in link_set()
688 xioctl(fd, SIOCSIFMTU, &req); in link_set()
691 xioctl(fd, SIOCGIFHWADDR, &req); in link_set()
694 xioctl(fd, SIOCSIFHWADDR, &req); in link_set()
697 xioctl(fd, SIOCGIFHWADDR, &req); in link_set()
700 xioctl(fd, SIOCSIFHWBROADCAST, &req); in link_set()
704 xioctl(fd, SIOCGIFFLAGS, &req); in link_set()
[all …]
Ddhcpd.c251 xioctl(fd, SIOCGIFFLAGS, &req); in get_interface()
255 xioctl(fd, SIOCGIFADDR, &req); in get_interface()
261 xioctl(fd, SIOCGIFINDEX, &req); in get_interface()
266 xioctl(fd, SIOCGIFHWADDR, &req); in get_interface()
Ddhcp.c294 xioctl(fd, SIOCGIFFLAGS, &req); in get_interface()
298 xioctl(fd, SIOCGIFADDR, &req); in get_interface()
304 xioctl(fd, SIOCGIFINDEX, &req); in get_interface()
309 xioctl(fd, SIOCGIFHWADDR, &req); in get_interface()
/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.c40 xioctl(fd, SOUND_MIXER_READ_DEVMASK, &mask);
55 xioctl(fd, MIXER_READ(channel), &level);
64 xioctl(fd, MIXER_WRITE(channel), &level);
Difconfig.c317 xioctl(TT.sockfd, SIOCGIFCONF, &ifcon); in show_iface()
437 } else xioctl(TT.sockfd, SIOCSIFHWADDR, &ifre); in ifconfig_main()
457 xioctl(fd6, SIOCGIFINDEX, &ifre); in ifconfig_main()
460 xioctl(fd6, **(argv++)=='a' ? SIOCSIFADDR : SIOCDIFADDR, &ifre6); in ifconfig_main()
483 if (off == SIOCSIFMAP) xioctl(TT.sockfd, SIOCGIFMAP, &ifre); in ifconfig_main()
486 xioctl(TT.sockfd, off, &ifre); in ifconfig_main()
496 xioctl(TT.sockfd, off, &ifre); in ifconfig_main()
503 xioctl(TT.sockfd, SIOCSIFNETMASK, &ifre); in ifconfig_main()
512 xioctl(TT.sockfd, SIOCGIFFLAGS, &ifre); in ifconfig_main()
515 xioctl(TT.sockfd, SIOCSIFFLAGS, &ifre); in ifconfig_main()
Dvconfig.c53 xioctl(fd, SIOCSIFVLAN, &request); in vconfig_main()
86 xioctl(fd, SIOCSIFVLAN, &request); in vconfig_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);
Dinotifyd.c80 xioctl(fds.fd, FIONREAD, &len); in inotifyd_main()
Dnbd_client.c87 xioctl(nbd, BLKROSET, &temp); in nbd_client_main()
/external/toybox/lib/
Dlib.h119 int xioctl(int fd, int request, void *data);
Dxwrap.c568 int xioctl(int fd, int request, void *data) in xioctl() function