Home
last modified time | relevance | path

Searched refs:ipaddr (Results 1 – 8 of 8) sorted by relevance

/drivers/s390/net/
Dqeth_l3_main.c776 struct qeth_ipaddr *ipaddr; in qeth_l3_add_vipa() local
780 ipaddr = qeth_l3_get_addr_buffer(proto); in qeth_l3_add_vipa()
781 if (ipaddr) { in qeth_l3_add_vipa()
784 memcpy(&ipaddr->u.a4.addr, addr, 4); in qeth_l3_add_vipa()
785 ipaddr->u.a4.mask = 0; in qeth_l3_add_vipa()
788 memcpy(&ipaddr->u.a6.addr, addr, 16); in qeth_l3_add_vipa()
789 ipaddr->u.a6.pfxlen = 0; in qeth_l3_add_vipa()
791 ipaddr->type = QETH_IP_TYPE_VIPA; in qeth_l3_add_vipa()
792 ipaddr->set_flags = QETH_IPA_SETIP_VIPA_FLAG; in qeth_l3_add_vipa()
793 ipaddr->del_flags = QETH_IPA_DELIP_VIPA_FLAG; in qeth_l3_add_vipa()
[all …]
Dqeth_l3_sys.c702 struct qeth_ipaddr *ipaddr; in qeth_l3_dev_vipa_add_show() local
711 list_for_each_entry(ipaddr, &card->ip_list, entry) { in qeth_l3_dev_vipa_add_show()
712 if (ipaddr->proto != proto) in qeth_l3_dev_vipa_add_show()
714 if (ipaddr->type != QETH_IP_TYPE_VIPA) in qeth_l3_dev_vipa_add_show()
721 qeth_l3_ipaddr_to_string(proto, (const u8 *)&ipaddr->u, in qeth_l3_dev_vipa_add_show()
864 struct qeth_ipaddr *ipaddr; in qeth_l3_dev_rxip_add_show() local
873 list_for_each_entry(ipaddr, &card->ip_list, entry) { in qeth_l3_dev_rxip_add_show()
874 if (ipaddr->proto != proto) in qeth_l3_dev_rxip_add_show()
876 if (ipaddr->type != QETH_IP_TYPE_RXIP) in qeth_l3_dev_rxip_add_show()
883 qeth_l3_ipaddr_to_string(proto, (const u8 *)&ipaddr->u, in qeth_l3_dev_rxip_add_show()
/drivers/scsi/qla4xxx/
Dql4_iocb.c518 uint32_t payload_size, uint32_t pid, uint8_t *ipaddr) in qla4xxx_ping_iocb() argument
536 memcpy(&in_mbox[2], &ipaddr[0], 4); in qla4xxx_ping_iocb()
537 memcpy(&in_mbox[3], &ipaddr[4], 4); in qla4xxx_ping_iocb()
538 memcpy(&in_mbox[4], &ipaddr[8], 4); in qla4xxx_ping_iocb()
539 memcpy(&in_mbox[5], &ipaddr[12], 4); in qla4xxx_ping_iocb()
Dql4_glbl.h190 uint32_t payload_size, uint32_t pid, uint8_t *ipaddr);
Dql4_os.c274 uint8_t ipaddr[IPv6_ADDR_LEN]; in qla4xxx_send_ping() local
277 memset(ipaddr, 0, IPv6_ADDR_LEN); in qla4xxx_send_ping()
282 memcpy(ipaddr, &addr->sin_addr.s_addr, IP_ADDR_LEN); in qla4xxx_send_ping()
285 &ha->ip_config.ip_address, ipaddr)); in qla4xxx_send_ping()
287 ipaddr); in qla4xxx_send_ping()
294 memcpy(ipaddr, &addr6->sin6_addr.in6_u.u6_addr8, IPv6_ADDR_LEN); in qla4xxx_send_ping()
303 ipaddr)); in qla4xxx_send_ping()
306 pid, ipaddr); in qla4xxx_send_ping()
326 ipaddr)); in qla4xxx_send_ping()
333 ipaddr)); in qla4xxx_send_ping()
[all …]
/drivers/scsi/cxgbi/
Dlibcxgbi.h677 static inline void cxgbi_set_iscsi_ipv4(struct cxgbi_hba *chba, __be32 ipaddr) in cxgbi_set_iscsi_ipv4() argument
680 chba->ipv4addr = ipaddr; in cxgbi_set_iscsi_ipv4()
/drivers/scsi/bfa/
Dbfa_defs_svc.h992 u8 ipaddr[16]; member
/drivers/infiniband/hw/amso1100/
Dc2_wr.h193 u32 ipaddr; /* address of the nexthop interface */ member