Home
last modified time | relevance | path

Searched refs:ioctl_ctx_ifr (Results 1 – 8 of 8) sorted by relevance

/freebsd/sbin/ifconfig/
H A Difvlan.c80 if (ioctl_ctx_ifr(ctx, SIOCGETVLAN, &ifr) == -1) in vlan_status()
94 if (ioctl_ctx_ifr(ctx, SIOCGVLANPCP, &ifr) != -1) in vlan_status()
203 if (ioctl_ctx_ifr(ctx, SIOCGETVLAN, &ifr) != -1) { in setvlantag()
226 if (ioctl_ctx_ifr(ctx, SIOCGETVLAN, &ifr) != -1) in setvlandev()
245 if (ioctl_ctx_ifr(ctx, SIOCGETVLAN, &ifr) != -1) { in setvlanproto()
273 if (ioctl_ctx_ifr(ctx, SIOCSVLANPCP, &ifr) == -1) in setvlanpcp()
283 if (ioctl_ctx_ifr(ctx, SIOCGETVLAN, &ifr) == -1) in unsetvlandev()
H A Difipsec.c56 if (ioctl_ctx_ifr(ctx, IPSECGREQID, &ifr) == -1) in ipsec_status()
73 if (ioctl_ctx_ifr(ctx, IPSECSREQID, &ifr) == -1) { in setreqid()
H A Diffib.c78 if (ioctl_ctx_ifr(ctx, SIOCSIFFIB, &ifr) < 0) in setiffib()
96 if (ioctl_ctx_ifr(ctx, SIOCSTUNFIB, &ifr) < 0) in settunfib()
H A Difconfig.c198 ioctl_ctx_ifr(if_ctx *ctx, unsigned long cmd, struct ifreq *ifr) in ioctl_ctx_ifr() function
1294 if (ioctl_ctx_ifr(ctx, SIOCDIFPHYADDR, &ifr) < 0) in deletetunnel()
1307 if (ioctl_ctx_ifr(ctx, SIOCSIFVNET, &ifr) < 0) in setifvnet()
1319 if (ioctl_ctx_ifr(ctx, SIOCSIFRVNET, &ifr) < 0) in setifrvnet()
1437 if (ioctl_ctx_ifr(ctx, SIOCGIFCAP, &ifr) < 0) { in clearifcap()
1458 if (ioctl_ctx_ifr(ctx, SIOCGIFCAP, &ifr) < 0) { in setifcap()
1483 if (ioctl_ctx_ifr(ctx, SIOCGIFCAP, &ifr) < 0) in setifcapnv()
1527 if (ioctl_ctx_ifr(ctx, SIOCSIFMETRIC, &ifr) < 0) in setifmetric()
1537 if (ioctl_ctx_ifr(ctx, SIOCSIFMTU, &ifr) < 0) in setifmtu()
1554 if (ioctl_ctx_ifr(ctx, SIOCSLANPCP, &ifr) == -1) in setifpcp()
[all …]
H A Difclone.c159 if (ioctl_ctx_ifr(ctx, SIOCIFDESTROY, &ifr) < 0) in clone_destroy()
H A Daf_link.c103 if (ioctl_ctx_ifr(ctx, SIOCGLANPCP, &ifr) == 0 && in print_pcp()
H A Difmedia.c185 if (ioctl_ctx_ifr(ctx, SIOCSIFMEDIA, &ifr) < 0) in setifmediacallback()
H A Difpfsync.c66 if (ioctl_ctx_ifr(ctx, cmd, &ifr) == -1) { in pfsync_do_ioctl()