i
i
“K16304” — 2012/11/19 — 9:15
i
i
i
i
i
i
6.4 Design of SCTP-Based MPI Middleware for Open MPI
157
according to this state, takes an appropriate course of action. The state that we are
currently in is MCA_BTL_SCTP_CONNECTED so we know that the data to pull off the
socket is application level data. We allocate a fragment pointer and assign it the frag-
ment pointer contained within the btl_endpoint structure that is our view of the
endpoint with which we are communicating (in this case, the sending endpoint). We
pass this fragment to mca_btl_sctp_frag_recv() which is actually responsible
for pulling the data off the socket. Once inside, this routine is essentially responsible
for packing data pulled off the socket via readv() into the fragment iovector struc- ...