Lines Matching defs:conf

269 	dladm_conf_t	conf;
278 if ((status = dladm_getsnap_conf(handle, linkid, &conf)) !=
282 status = dladm_get_conf_field(handle, conf, FKEY, &u64, sizeof (u64));
287 status = dladm_get_conf_field(handle, conf, FPOLICY, &u64,
293 status = dladm_get_conf_field(handle, conf, FFIXMACADDR,
301 if ((status = dladm_get_conf_field(handle, conf, FMACADDR,
311 status = dladm_get_conf_field(handle, conf, FFORCE, &attrp->lg_force,
316 status = dladm_get_conf_field(handle, conf, FLACPMODE, &u64,
322 status = dladm_get_conf_field(handle, conf, FLACPTIMER, &u64,
328 status = dladm_get_conf_field(handle, conf, FNPORTS, &u64,
341 status = dladm_get_conf_field(handle, conf, FPORTS, portstr, size);
359 dladm_destroy_conf(handle, conf);
385 dladm_conf_t conf;
415 status = dladm_open_conf(handle, linkid, &conf);
422 status = dladm_get_conf_field(handle, conf, FNPORTS, &u64,
442 status = dladm_get_conf_field(handle, conf, FPORTS,
514 if ((status = dladm_set_conf_field(handle, conf, FNPORTS,
520 status = dladm_set_conf_field(handle, conf, FPORTS,
529 status = dladm_write_conf(handle, conf);
532 dladm_destroy_conf(handle, conf);
575 if (dladm_open_conf(handle, linkid, &conf) == DLADM_STATUS_OK) {
577 if ((dladm_set_conf_field(handle, conf, FNPORTS,
579 (dladm_set_conf_field(handle, conf, FPORTS,
581 (void) dladm_write_conf(handle, conf);
583 (void) dladm_destroy_conf(handle, conf);
1015 dladm_conf_t conf;
1023 DATALINK_CLASS_AGGR, DL_ETHER, &conf)) != DLADM_STATUS_OK) {
1028 status = dladm_set_conf_field(handle, conf, FKEY, DLADM_TYPE_UINT64,
1034 status = dladm_set_conf_field(handle, conf, FNPORTS, DLADM_TYPE_UINT64,
1052 status = dladm_set_conf_field(handle, conf, FPORTS, DLADM_TYPE_STR,
1060 status = dladm_set_conf_field(handle, conf, FPOLICY, DLADM_TYPE_UINT64,
1065 status = dladm_set_conf_field(handle, conf, FFIXMACADDR,
1077 status = dladm_set_conf_field(handle, conf, FMACADDR,
1083 status = dladm_set_conf_field(handle, conf, FFORCE, DLADM_TYPE_BOOLEAN,
1089 status = dladm_set_conf_field(handle, conf, FLACPMODE,
1095 status = dladm_set_conf_field(handle, conf, FLACPTIMER,
1103 status = dladm_write_conf(handle, conf);
1106 dladm_destroy_conf(handle, conf);
1178 i_dladm_aggr_get_aggr_attr(dladm_handle_t handle, dladm_conf_t conf,
1186 status = dladm_get_conf_field(handle, conf, FPOLICY, &u64,
1194 status = dladm_get_conf_field(handle, conf, FFIXMACADDR,
1202 status = dladm_get_conf_field(handle, conf, FMACADDR,
1215 status = dladm_get_conf_field(handle, conf, FLACPMODE, &u64,
1223 status = dladm_get_conf_field(handle, conf, FLACPTIMER, &u64,
1234 i_dladm_aggr_set_aggr_attr(dladm_handle_t handle, dladm_conf_t conf,
1243 status = dladm_set_conf_field(handle, conf, FPOLICY,
1250 status = dladm_set_conf_field(handle, conf, FFIXMACADDR,
1257 status = dladm_set_conf_field(handle, conf, FMACADDR,
1266 status = dladm_set_conf_field(handle, conf, FLACPMODE,
1274 status = dladm_set_conf_field(handle, conf, FLACPTIMER,
1294 dladm_conf_t conf;
1304 status = dladm_open_conf(handle, linkid, &conf);
1308 if ((status = i_dladm_aggr_get_aggr_attr(handle, conf,
1313 if ((status = i_dladm_aggr_set_aggr_attr(handle, conf,
1318 status = dladm_write_conf(handle, conf);
1321 dladm_destroy_conf(handle, conf);
1332 if (dladm_open_conf(handle, linkid, &conf) == DLADM_STATUS_OK) {
1333 if (i_dladm_aggr_set_aggr_attr(handle, conf,
1335 (void) dladm_write_conf(handle, conf);
1337 dladm_destroy_conf(handle, conf);
1459 dladm_conf_t conf;
1465 if (dladm_getsnap_conf(handle, linkid, &conf) != DLADM_STATUS_OK)
1468 status = dladm_get_conf_field(handle, conf, FKEY, &u64, sizeof (u64));
1470 dladm_destroy_conf(handle, conf);