Lines Matching refs:hte

29 RPC_ReadCounter_TP(struct host_table_entry* hte,
35 initData(&hte->comm, 2);
36 hte->comm.hdr.u.ordinal = TCSD_ORD_READCOUNTER;
37 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext);
39 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
41 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm))
44 result = sendTCSDPacket(hte);
47 result = hte->comm.hdr.u.result;
50 if (getData(TCSD_PACKET_TYPE_COUNTER_VALUE, 0, counterValue, 0, &hte->comm))
58 RPC_CreateCounter_TP(struct host_table_entry* hte,
68 initData(&hte->comm, 5);
69 hte->comm.hdr.u.ordinal = TCSD_ORD_CREATECOUNTER;
70 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext);
72 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
74 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &LabelSize, 0, &hte->comm))
76 if (setData(TCSD_PACKET_TYPE_PBYTE, 2, &pLabel, LabelSize, &hte->comm))
78 if (setData(TCSD_PACKET_TYPE_ENCAUTH, 3, &CounterAuth, 0, &hte->comm))
80 if (setData(TCSD_PACKET_TYPE_AUTH, 4, pOwnerAuth, 0, &hte->comm))
83 result = sendTCSDPacket(hte);
86 result = hte->comm.hdr.u.result;
89 if (getData(TCSD_PACKET_TYPE_AUTH, 0, pOwnerAuth, 0, &hte->comm)) {
93 if (getData(TCSD_PACKET_TYPE_UINT32, 1, idCounter, 0, &hte->comm)) {
97 if (getData(TCSD_PACKET_TYPE_COUNTER_VALUE, 2, counterValue, 0, &hte->comm)) {
107 RPC_IncrementCounter_TP(struct host_table_entry* hte,
114 initData(&hte->comm, 3);
115 hte->comm.hdr.u.ordinal = TCSD_ORD_INCREMENTCOUNTER;
116 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext);
118 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
120 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm))
122 if (setData(TCSD_PACKET_TYPE_AUTH, 2, pCounterAuth, 0, &hte->comm))
125 result = sendTCSDPacket(hte);
128 result = hte->comm.hdr.u.result;
131 if (getData(TCSD_PACKET_TYPE_AUTH, 0, pCounterAuth, 0, &hte->comm)) {
135 if (getData(TCSD_PACKET_TYPE_COUNTER_VALUE, 1, counterValue, 0, &hte->comm)) {
145 RPC_ReleaseCounter_TP(struct host_table_entry* hte,
151 initData(&hte->comm, 3);
152 hte->comm.hdr.u.ordinal = TCSD_ORD_RELEASECOUNTER;
153 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext);
155 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
157 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm))
159 if (setData(TCSD_PACKET_TYPE_AUTH, 2, pCounterAuth, 0, &hte->comm))
162 result = sendTCSDPacket(hte);
165 result = hte->comm.hdr.u.result;
168 if (getData(TCSD_PACKET_TYPE_AUTH, 0, pCounterAuth, 0, &hte->comm))
176 RPC_ReleaseCounterOwner_TP(struct host_table_entry* hte,
182 initData(&hte->comm, 3);
183 hte->comm.hdr.u.ordinal = TCSD_ORD_RELEASECOUNTEROWNER;
184 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext);
186 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
188 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm))
190 if (setData(TCSD_PACKET_TYPE_AUTH, 2, pOwnerAuth, 0, &hte->comm))
193 result = sendTCSDPacket(hte);
196 result = hte->comm.hdr.u.result;
199 if (getData(TCSD_PACKET_TYPE_AUTH, 0, pOwnerAuth, 0, &hte->comm))