/external/toybox/toys/pending/ |
D | brctl.c | 54 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 …]
|
D | openvt.c | 93 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()
|
D | arping.c | 63 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()
|
D | route.c | 294 if (action == 1) xioctl(sokfd, SIOCADDRT, &rt); in setroute() 295 else xioctl(sokfd, SIOCDELRT, &rt); in setroute() 377 xioctl(sockfd, SIOGIFINDEX, ifre); in setroute_inet6() 380 if (action == 1) xioctl(sockfd, SIOCADDRT, &rt); in setroute_inet6() 381 else xioctl(sockfd, SIOCDELRT, &rt); in setroute_inet6()
|
D | arp.c | 169 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()
|
D | ip.c | 645 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 …]
|
D | dhcp.c | 291 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()
|
D | dhcpd.c | 371 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()
|
D | dhcp6.c | 169 xioctl(fd, SIOCGIFHWADDR, &req); in get_mac()
|
/external/toybox/toys/net/ |
D | tunctl.c | 47 xioctl(fd, TUNSETIFF, toybuf); 50 xioctl(fd, TUNSETPERSIST, (void *)1); 51 xioctl(fd, TUNSETOWNER, (void *)(long)u); 52 } else xioctl(fd, TUNSETPERSIST, (void *)0);
|
D | ifconfig.c | 320 xioctl(TT.sockfd, SIOCGIFCONF, &ifcon); in show_iface() 437 } else xioctl(TT.sockfd, SIOCSIFHWADDR, &ifre); in ifconfig_main() 454 xioctl(fd6, SIOCGIFINDEX, &ifre); in ifconfig_main() 457 xioctl(fd6, **(argv++)=='a' ? SIOCSIFADDR : SIOCDIFADDR, &ifre6); in ifconfig_main() 480 if (off == SIOCSIFMAP) xioctl(TT.sockfd, SIOCGIFMAP, &ifre); in ifconfig_main() 483 xioctl(TT.sockfd, off, &ifre); in ifconfig_main() 493 xioctl(TT.sockfd, off, &ifre); in ifconfig_main() 500 xioctl(TT.sockfd, SIOCSIFNETMASK, &ifre); in ifconfig_main() 509 xioctl(TT.sockfd, SIOCGIFFLAGS, &ifre); in ifconfig_main() 512 xioctl(TT.sockfd, SIOCSIFFLAGS, &ifre); in ifconfig_main()
|
/external/toybox/toys/other/ |
D | eject.c | 49 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()
|
D | mix.c | 40 xioctl(fd, SOUND_MIXER_READ_DEVMASK, &mask); 55 xioctl(fd, MIXER_READ(channel), &level); 64 xioctl(fd, MIXER_WRITE(channel), &level);
|
D | vconfig.c | 55 xioctl(fd, SIOCSIFVLAN, &request); in vconfig_main() 88 xioctl(fd, SIOCSIFVLAN, &request); in vconfig_main()
|
D | hwclock.c | 91 xioctl(fd, RTC_RD_TIME, &tm); in hwclock_main() 112 xioctl(fd, RTC_SET_TIME, &tm); in hwclock_main()
|
D | freeramdisk.c | 25 xioctl(fd, BLKFLSBUF, toys.optargs[0]); in freeramdisk_main()
|
D | fsfreeze.c | 29 xioctl(fd, (toys.optflags & FLAG_f) ? FIFREEZE : FITHAW, &p); in fsfreeze_main()
|
D | blockdev.c | 60 xioctl(fd, cmds[i], &val);
|
D | nbd_client.c | 74 xioctl(nbd, BLKROSET, &temp); in nbd_client_main()
|
D | inotifyd.c | 80 xioctl(fds.fd, FIONREAD, &len); in inotifyd_main()
|
/external/toybox/lib/ |
D | lib.h | 157 int xioctl(int fd, int request, void *data);
|
D | xwrap.c | 696 int xioctl(int fd, int request, void *data) in xioctl() function
|