arch/net/machine-dgram.c File Reference
Datagram implementation of
Converse NET version
converse basic message header:
d0 d1 d2 d3: DgramHeader
d4 d5: msg length (32-bit number)
hdl: handler
xhdl: extended handler
. More...
Go to the source code of this file.
|
Data Structures |
| struct | DgramHeader |
| struct | DgramAck |
| struct | OutgoingMsgStruct |
| struct | ExplicitDgramStruct |
| struct | ImplicitDgramStruct |
| struct | FutureMessageStruct |
| struct | OtherNodeStruct |
Typedefs |
| typedef struct OutgoingMsgStruct * | OutgoingMsg |
typedef struct
ExplicitDgramStruct * | ExplicitDgram |
typedef struct
ImplicitDgramStruct * | ImplicitDgram |
| typedef enum __qp_connection_state | qp_connection_state_t |
typedef struct
FutureMessageStruct * | FutureMessage |
| typedef struct OtherNodeStruct * | OtherNode |
Enumerations |
| enum | __qp_connection_state { QP_CONN_STATE_PRE_CONNECT = 1,
QP_CONN_STATE_CONNECTED,
QP_CONN_STATE_CONNECTION_LOST,
QP_CONN_STATE_CONNECTION_CLOSED
} |
Functions |
| unsigned char | computeCheckSum (unsigned char *data, int len) |
| static void | randomCorrupt (char *data, int len) |
| static void | setspeed_atm () |
| static void | setspeed_eth () |
| static void | setspeed_gigabit () |
| static void | extract_args (char **argv) |
| struct infiOtherNodeData * | initinfiData (int node, int lid, int qpn, int psn) |
| struct infiOtherNodeData * | initInfiOtherNodeData (int node, int addr[3]) |
| void | infiPostInitialRecvs () |
| void | CommunicationServerSysvshm () |
| void | CommunicationServerPxshm () |
| static void | OtherNode_init (OtherNode node) |
| int | CmiLongSendQueue (int forNode, int longerThan) |
| | Return 1 if our outgoing message queue for this node is longer than this many bytes.
|
| void | CmiGmConvertMachineID (unsigned int *mach_id) |
| void | CmiAmmassoNodeAddressesStoreHandler (int pe, struct sockaddr_in *addr, int port) |
| static void | node_addresses_store (ChMessage *msg) |
| void | printNetStatistics (void) |
| void | GarbageCollectMsg (OutgoingMsg ogm) |
| void | DiscardImplicitDgram (ImplicitDgram dg) |
| static void | CommunicationsClock (void) |
| static void | CommunicationsClockCaller (void *ignored) |
| static void | CommunicationPeriodic (void) |
| static void | CommunicationPeriodicCaller (void *ignored) |
| void | DeliverViaNetwork (OutgoingMsg ogm, OtherNode node, int rank, unsigned int broot, int copy) |
| void | SendSpanningChildren (OutgoingMsg ogm, int root, int size, char *msg, unsigned int startpe, int nodesend) |
| void | SendHypercube (OutgoingMsg ogm, int root, int size, char *msg, unsigned int curcycle, int nodesend) |
Variables |
| static int | Cmi_max_dgram_size |
| static int | Cmi_os_buffer_size |
| static int | Cmi_window_size |
| static int | Cmi_half_window |
| static double | Cmi_delay_retransmit |
| static double | Cmi_ack_delay |
| static int | Cmi_dgram_max_data |
| static int | Cmi_comm_periodic_delay |
| static int | Cmi_comm_clock_delay |
| static int | writeableAcks |
| static int | writeableDgrams |
| static OtherNode * | nodes_by_pe |
| static OtherNode | nodes |
| static char | statstr [10000] |
| | Printing Net Statistics -- milind.
|
| static ExplicitDgram | Cmi_freelist_explicit |
| static ImplicitDgram | Cmi_freelist_implicit |
| static int | ctrlskt_ready_read |
| static int | dataskt_ready_read |
| static int | dataskt_ready_write |
| static double | Cmi_ack_last |
| static double | Cmi_check_last |
Detailed Description
Datagram implementation of
Converse NET version
converse basic message header:
d0 d1 d2 d3: DgramHeader
d4 d5: msg length (32-bit number)
hdl: handler
xhdl: extended handler
.
moved from machine.c by Orion Sky Lawlor, olawlor@acm.org, 7/25/2001
Definition in file machine-dgram.c.