1dat_cr_query(3DAT) Direct Access Transport Library Functionsdat_cr_query(3DAT)
2
3
4
6 dat_cr_query - provide parameters of the Connection Request
7
9 cc [ flag... ] file... -ldat [ library... ]
10 #include <dat/udat.h>
11
12 DAT_RETURN
13 dat_cr_query (
14 IN DAT_CR_HANDLE cr_handle,
15 IN DAT_CR_PARAM_MASK cr_param_mask,
16 OUT DAT_CR_PARAM *cr_param
17 )
18
19
21 cr_handle Handle for an instance of a Connection Request.
22
23
24 cr_param_mask Mask for Connection Request parameters.
25
26
27 cr_param Pointer to a Consumer-allocated structure that the
28 Provider fills for Consumer-requested parameters.
29
30
32 The dat_cr_query() function provides to the Consumer parameters of the
33 Connection Request. The Consumer passes in a pointer to the Consumer-
34 allocated structures for Connection Request parameters that the
35 Provider fills.
36
37
38 The cr_param_mask parameter allows Consumers to specify which parame‐
39 ters to query. The Provider returns values for cr_param_mask requested
40 parameters. The Provider can return values for any other parameters.
41
43 DAT_SUCCESS The operation was successful
44
45
46 DAT_INVALID_HANDLE The cr_handle handle is invalid.
47
48
49 DAT_INVALID_PARAMETER The cr_param_mask parameter is invalid.
50
51
53 The Consumer uses dat_cr_query() to get information about requesting a
54 remote Endpoint as well as a local Endpoint if it was allocated by the
55 Provider for the arrived Connection Request. The local Endpoint is cre‐
56 ated if the Consumer used PSP with DAT_PSP_PROVIDER as the value for
57 psp_flags. For the remote Endpoint, dat_cr_query() provides
58 remote_ia_address and remote_port_qual. It also provides remote peer
59 private_data and its size.
60
62 See attributes(5) for descriptions of the following attributes:
63
64
65
66
67 ┌─────────────────────────────┬─────────────────────────────┐
68 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
69 ├─────────────────────────────┼─────────────────────────────┤
70 │Interface Stability │Standard: uDAPL, 1.1, 1.2 │
71 ├─────────────────────────────┼─────────────────────────────┤
72 │MT-Level │Safe │
73 └─────────────────────────────┴─────────────────────────────┘
74
76 libdat(3LIB), attributes(5)
77
78
79
80SunOS 5.11 16 Jul 2004 dat_cr_query(3DAT)