Lines Matching refs:iface_param
309 struct iscsi_iface_param_info *iface_param) in beiscsi_iface_config_vlan() argument
314 switch (iface_param->param) { in beiscsi_iface_config_vlan()
317 if (iface_param->value[0] != ISCSI_VLAN_ENABLE) in beiscsi_iface_config_vlan()
322 *((uint16_t *)iface_param->value)); in beiscsi_iface_config_vlan()
396 struct iscsi_iface_param_info *iface_param, in beiscsi_iface_config_ipv6() argument
402 switch (iface_param->param) { in beiscsi_iface_config_ipv6()
404 if (iface_param->value[0] == ISCSI_IFACE_ENABLE) in beiscsi_iface_config_ipv6()
413 iface_param->value, NULL); in beiscsi_iface_config_ipv6()
423 struct iscsi_iface_param_info *iface_param = NULL; in beiscsi_iface_set_param() local
444 iface_param = nla_data(attrib); in beiscsi_iface_set_param()
446 if (iface_param->param_type != ISCSI_NET_PARAM) in beiscsi_iface_set_param()
452 if (iface_param->iface_num) { in beiscsi_iface_set_param()
456 iface_param->iface_num); in beiscsi_iface_set_param()
463 (iface_param->iface_type == ISCSI_IFACE_TYPE_IPV4) ? in beiscsi_iface_set_param()
464 "ipv4" : "ipv6", iface_param->param); in beiscsi_iface_set_param()
467 switch (iface_param->param) { in beiscsi_iface_set_param()
470 ret = beiscsi_iface_config_vlan(shost, iface_param); in beiscsi_iface_set_param()
473 switch (iface_param->iface_type) { in beiscsi_iface_set_param()
476 iface_param, in beiscsi_iface_set_param()
481 iface_param, in beiscsi_iface_set_param()
490 (iface_param->iface_type == in beiscsi_iface_set_param()
492 iface_param->param); in beiscsi_iface_set_param()