Home
last modified time | relevance | path

Searched refs:SIOCSLIFNETMASK (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dsockio.h175 #define SIOCSLIFNETMASK _IOW('i', 126, struct lifreq) /* set subnetmask */ macro
/illumos-gate/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c94 if (rc = kifioctl(tiptr, SIOCSLIFNETMASK, &sbuf, ifname)) { in kdlifconfig()
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ndpd.c181 if ((err = ioctl(iph->iph_sock6, SIOCSLIFNETMASK, (caddr_t)&lifr)) < 0) in i_ipadm_create_linklocal()
H A Dipadm_addr.c978 if (ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr) < 0) in i_ipadm_set_prefixlen()
2922 if (ioctl(sock, SIOCSLIFNETMASK, (caddr_t)&lifr) < 0) { in i_ipadm_create_addr()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dinterface.c928 if (ioctl(fd, SIOCSLIFNETMASK, &lifr) == -1) { in canonize_lif()
992 if (ioctl(v6_sock_fd, SIOCSLIFNETMASK, &lifr) == -1) { in plumb_lif()
H A Dbound.c1082 if (ioctl(v4_sock_fd, SIOCSLIFNETMASK, &lifr) == -1) { in configure_v4_lease()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c1045 if (ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr) < 0) in setifaddr()
1068 (void) ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr); in setifaddr()
1380 if (ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr) < 0) in setifnetmask()
1432 if (ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr) < 0) in setifprefixlen()
1958 if (ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr) < 0) in addif()
/illumos-gate/usr/src/cmd/truss/
H A Dcodes.c908 { (uint_t)SIOCSLIFNETMASK, "SIOCSLIFNETMASK", "lifreq" }, /* 126 */
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c2291 ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr) < 0) { in configure_one_interface()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip.c986 /* 126 */ { SIOCSLIFNETMASK, sizeof (struct lifreq), IPI_PRIV | IPI_WR,