ifconfig_dladm_open
if ((status = ifconfig_dladm_open(name, DATALINK_CLASS_IPTUN,
if (ifconfig_dladm_open(ifname, DATALINK_CLASS_IPTUN, NULL) ==
status = ifconfig_dladm_open(NULL, 0, NULL);
static dladm_status_t ifconfig_dladm_open(const char *, datalink_class_t,
if ((status = ifconfig_dladm_open(name, DATALINK_CLASS_IPTUN,
status = ifconfig_dladm_open(name, DATALINK_CLASS_IPTUN, &linkid);
if (ifconfig_dladm_open(name, DATALINK_CLASS_IPTUN, &linkid) ==