next up previous contents
Next: 6.3 References Up: 6 Ports Previous: 6.1 Overview

6.2 State

The processor architecture-independent portion of a port object consists of:

struct fluke_port_state  {

	integer_t	hash;	/*  Object hash value */
	integer_t	alias;	/*  Alias value to pass back to the server */
 
}

fluke_ref_t*pset_ref;

hash is the immutable hash value for the object.

alias holds the value to pass back to the server when it receives an IPC invocation through this port, allowing the server to distinguish requests to different ports that are attached to a single port set. The (arbitrary, optional) alias value is normally set by the server.

pset_ref is a reference to the port set object that this port is associated with. If null, the port is not part of a port set and service threads cannot rendezvous with clients using the port.



Utah Flux Research Group