Lines Matching defs:if_info
508 struct be_cmd_get_if_info_resp *if_info)
527 req->ip_params.ip_record.ip_addr.ip_type = if_info->ip_addr.ip_type;
529 if_info->ip_addr.addr,
530 sizeof(if_info->ip_addr.addr));
532 if_info->ip_addr.subnet_mask,
533 sizeof(if_info->ip_addr.subnet_mask));
590 struct be_cmd_get_if_info_resp *if_info;
595 rc = beiscsi_if_get_info(phba, ip_type, &if_info);
599 if (if_info->dhcp_state) {
620 if (!beiscsi_if_zero_ip(if_info->ip_addr.addr, ip_type)) {
621 rc = beiscsi_if_clr_ip(phba, if_info);
630 kfree(if_info);
637 struct be_cmd_get_if_info_resp *if_info;
643 rc = beiscsi_if_get_info(phba, ip_type, &if_info);
647 if (if_info->dhcp_state) {
654 if (!beiscsi_if_zero_ip(if_info->ip_addr.addr, ip_type)) {
655 rc = beiscsi_if_clr_ip(phba, if_info);
662 /* use ip_type provided in if_info */
663 rc = beiscsi_if_get_gw(phba, if_info->ip_addr.ip_type, &gw_resp);
670 if (!beiscsi_if_zero_ip(gw, if_info->ip_addr.ip_type)) {
672 if_info->ip_addr.ip_type, gw);
694 kfree(if_info);
735 struct be_cmd_get_if_info_resp **if_info)
758 /* Allocate memory for if_info */
759 *if_info = kzalloc(ioctl_size, GFP_KERNEL);
760 if (!*if_info) {
773 rc = beiscsi_exec_nemb_cmd(phba, &nonemb_cmd, NULL, *if_info,
790 kfree(*if_info);