Lines Matching defs:lifname
392 i_ipadm_get_lif2addrobj(ipadm_handle_t iph, const char *lifname,
397 int lifnum = i_ipadm_get_lnum(lifname);
402 i_ipadm_get_ifname(lifname, tifname, sizeof (tifname));
1113 char lifname[LIFNAMSIZ];
1148 i_ipadm_addrobj2lifname(ipaddr, lifname, sizeof (lifname));
1149 return (i_ipadm_set_flags(iph, lifname, af, on_flags, off_flags));
1221 char lifname[LIFNAMSIZ];
1226 i_ipadm_addrobj2lifname(ipaddr, lifname, sizeof (lifname));
1228 status = i_ipadm_get_flags(iph, lifname, af, &ifflags);
1276 (void) strlcpy(lifr.lifr_name, lifname,
1305 (void) strlcpy(lifr.lifr_name, lifname,
1334 char lifname[LIFNAMSIZ];
1340 i_ipadm_addrobj2lifname(ipaddr, lifname, sizeof (lifname));
1342 status = i_ipadm_get_flags(iph, lifname, af, &lifflags);
1354 (void) strlcpy(lifr.lifr_name, lifname, sizeof (lifr.lifr_name));
1422 char lifname[LIFNAMSIZ];
1444 i_ipadm_addrobj2lifname(ipaddr, lifname, sizeof (lifname));
1445 status = i_ipadm_get_flags(iph, lifname, af, &ifflags);
1546 * we are in global zone. See if the lifname is assigned to shared-ip
2178 char lifname[LIFNAMSIZ];
2197 (void) snprintf(lifname, LIFNAMSIZ, "%s:%d",
2200 (void) strlcpy(lifname, mod_ipaddr->ipadm_ifname, LIFNAMSIZ);
2202 status = i_ipadm_get_lif2addrobj(iph, lifname, mod_ipaddr->ipadm_af,
2923 * string in `lifname'.
2926 i_ipadm_addrobj2lifname(ipadm_addrobj_t ipaddr, char *lifname, int lifnamesize)
2929 (void) snprintf(lifname, lifnamesize, "%s:%d",
2932 (void) snprintf(lifname, lifnamesize, "%s",
3127 char lifname[LIFNAMSIZ];
3130 (void) snprintf(lifname, LIFNAMSIZ, "%s:%d",
3133 (void) strlcpy(lifname, addr->ipadm_ifname, LIFNAMSIZ);
3135 status = i_ipadm_get_lif2addrobj(iph, lifname, addr->ipadm_af,
4301 char lifname[LIFNAMSIZ];
4328 i_ipadm_addrobj2lifname(ipaddr, lifname, sizeof (lifname));
4329 return (i_ipadm_get_flags(iph, lifname, ipaddr->ipadm_af, ifflags));
4344 char lifname[LIFNAMSIZ];
4363 i_ipadm_addrobj2lifname(&ipaddr, lifname, sizeof (lifname));
4364 status = i_ipadm_set_flags(iph, lifname, ipaddr.ipadm_af,
4395 char lifname[LIFNAMSIZ];
4429 i_ipadm_addrobj2lifname(ipaddr, lifname, sizeof (lifname));
4431 (void) strlcpy(lifr.lifr_name, lifname,
4442 status = i_ipadm_set_flags(iph, lifname, ipaddr->ipadm_af, IFF_UP, 0);
4533 char lifname[LIFNAMSIZ];
4563 i_ipadm_addrobj2lifname(&ipaddr, lifname, sizeof (lifname));
4564 status = i_ipadm_get_flags(iph, lifname, af, &flags);
4577 status = i_ipadm_set_flags(iph, lifname, af, IFF_UP, 0);