FTAM/9000 Programmer's Guide

164 Chapter 3
HP FTAM/9000 Data Structures
P_address
P_address
struct P_address
{
struct Octet_string *p_selector; /* NULL if it is not present */
struct Octet_string *s_selector; /* NULL if it is not present */
struct Octet_string *t_selector; /* NULL if it is not present */
Sint16 n_nsaps; /* Number of NSAPs */
struct Octet_string *nsaps; /* ptr to a sequence of NSAPs */} ;
/* Maximum length of psap_selector is 16 Octets.
* Maximum length of ssap_selector is 16 Octets.
* Maximum length of tsap_selector is 32 Octets.
* Maximum length of NSAP is 20 Octets.
* Maximum number of NSAPS is 8.
*/
As an alternative to specifying the directory distinguished name, you can
specify the P_address when invoking ft_connect() to communicate with
other systems and processes.
The P_address must be unique within the network and must be exactly
the same as the one set during configuration. To have the system
automatically set the P_address structure, call convert_paddr; the source
is in /opt/ftam/demos/cnvrt_addr.c.
Each application on a node must have a unique triple of p_selector,
s_selector, and t_selector. For example, one application could have
(0000,0000,0000), another (0000,0000,0001), and another
(2375,232323,75757575).
Each node must have a unique nsap.
The maximum length of the P_address is 224 Octets. These Octets
can be printable or unprintable characters.
Each called_dir_name has a corresponding P_address. Directory
Services provides the mapping between the two.
P_address Is Input To These
Functions
P_address Is Output From
These Functions
ft_connect() ft_connect()