Home
last modified time | relevance | path

Searched refs:xioctl (Results 1 – 22 of 22) 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.c294 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()
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.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.c320 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/
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);
Dvconfig.c55 xioctl(fd, SIOCSIFVLAN, &request); in vconfig_main()
88 xioctl(fd, SIOCSIFVLAN, &request); in vconfig_main()
Dhwclock.c91 xioctl(fd, RTC_RD_TIME, &tm); in hwclock_main()
112 xioctl(fd, RTC_SET_TIME, &tm); in hwclock_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.c60 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.h157 int xioctl(int fd, int request, void *data);
Dxwrap.c696 int xioctl(int fd, int request, void *data) in xioctl() function