Home
last modified time | relevance | path

Searched refs:SIOCGLIFADDR (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/libinetutil/common/
H A Difaddrlist.c150 if (ioctl(fd, SIOCGLIFADDR, lifrp) == -1) { in ifaddrlist()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_name_service.c566 retval = ioctl(s, SIOCGLIFADDR, (caddr_t)&lifreq); in dapls_ns_subnet_match_v4()
611 retval = ioctl(s, SIOCGLIFADDR, (caddr_t)&lifreq); in dapls_ns_subnet_match_v6()
/illumos-gate/usr/src/uts/common/sys/
H A Dsockio.h159 #define SIOCGLIFADDR _IOWR('i', 113, struct lifreq) /* get if address */ macro
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c479 #if defined(SIOCGLIFCONF) && defined(SIOCGLIFADDR) && \
577 if (ioctl(s, SIOCGLIFADDR, (char *)&lifreq) < 0)
673 #if defined(SIOCGLIFCONF) && defined(SIOCGLIFADDR) && \
/illumos-gate/usr/src/lib/libdscp/
H A Dlibdscp.c295 error = ioctl(sockfd, SIOCGLIFADDR, (char *)&lifr); in dscpAddr()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c1453 if (ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr) < 0) { in setifbroadaddr()
1524 if (ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr) >= 0) in setifflags()
3238 if (ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr) < 0) { in in_status()
3337 if (ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr) < 0) { in in6_status()
3447 if (ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr) < 0) { in in_configinfo()
3545 if (ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr) < 0) { in in6_configinfo()
3834 if (ioctl(fd, SIOCGLIFADDR, &lifrl) == -1 || in ifaddr_op()
4226 if (ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr) < 0) { in in_getmask()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.c442 if (ioctl(fd, SIOCGLIFADDR, &lifr) == -1) { in insert_lif()
805 if (!checkaddr(lif, SIOCGLIFADDR, &lif->lif_v6addr, "local address")) in verify_lif()
1778 if (ioctl(v6_sock_fd, SIOCGLIFADDR, lifrp) == -1) in remove_v6_strays()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dstartup.c149 if (ioctl(iocsoc, SIOCGLIFADDR, (char *)&lifr) < 0) { in initifs()
/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/
H A Dspoof-ras.c77 if (ioctl(s, SIOCGLIFADDR, addrp) < 0) { in spoof_get_lla()
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_addr.c987 (void) ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr); in i_ipadm_set_prefixlen()
1233 if (ioctl(iph->iph_sock, SIOCGLIFADDR, in i_ipadm_get_broadcast()
1328 if (ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr) < 0) in i_ipadm_get_prefixlen()
2555 if (ioctl(sock, SIOCGLIFADDR, (caddr_t)&lifr) < 0) in i_ipadm_addr_exists_on_if()
2800 if (ioctl(iph->iph_sock6, SIOCGLIFADDR, &lifr) < 0) { in ipadm_create_addr()
3705 if (ioctl(iph->iph_sock, SIOCGLIFADDR, &lifr) < 0) in ipadm_down_addr()
H A Dipadm_if.c948 if (islo && ioctl(sock, SIOCGLIFADDR, (caddr_t)&lifr) >= 0) in i_ipadm_plumb_if()
1280 if (ioctl(sock, SIOCGLIFADDR, &lifrl) < 0 || in i_ipadm_unplumb_if()
/illumos-gate/usr/src/cmd/datadm/
H A Ddatadm.c1338 if (ioctl(ia_args->ia_sock_fd_v4, SIOCGLIFADDR, (caddr_t)&req) != 0) { in datadm_add_plink()
1342 if (ioctl(ia_args->ia_sock_fd_v6, SIOCGLIFADDR, in datadm_add_plink()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c349 retval = ioctl(sfd, SIOCGLIFADDR, (caddr_t)&lifreq); in dapli_process_ia()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c493 if (ioctl(s, SIOCGLIFADDR, &lifrr) < 0) { in smb_nic_getinfo()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c261 if (ioctl(fd, SIOCGLIFADDR, (char *)&lifr) < 0) { in phyint_init_from_k()
1210 if (ioctl(sock, SIOCGLIFADDR, (char *)&lifr) < 0) { in prefix_init_from_k()
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c1091 if (ioctl(sock, SIOCGLIFADDR, (caddr_t)&lifr) < 0) { in merge_hosts()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c391 if (myioctl(ip6fd, SIOCGLIFADDR, &lifr) < 0) { in read_ipv6_interface()
/illumos-gate/usr/src/cmd/truss/
H A Dcodes.c898 { (uint_t)SIOCGLIFADDR, "SIOCGLIFADDR", "lifreq" }, /* 113 */
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c1823 if (ioctl(ifsock, SIOCGLIFADDR, (char *)&lifr) < 0) { in logint_init_from_k()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c2496 if (ioctl(s, SIOCGLIFADDR, &req) < 0) { in get_local_netifs()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c2328 if (ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr) < 0) { in configure_one_interface()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_if.c18208 err = ip_ioctl(lh, SIOCGLIFADDR, lifrp, lifrsize, cr); in ip_ipmp_cleanup()
18209 if (err != 0 || (err = ip_ioctl(lh, SIOCGLIFADDR, in ip_ipmp_cleanup()
H A Dip.c958 /* 113 */ { SIOCGLIFADDR, sizeof (struct lifreq),