Lines Matching defs:conf
35 #include <sys/conf.h>
243 dladm_conf_t conf;
255 &conf)) != DLADM_STATUS_OK) {
261 if ((status = dladm_get_conf_field(handle, conf, IPTUN_CONF_TYPE, &temp,
267 if (dladm_get_conf_field(handle, conf, IPTUN_CONF_LADDR,
272 if (dladm_get_conf_field(handle, conf, IPTUN_CONF_RADDR,
278 dladm_destroy_conf(handle, conf);
301 dladm_conf_t conf;
306 DATALINK_CLASS_IPTUN, media, &conf);
312 status = dladm_set_conf_field(handle, conf, IPTUN_CONF_TYPE,
318 status = dladm_set_conf_field(handle, conf, IPTUN_CONF_LADDR,
325 status = dladm_set_conf_field(handle, conf, IPTUN_CONF_RADDR,
331 status = dladm_write_conf(handle, conf, params->iptun_param_linkid);
334 dladm_destroy_conf(handle, conf);
364 dladm_conf_t conf;
377 status = dladm_open_conf(handle, params->iptun_param_linkid, &conf);
382 status = dladm_set_conf_field(handle, conf, IPTUN_CONF_LADDR,
389 status = dladm_set_conf_field(handle, conf, IPTUN_CONF_RADDR,
395 status = dladm_write_conf(handle, conf, params->iptun_param_linkid);
398 dladm_destroy_conf(handle, conf);