| /freebsd/sbin/ifconfig/ |
| H A D | iflagg.c | 50 if (ioctl_ctx(ctx, SIOCSLAGGPORT, &rp) && errno != EEXIST) { in setlaggport() 65 if (ioctl_ctx(ctx, SIOCSLAGGDELPORT, &rp)) in unsetlaggport() 88 if (ioctl_ctx(ctx, SIOCSLAGG, &ra) != 0) in setlaggproto() 103 if (ioctl_ctx(ctx, SIOCSLAGGOPTS, &ro) != 0) in setlaggflowidshift() 118 if (ioctl_ctx(ctx, SIOCSLAGGOPTS, &ro) != 0) in setlaggrr_limit() 147 if (ioctl_ctx(ctx, SIOCSLAGGOPTS, &ro) != 0) in setlaggsetopt() 175 if (ioctl_ctx(ctx, SIOCSLAGGHASH, &rf)) in setlagghash()
|
| H A D | af_nd6.c | 81 error = ioctl_ctx(ctx, SIOCGIFINFO_IN6, &nd); in setnd6flags() 90 error = ioctl_ctx(ctx, SIOCSIFINFO_IN6, (caddr_t)&nd); in setnd6flags() 116 error = ioctl_ctx(ctx, SIOCSDEFIFACE_IN6, (caddr_t)&ndifreq); in setnd6defif()
|
| H A D | iffib.c | 53 if (ioctl_ctx(ctx, SIOCGIFFIB, (caddr_t)&ifr) == 0 && in fib_status() 59 if (ioctl_ctx(ctx, SIOCGTUNFIB, (caddr_t)&ifr) == 0 && in fib_status()
|
| H A D | ifgroup.c | 57 if (ioctl_ctx(ctx, SIOCAIFGROUP, (caddr_t)&ifgr) == -1 && errno != EEXIST) in setifgroup() 73 if (ioctl_ctx(ctx, SIOCDIFGROUP, (caddr_t)&ifgr) == -1 && errno != ENOENT) in unsetifgroup()
|
| H A D | ifgif.c | 87 if (ioctl_ctx(ctx, GIFSOPTS, &ifr) == -1) { in setgifopts()
|
| H A D | ifmac.c | 65 if (ioctl_ctx(ctx, SIOCGIFMAC, &ifr) == -1) in maclabel_status()
|
| H A D | ifconfig.c | 201 return (ioctl_ctx(ctx, cmd, ifr)); in ioctl_ctx_ifr() 1049 if (ioctl_ctx(ctx, action, req) == 0) in af_exec_ioctl() 1449 if (ioctl_ctx(ctx, SIOCSIFCAP, &ifr) < 0) in clearifcap() 1470 if (ioctl_ctx(ctx, SIOCSIFCAP, &ifr) < 0) in setifcap() 1515 if (ioctl_ctx(ctx, SIOCSIFCAPNV, (caddr_t)&ifr) < 0) in setifcapnv() 1580 if (ioctl_ctx(ctx, SIOCSIFNAME, (caddr_t)&ifr) < 0) { in setifname() 1732 if (ioctl_ctx(ctx, SIOCGIFCAP, (caddr_t)&ifr) != 0) in print_ifcap_nv() 1765 if (ioctl_ctx(ctx, SIOCGIFSTATUS, &ifs) == 0) in print_ifstatus() 1798 if (ioctl_ctx(ctx, SIOCGIFDESCR, &ifr) == 0) { in print_description()
|
| H A D | af_inet.c | 474 if (ioctl_ctx(ctx, SIOCGIFPSRCADDR, (caddr_t)&ifr) < 0) in in_status_tunnel() 481 if (ioctl_ctx(ctx, SIOCGIFPDSTADDR, (caddr_t)&ifr) < 0) in in_status_tunnel() 501 if (ioctl_ctx(ctx, SIOCSIFPHYADDR, &addreq) < 0) in in_set_tunnel()
|
| H A D | ifgre.c | 109 if (ioctl_ctx(ctx, GRESOPTS, &ifr) == -1) { in setifgreopts()
|
| H A D | ifstf.c | 66 return (ioctl_ctx(ctx, set ? SIOCSDRVSPEC : SIOCGDRVSPEC, &ifd)); in do_cmd()
|
| H A D | af_inet6.c | 658 if (ioctl_ctx(ctx, SIOCGIFPSRCADDR_IN6, (caddr_t)&in6_ifr) < 0) in in6_status_tunnel() 666 if (ioctl_ctx(ctx, SIOCGIFPDSTADDR_IN6, (caddr_t)&in6_ifr) < 0) in in6_status_tunnel() 687 if (ioctl_ctx(ctx, SIOCSIFPHYADDR_IN6, &in6_req) < 0) in in6_set_tunnel()
|
| H A D | ifvlan.c | 289 if (ioctl_ctx(ctx, SIOCSETVLAN, (caddr_t)&ifr) == -1) in unsetvlandev()
|
| H A D | ifconfig.h | 164 #define ioctl_ctx(ctx, _req, ...) ioctl((ctx)->io_s, _req, ## __VA_ARGS__) macro
|
| H A D | ifieee80211.c | 4098 if (ioctl_ctx(ctx, SIOCS80211, &ireq) == 0) { in scan_and_wait() 4580 if (ioctl_ctx(ctx, SIOCG80211, &ireq) < 0) { in get80211wme() 4785 if (ioctl_ctx(ctx, SIOCG80211, &ireq) < 0) { in list_mac() 4810 if (ioctl_ctx(ctx, SIOCG80211, &ireq) < 0) in list_mac() 4824 if (ioctl_ctx(ctx, SIOCG80211, &ireq) < 0) in list_mac() 4892 if (ioctl_ctx(ctx, SIOCG80211, &ireq) < 0) in list_mesh() 4972 if (ioctl_ctx(ctx, SIOCGIFMEDIA, (caddr_t)&ifmr) >= 0) { in get80211opmode() 5141 if (ioctl_ctx(ctx, SIOCG80211, &ireq) < 0) in getid() 5157 if (ioctl_ctx(ctx, SIOCG80211, &ireq) < 0) in getdevicename()
|
| H A D | ifvxlan.c | 82 return (ioctl_ctx(ctx, set ? SIOCSDRVSPEC : SIOCGDRVSPEC, &ifd)); in do_cmd()
|
| H A D | ifbridge.c | 110 return (ioctl_ctx(ctx, set ? SIOCSDRVSPEC : SIOCGDRVSPEC, &ifd)); in do_cmd()
|