Home
last modified time | relevance | path

Searched refs:SIOCGLIFFLAGS (Results 1 – 25 of 53) sorted by relevance

123

/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.c118 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) { in insert_pif()
462 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) { in insert_lif()
741 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) { in verify_lif()
865 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) { in canonize_lif()
1007 if (ioctl(v6_sock_fd, SIOCGLIFFLAGS, &lifr) == -1) { in plumb_lif()
1151 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) { in set_lif_dhcp()
1220 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) in clear_lif_dhcp()
1252 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) in set_lif_deprecated()
1283 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) { in clear_lif_deprecated()
1399 if (ioctl(v4_sock_fd, SIOCGLIFFLAGS, &lifr) == -1) { in open_ip_lif()
[all …]
H A Dagent.c1200 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) { in check_lif()
1269 if (ioctl(v6_sock_fd, SIOCGLIFFLAGS, &lifr) == -1) { in check_main_lif()
1334 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1 || in process_link_up_down()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/
H A Dif_mpadm.c137 if (ioctl(sioc4fd, SIOCGLIFFLAGS, &lifr) == -1) { in is_offline()
139 ioctl(sioc6fd, SIOCGLIFFLAGS, &lifr) == -1) { in is_offline()
/titanic_44/usr/src/lib/libipadm/common/
H A Dlibipadm.c458 if (ioctl(sock, SIOCGLIFFLAGS, (caddr_t)&lifr) < 0) { in i_ipadm_get_flags()
577 if (ioctl(s4, SIOCGLIFFLAGS, (caddr_t)&lifr) == 0) in ipadm_if_enabled()
581 if (ioctl(s6, SIOCGLIFFLAGS, (caddr_t)&lifr) == 0) in ipadm_if_enabled()
585 if (ioctl(s4, SIOCGLIFFLAGS, (caddr_t)&lifr) == 0 || in ipadm_if_enabled()
586 ioctl(s6, SIOCGLIFFLAGS, (caddr_t)&lifr) == 0) { in ipadm_if_enabled()
H A Dipadm_if.c148 if (ioctl(s, SIOCGLIFFLAGS, (caddr_t)&lifrl) < 0) in i_ipadm_active_if_info()
603 if (ioctl(iph->iph_sock, SIOCGLIFFLAGS, &lifr) != -1 || in i_ipadm_slifname()
607 if (ioctl(iph->iph_sock6, SIOCGLIFFLAGS, &lifr) != -1 || in i_ipadm_slifname()
979 if (ioctl(muxid_fd, SIOCGLIFFLAGS, (caddr_t)&lifr) < 0) { in i_ipadm_unplumb_if()
1035 if (ioctl(sock, SIOCGLIFFLAGS, &lifrl) < 0) { in i_ipadm_unplumb_if()
H A Dipadm_ndpd.c194 if ((err = ioctl(iph->iph_sock6, SIOCGLIFFLAGS, (char *)&lifr)) < 0) in i_ipadm_create_linklocal()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.xcl128 msgid "SIOCGLIFFLAGS"
/titanic_44/usr/src/cmd/svr4pkg/libinst/
H A Dis_local_host.c129 if (ioctl(s, SIOCGLIFFLAGS, (caddr_t)&lifr) == -1) { in is_local_if()
/titanic_44/usr/src/lib/libinetutil/common/
H A Difaddrlist.c134 if (ioctl(fd, SIOCGLIFFLAGS, lifrp) == -1) { in ifaddrlist()
H A Difaddrlistx.c117 if (ioctl(isv6 ? s6 : s4, SIOCGLIFFLAGS, lifrp) == -1) { in ifaddrlistx()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c1493 if (ioctl(s, SIOCGLIFFLAGS, (caddr_t)&lifr) < 0) in setifflags()
1553 if (ioctl(s, SIOCGLIFFLAGS, &lifrl) == -1) in setifflags()
1715 if (fd == -1 || ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) { in print_ifether()
1722 if (fd == -1 || ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) { in print_ifether()
2293 if (ioctl(s, SIOCGLIFFLAGS, &lifr) < 0) { in modcheck()
2418 if (ioctl(s, SIOCGLIFFLAGS, (caddr_t)&lifr) < 0) { in ip_domux2fd()
2843 if (ioctl(s, SIOCGLIFFLAGS, (caddr_t)&lifr) < 0) { in ifstatus()
2975 if (ioctl(s, SIOCGLIFFLAGS, (caddr_t)&lifr) < 0) { in status()
3036 if (ioctl(s, SIOCGLIFFLAGS, (caddr_t)&lifr) < 0) { in configinfo()
3727 if (ioctl(s6, SIOCGLIFFLAGS, &lifr) == 0) { in create_ipmp()
[all …]
H A Drevarp.c79 if (ioctl(s, SIOCGLIFFLAGS, (char *)&lifr) < 0) { in doifrevarp()
/titanic_44/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c206 if (ioctl(isv4 ? s4 : s6, SIOCGLIFFLAGS, &flifr) < 0) { in get_first_interface()
/titanic_44/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c527 if (ioctl(s, SIOCGLIFFLAGS, &lifrr) < 0) { in smb_nic_getinfo()
678 if (ioctl(s4, SIOCGLIFFLAGS, (caddr_t)&lifrl) < 0) { in smb_nic_hlist_sysget()
680 (ioctl(s6, SIOCGLIFFLAGS, (caddr_t)&lifrl) < 0)) { in smb_nic_hlist_sysget()
/titanic_44/usr/src/lib/libsocket/inet/
H A Dgetifaddrs.c138 if (ioctl(s, SIOCGLIFFLAGS, (caddr_t)&lifrl) < 0) in getallifaddrs()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dforeachaddr.c262 if (ioctl (P.sock, SIOCGLIFFLAGS, (char *)&lifreq) < 0) { in foreach_localaddr()
/titanic_44/usr/src/uts/common/sys/
H A Dsockio.h163 #define SIOCGLIFFLAGS _IOWR('i', 117, struct lifreq) /* get if flags */ macro
/titanic_44/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c228 iocb.ic_cmd = SIOCGLIFFLAGS; in ksetifflags()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c103 if ((s4 != -1 && ioctl(s4, SIOCGLIFFLAGS, &lifr) != -1) || in select_datalink()
104 (s6 != -1 && ioctl(s6, SIOCGLIFFLAGS, &lifr) != -1)) { in select_datalink()
/titanic_44/usr/src/lib/libdscp/
H A Dlibdscp.c277 if (ioctl(sockfd, SIOCGLIFFLAGS, (char *)&lifr) < 0) { in dscpAddr()
/titanic_44/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c918 case SIOCGLIFFLAGS : in sdpfp_ioctl()
979 case SIOCGLIFFLAGS : in sdpfp_ioctl()
1080 case SIOCGLIFFLAGS : in sdpfp_ioctl()
/titanic_44/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c287 if (ioctl(s, SIOCGLIFFLAGS, (caddr_t)&r) < 0) { in broadcast_address()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dstartup.c109 if (ioctl(iocsoc, SIOCGLIFFLAGS, (char *)&lifr) < 0) { in initifs()
/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c593 n = ioctl(s, SIOCGLIFFLAGS, (char *)&lifreq);
608 n = ioctl(s, SIOCGLIFFLAGS, (char *)&lifreq);
/titanic_44/usr/src/uts/common/io/
H A Dstrplumb.c292 iocb.ic_cmd = SIOCGLIFFLAGS; in getifflags()

123