Lines Matching refs:cm_info
177 event->cm_info.rem_addr = cm_node->rem_addr; in create_event()
178 event->cm_info.loc_addr = cm_node->loc_addr; in create_event()
179 event->cm_info.rem_port = cm_node->rem_port; in create_event()
180 event->cm_info.loc_port = cm_node->loc_port; in create_event()
181 event->cm_info.cm_id = cm_node->cm_id; in create_event()
185 cm_node, event, type, event->cm_info.loc_addr, in create_event()
186 event->cm_info.loc_port, event->cm_info.rem_addr, in create_event()
187 event->cm_info.rem_port); in create_event()
1028 struct nes_vnic *nesvnic, struct nes_cm_info *cm_info, in make_cm_node() argument
1043 cm_node->loc_addr = cm_info->loc_addr; in make_cm_node()
1044 cm_node->rem_addr = cm_info->rem_addr; in make_cm_node()
1045 cm_node->loc_port = cm_info->loc_port; in make_cm_node()
1046 cm_node->rem_port = cm_info->rem_port; in make_cm_node()
1053 cm_node->cm_id = cm_info->cm_id; in make_cm_node()
1078 cm_node->conn_type = cm_info->conn_type; in make_cm_node()
1094 arpindex = nes_addr_resolve_neigh(nesvnic, cm_info->rem_addr); in make_cm_node()
1794 struct nes_vnic *nesvnic, struct nes_cm_info *cm_info) in mini_cm_listen() argument
1800 cm_info->loc_addr, cm_info->loc_port); in mini_cm_listen()
1803 listener = find_listener(cm_core, htonl(cm_info->loc_addr), in mini_cm_listen()
1804 htons(cm_info->loc_port), NES_CM_LISTENER_EITHER_STATE); in mini_cm_listen()
1820 listener->loc_addr = htonl(cm_info->loc_addr); in mini_cm_listen()
1821 listener->loc_port = htons(cm_info->loc_port); in mini_cm_listen()
1832 listener->cm_id = cm_info->cm_id; in mini_cm_listen()
1838 listener->conn_type = cm_info->conn_type; in mini_cm_listen()
1839 listener->backlog = cm_info->backlog; in mini_cm_listen()
1851 cm_info->loc_addr, cm_info->loc_port, in mini_cm_listen()
1863 void *private_data, struct nes_cm_info *cm_info) in mini_cm_connect() argument
1874 cm_node = make_cm_node(cm_core, nesvnic, cm_info, NULL); in mini_cm_connect()
1887 if (cm_info->loc_addr == cm_info->rem_addr) { in mini_cm_connect()
1895 loopback_cm_info = *cm_info; in mini_cm_connect()
1896 loopback_cm_info.loc_port = cm_info->rem_port; in mini_cm_connect()
1897 loopback_cm_info.rem_port = cm_info->loc_port; in mini_cm_connect()
2812 struct nes_cm_info cm_info; in nes_connect() local
2855 cm_info.loc_addr = htonl(cm_id->local_addr.sin_addr.s_addr); in nes_connect()
2856 cm_info.loc_port = htons(cm_id->local_addr.sin_port); in nes_connect()
2857 cm_info.rem_addr = htonl(cm_id->remote_addr.sin_addr.s_addr); in nes_connect()
2858 cm_info.rem_port = htons(cm_id->remote_addr.sin_port); in nes_connect()
2859 cm_info.cm_id = cm_id; in nes_connect()
2860 cm_info.conn_type = NES_CM_IWARP_CONN_TYPE; in nes_connect()
2867 &cm_info); in nes_connect()
2895 struct nes_cm_info cm_info; in nes_create_listen() local
2914 cm_info.loc_addr = nesvnic->local_ipaddr; in nes_create_listen()
2915 cm_info.loc_port = cm_id->local_addr.sin_port; in nes_create_listen()
2916 cm_info.backlog = backlog; in nes_create_listen()
2917 cm_info.cm_id = cm_id; in nes_create_listen()
2919 cm_info.conn_type = NES_CM_IWARP_CONN_TYPE; in nes_create_listen()
2922 cm_node = g_cm_core->api->listen(g_cm_core, nesvnic, &cm_info); in nes_create_listen()
3150 cm_event.local_addr.sin_addr.s_addr = event->cm_info.rem_addr; in cm_event_connected()
3300 cm_event.local_addr.sin_port = htons(event->cm_info.loc_port); in cm_event_mpa_req()
3301 cm_event.local_addr.sin_addr.s_addr = htonl(event->cm_info.loc_addr); in cm_event_mpa_req()
3304 cm_event.remote_addr.sin_port = htons(event->cm_info.rem_port); in cm_event_mpa_req()
3305 cm_event.remote_addr.sin_addr.s_addr = htonl(event->cm_info.rem_addr); in cm_event_mpa_req()
3329 event->cm_info.cm_id->add_ref(event->cm_info.cm_id); in nes_cm_post_event()
3393 event->cm_info.cm_id->rem_ref(event->cm_info.cm_id); in nes_cm_event_handler()