Home
last modified time | relevance | path

Searched refs:mapped_sockaddr (Results 1 – 4 of 4) sorted by relevance

/drivers/infiniband/core/
Diwpm_util.c119 struct sockaddr_storage *mapped_sockaddr, in iwpm_create_mapinfo() argument
136 memcpy(&map_info->mapped_sockaddr, mapped_sockaddr, in iwpm_create_mapinfo()
144 &map_info->mapped_sockaddr); in iwpm_create_mapinfo()
175 if (!iwpm_compare_sockaddr(&map_info->mapped_sockaddr, in iwpm_remove_mapinfo()
565 *mapped_sockaddr) in get_mapinfo_hash_bucket()
570 ret = get_hash_bucket(local_sockaddr, mapped_sockaddr, &hash); in get_mapinfo_hash_bucket()
689 &map_info->mapped_sockaddr, in iwpm_send_mapinfo()
696 iwpm_print_sockaddr(&map_info->mapped_sockaddr, in iwpm_send_mapinfo()
Diwpm_msg.c420 struct sockaddr_storage *mapped_sockaddr; in iwpm_add_mapping_cb() local
441 mapped_sockaddr = (struct sockaddr_storage *) in iwpm_add_mapping_cb()
448 if (mapped_sockaddr->ss_family != local_sockaddr->ss_family) { in iwpm_add_mapping_cb()
454 memcpy(&pm_msg->mapped_loc_addr, mapped_sockaddr, in iwpm_add_mapping_cb()
455 sizeof(*mapped_sockaddr)); in iwpm_add_mapping_cb()
Diwpm_util.h79 struct sockaddr_storage mapped_sockaddr; member
/drivers/infiniband/hw/nes/
Dnes_cm.c546 struct sockaddr_storage mapped_sockaddr; in nes_create_mapinfo() local
551 htons(cm_info->mapped_loc_port), &mapped_sockaddr); in nes_create_mapinfo()
554 &mapped_sockaddr, RDMA_NL_NES); in nes_create_mapinfo()
566 struct sockaddr_storage mapped_sockaddr; in nes_remove_mapinfo() local
570 &mapped_sockaddr); in nes_remove_mapinfo()
572 iwpm_remove_mapinfo(&local_sockaddr, &mapped_sockaddr); in nes_remove_mapinfo()