Lines Matching refs:my_dest
126 const struct pingpong_dest *my_dest) in pp_client_exch_dest() argument
169 gid_to_wire_gid(&my_dest->gid, gid); in pp_client_exch_dest()
170 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, in pp_client_exch_dest()
171 my_dest->psn, gid); in pp_client_exch_dest()
199 const struct pingpong_dest *my_dest, in pp_server_exch_dest() argument
275 if (pp_connect_ctx(ctx, ib_port, my_dest->psn, sl, rem_dest, in pp_server_exch_dest()
283 gid_to_wire_gid(&my_dest->gid, gid); in pp_server_exch_dest()
284 sprintf(msg, "%04x:%06x:%06x:%s", my_dest->lid, my_dest->qpn, in pp_server_exch_dest()
285 my_dest->psn, gid); in pp_server_exch_dest()
561 struct pingpong_dest my_dest; in main() local
706 my_dest.lid = ctx->portinfo.lid; in main()
708 my_dest.qpn = ctx->qp->qp_num; in main()
709 my_dest.psn = lrand48() & 0xffffff; in main()
712 if (ibv_query_gid(ctx->context, ib_port, gidx, &my_dest.gid)) { in main()
718 memset(&my_dest.gid, 0, sizeof my_dest.gid); in main()
720 inet_ntop(AF_INET6, &my_dest.gid, gid, sizeof gid); in main()
722 my_dest.lid, my_dest.qpn, my_dest.psn, gid); in main()
725 rem_dest = pp_client_exch_dest(servername, port, &my_dest); in main()
728 &my_dest, gidx); in main()
738 if (pp_connect_ctx(ctx, ib_port, my_dest.psn, sl, rem_dest, in main()