Lines Matching refs:ip_config
335 &ha->ip_config.ip_address, ipaddr)); in qla4xxx_send_ping()
352 &ha->ip_config.ipv6_link_local_addr, in qla4xxx_send_ping()
375 &ha->ip_config.ipv6_addr0, in qla4xxx_send_ping()
382 &ha->ip_config.ipv6_addr1, in qla4xxx_send_ping()
1273 len = sprintf(buf, "%pI4\n", &ha->ip_config.ip_address); in qla4xxx_get_iface_param()
1277 &ha->ip_config.subnet_mask); in qla4xxx_get_iface_param()
1280 len = sprintf(buf, "%pI4\n", &ha->ip_config.gateway); in qla4xxx_get_iface_param()
1284 OP_STATE(ha->ip_config.ipv4_options, in qla4xxx_get_iface_param()
1287 OP_STATE(ha->ip_config.ipv6_options, in qla4xxx_get_iface_param()
1295 (ha->ip_config.tcp_options & in qla4xxx_get_iface_param()
1302 &ha->ip_config.ipv6_addr0); in qla4xxx_get_iface_param()
1305 &ha->ip_config.ipv6_addr1); in qla4xxx_get_iface_param()
1309 &ha->ip_config.ipv6_link_local_addr); in qla4xxx_get_iface_param()
1313 &ha->ip_config.ipv6_default_router_addr); in qla4xxx_get_iface_param()
1316 pval = (ha->ip_config.ipv6_addl_options & in qla4xxx_get_iface_param()
1323 pval = (ha->ip_config.ipv6_addl_options & in qla4xxx_get_iface_param()
1331 ival = ha->ip_config.ipv4_vlan_tag & in qla4xxx_get_iface_param()
1334 ival = ha->ip_config.ipv6_vlan_tag & in qla4xxx_get_iface_param()
1341 ival = (ha->ip_config.ipv4_vlan_tag >> 13) & in qla4xxx_get_iface_param()
1344 ival = (ha->ip_config.ipv6_vlan_tag >> 13) & in qla4xxx_get_iface_param()
1351 OP_STATE(ha->ip_config.ipv4_options, in qla4xxx_get_iface_param()
1354 OP_STATE(ha->ip_config.ipv6_options, in qla4xxx_get_iface_param()
1360 len = sprintf(buf, "%d\n", ha->ip_config.eth_mtu_size); in qla4xxx_get_iface_param()
1365 ha->ip_config.ipv4_port); in qla4xxx_get_iface_param()
1368 ha->ip_config.ipv6_port); in qla4xxx_get_iface_param()
1373 ha->ip_config.ipv4_addr_state); in qla4xxx_get_iface_param()
1377 ha->ip_config.ipv6_addr0_state); in qla4xxx_get_iface_param()
1380 ha->ip_config.ipv6_addr1_state); in qla4xxx_get_iface_param()
1387 ha->ip_config.ipv6_link_local_state); in qla4xxx_get_iface_param()
1392 ha->ip_config.ipv6_default_router_state); in qla4xxx_get_iface_param()
1397 OP_STATE(~ha->ip_config.tcp_options, in qla4xxx_get_iface_param()
1400 OP_STATE(~ha->ip_config.ipv6_tcp_options, in qla4xxx_get_iface_param()
1407 OP_STATE(~ha->ip_config.tcp_options, in qla4xxx_get_iface_param()
1410 OP_STATE(~ha->ip_config.ipv6_tcp_options, in qla4xxx_get_iface_param()
1417 OP_STATE(~ha->ip_config.tcp_options, in qla4xxx_get_iface_param()
1420 OP_STATE(~ha->ip_config.ipv6_tcp_options, in qla4xxx_get_iface_param()
1429 ha->ip_config.tcp_wsf); in qla4xxx_get_iface_param()
1432 ha->ip_config.ipv6_tcp_wsf); in qla4xxx_get_iface_param()
1436 ival = (ha->ip_config.tcp_options & in qla4xxx_get_iface_param()
1439 ival = (ha->ip_config.ipv6_tcp_options & in qla4xxx_get_iface_param()
1446 OP_STATE(ha->ip_config.tcp_options, in qla4xxx_get_iface_param()
1449 OP_STATE(ha->ip_config.ipv6_tcp_options, in qla4xxx_get_iface_param()
1457 ha->ip_config.ipv4_cache_id); in qla4xxx_get_iface_param()
1460 ha->ip_config.ipv6_cache_id); in qla4xxx_get_iface_param()
1463 OP_STATE(ha->ip_config.tcp_options, in qla4xxx_get_iface_param()
1469 OP_STATE(ha->ip_config.tcp_options, in qla4xxx_get_iface_param()
1475 OP_STATE(ha->ip_config.ipv4_options, in qla4xxx_get_iface_param()
1481 len = sprintf(buf, "%d\n", ha->ip_config.ipv4_tos); in qla4xxx_get_iface_param()
1484 OP_STATE(ha->ip_config.ipv4_options, in qla4xxx_get_iface_param()
1490 OP_STATE(ha->ip_config.ipv4_options, IPOPT_ALT_CID_EN, in qla4xxx_get_iface_param()
1496 pval = (ha->ip_config.ipv4_alt_cid_len) ? in qla4xxx_get_iface_param()
1497 (char *)ha->ip_config.ipv4_alt_cid : ""; in qla4xxx_get_iface_param()
1502 OP_STATE(ha->ip_config.ipv4_options, in qla4xxx_get_iface_param()
1508 OP_STATE(ha->ip_config.ipv4_options, in qla4xxx_get_iface_param()
1514 pval = (ha->ip_config.ipv4_vid_len) ? in qla4xxx_get_iface_param()
1515 (char *)ha->ip_config.ipv4_vid : ""; in qla4xxx_get_iface_param()
1520 OP_STATE(ha->ip_config.ipv4_options, in qla4xxx_get_iface_param()
1526 OP_STATE(~ha->ip_config.ipv4_options, in qla4xxx_get_iface_param()
1532 OP_STATE(ha->ip_config.ipv4_options, in qla4xxx_get_iface_param()
1539 OP_STATE(ha->ip_config.ipv4_options, in qla4xxx_get_iface_param()
1542 OP_STATE(ha->ip_config.ipv6_options, in qla4xxx_get_iface_param()
1548 len = sprintf(buf, "%d\n", ha->ip_config.ipv4_ttl); in qla4xxx_get_iface_param()
1551 OP_STATE(ha->ip_config.ipv6_options, in qla4xxx_get_iface_param()
1557 OP_STATE(ha->ip_config.ipv6_addl_options, in qla4xxx_get_iface_param()
1563 len = sprintf(buf, "%u\n", ha->ip_config.ipv6_flow_lbl); in qla4xxx_get_iface_param()
1567 ha->ip_config.ipv6_traffic_class); in qla4xxx_get_iface_param()
1571 ha->ip_config.ipv6_hop_limit); in qla4xxx_get_iface_param()
1575 ha->ip_config.ipv6_nd_reach_time); in qla4xxx_get_iface_param()
1579 ha->ip_config.ipv6_nd_rexmit_timer); in qla4xxx_get_iface_param()
1583 ha->ip_config.ipv6_nd_stale_timeout); in qla4xxx_get_iface_param()
1587 ha->ip_config.ipv6_dup_addr_detect_count); in qla4xxx_get_iface_param()
1591 ha->ip_config.ipv6_gw_advrt_mtu); in qla4xxx_get_iface_param()
1599 len = sprintf(buf, "%d\n", ha->ip_config.def_timeout); in qla4xxx_get_iface_param()
1602 OP_STATE(ha->ip_config.iscsi_options, in qla4xxx_get_iface_param()
1608 OP_STATE(ha->ip_config.iscsi_options, in qla4xxx_get_iface_param()
1614 OP_STATE(ha->ip_config.iscsi_options, in qla4xxx_get_iface_param()
1620 OP_STATE(ha->ip_config.iscsi_options, in qla4xxx_get_iface_param()
1626 OP_STATE(ha->ip_config.iscsi_options, in qla4xxx_get_iface_param()
1632 OP_STATE(ha->ip_config.iscsi_options, in qla4xxx_get_iface_param()
1639 (ha->ip_config.iscsi_options & in qla4xxx_get_iface_param()
1644 ha->ip_config.iscsi_max_pdu_size * in qla4xxx_get_iface_param()
1649 ha->ip_config.iscsi_first_burst_len * in qla4xxx_get_iface_param()
1654 ha->ip_config.iscsi_max_outstnd_r2t); in qla4xxx_get_iface_param()
1658 ha->ip_config.iscsi_max_burst_len * in qla4xxx_get_iface_param()
1662 OP_STATE(ha->ip_config.iscsi_options, in qla4xxx_get_iface_param()
1668 OP_STATE(ha->ip_config.iscsi_options, in qla4xxx_get_iface_param()
1674 OP_STATE(ha->ip_config.iscsi_options, in qla4xxx_get_iface_param()
1680 OP_STATE(ha->ip_config.iscsi_options, in qla4xxx_get_iface_param()
1686 OP_STATE(ha->ip_config.iscsi_options, in qla4xxx_get_iface_param()
1692 len = sprintf(buf, "%s\n", ha->ip_config.iscsi_name); in qla4xxx_get_iface_param()
1938 len = sprintf(buf, "%pI4\n", &ha->ip_config.ip_address); in qla4xxx_host_get_param()
1997 if (ha->ip_config.ipv4_options & IPOPT_IPV4_PROTOCOL_ENABLE) in qla4xxx_create_ifaces()
2000 if (ha->ip_config.ipv6_options & IPV6_OPT_IPV6_PROTOCOL_ENABLE) in qla4xxx_create_ifaces()