Lines Matching defs:newaddr
2818 ipadm_addrobj_t newaddr;
2845 if ((newaddr = calloc(1, sizeof (struct ipadm_addrobj_s))) == NULL)
2855 newaddr->ipadm_lifnum = ifsp.ifsp_lun;
2859 (void) strlcpy(newaddr->ipadm_ifname, ifname,
2860 sizeof (newaddr->ipadm_ifname));
2863 (void) snprintf(newaddr->ipadm_aobjname,
2864 sizeof (newaddr->ipadm_aobjname), "%s/%s", ifname, aname);
2869 newaddr->ipadm_intfidlen = 0;
2870 newaddr->ipadm_stateful = B_TRUE;
2871 newaddr->ipadm_stateless = B_TRUE;
2872 newaddr->ipadm_af = AF_INET6;
2876 newaddr->ipadm_primary = B_FALSE;
2877 newaddr->ipadm_wait = IPADM_DHCP_WAIT_DEFAULT;
2878 newaddr->ipadm_af = AF_INET;
2882 newaddr->ipadm_af = AF_UNSPEC;
2883 newaddr->ipadm_static_prefixlen = 0;
2890 newaddr->ipadm_atype = type;
2891 *ipaddr = newaddr;
2894 free(newaddr);
3417 * "ifconfig bge0:1 <addr>; ifconfig bge0:1 <newaddr>"