Lines Matching refs:P

35 translator conninfo_t < idm_conn_t *P > {
36 ci_local = (P->ic_laddr.ss_family == AF_INET) ?
38 &((struct sockaddr_in *)&P->ic_laddr)->sin_addr) :
39 inet_ntoa6(&((struct sockaddr_in6 *)&P->ic_laddr)->sin6_addr);
41 ci_remote = (P->ic_raddr.ss_family == AF_INET) ?
43 &((struct sockaddr_in *)&P->ic_raddr)->sin_addr) :
44 inet_ntoa6(&((struct sockaddr_in6 *)&P->ic_raddr)->sin6_addr);
46 ci_protocol = (P->ic_laddr.ss_family == AF_INET) ? "ipv4" : "ipv6";
50 translator iscsiinfo_t < iscsi_async_evt_hdr_t *P > {
59 ii_lun = (((uint64_t)P->lun[0] << (64 - 0*8 - 8)) +
60 ((uint64_t)P->lun[1] << (64 - 1*8 - 8)) +
61 ((uint64_t)P->lun[2] << (64 - 2*8 - 8)) +
62 ((uint64_t)P->lun[3] << (64 - 3*8 - 8)) +
63 ((uint64_t)P->lun[4] << (64 - 4*8 - 8)) +
64 ((uint64_t)P->lun[5] << (64 - 5*8 - 8)) +
65 ((uint64_t)P->lun[6] << (64 - 6*8 - 8)) +
66 ((uint64_t)P->lun[7] << (64 - 7*8 - 8)));
70 ii_statsn = ntohl(P->statsn);
72 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
73 ii_flags = P->flags;
77 translator iscsiinfo_t < iscsi_login_hdr_t *P > {
87 ii_itt = ntohl(P->itt);
89 ii_cmdsn = ntohl(P->cmdsn);
90 ii_statsn = ntohl(P->expstatsn);
92 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
93 ii_flags = P->flags;
97 translator iscsiinfo_t < iscsi_login_rsp_hdr_t *P > {
107 ii_itt = ntohl(P->itt);
109 ii_cmdsn = ntohl(P->expcmdsn);
110 ii_statsn = ntohl(P->statsn);
112 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
113 ii_flags = P->flags;
117 translator iscsiinfo_t < iscsi_logout_hdr_t *P > {
127 ii_itt = ntohl(P->itt);
129 ii_cmdsn = ntohl(P->cmdsn);
130 ii_statsn = ntohl(P->expstatsn);
133 ii_flags = P->flags;
137 translator iscsiinfo_t < iscsi_logout_rsp_hdr_t *P > {
147 ii_itt = ntohl(P->itt);
150 ii_statsn = ntohl(P->statsn);
153 ii_flags = P->flags;
157 translator iscsiinfo_t < iscsi_rtt_hdr_t *P > {
167 ii_itt = ntohl(P->itt);
168 ii_ttt = ntohl(P->ttt);
169 ii_cmdsn = ntohl(P->expcmdsn);
170 ii_statsn = ntohl(P->statsn);
171 ii_datasn = ntohl(P->rttsn);
173 ii_flags = P->flags;
177 translator iscsiinfo_t < iscsi_data_rsp_hdr_t *P > {
186 ii_lun = (((uint64_t)P->lun[0] << (64 - 0*8 - 8)) +
187 ((uint64_t)P->lun[1] << (64 - 1*8 - 8)) +
188 ((uint64_t)P->lun[2] << (64 - 2*8 - 8)) +
189 ((uint64_t)P->lun[3] << (64 - 3*8 - 8)) +
190 ((uint64_t)P->lun[4] << (64 - 4*8 - 8)) +
191 ((uint64_t)P->lun[5] << (64 - 5*8 - 8)) +
192 ((uint64_t)P->lun[6] << (64 - 6*8 - 8)) +
193 ((uint64_t)P->lun[7] << (64 - 7*8 - 8)));
194 ii_itt = ntohl(P->itt);
195 ii_ttt = ntohl(P->ttt);
196 ii_cmdsn = ntohl(P->expcmdsn);
197 ii_statsn = ntohl(P->statsn);
198 ii_datasn = ntohl(P->datasn);
199 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
200 ii_flags = P->flags;
204 translator iscsiinfo_t < iscsi_data_hdr_t *P > {
213 ii_lun = (((uint64_t)P->lun[0] << (64 - 0*8 - 8)) +
214 ((uint64_t)P->lun[1] << (64 - 1*8 - 8)) +
215 ((uint64_t)P->lun[2] << (64 - 2*8 - 8)) +
216 ((uint64_t)P->lun[3] << (64 - 3*8 - 8)) +
217 ((uint64_t)P->lun[4] << (64 - 4*8 - 8)) +
218 ((uint64_t)P->lun[5] << (64 - 5*8 - 8)) +
219 ((uint64_t)P->lun[6] << (64 - 6*8 - 8)) +
220 ((uint64_t)P->lun[7] << (64 - 7*8 - 8)));
221 ii_itt = ntohl(P->itt);
222 ii_ttt = ntohl(P->ttt);
224 ii_statsn = ntohl(P->expstatsn);
225 ii_datasn = ntohl(P->datasn);
226 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
227 ii_flags = P->flags;
231 translator iscsiinfo_t < iscsi_nop_in_hdr_t *P > {
240 ii_lun = (((uint64_t)P->lun[0] << (64 - 0*8 - 8)) +
241 ((uint64_t)P->lun[1] << (64 - 1*8 - 8)) +
242 ((uint64_t)P->lun[2] << (64 - 2*8 - 8)) +
243 ((uint64_t)P->lun[3] << (64 - 3*8 - 8)) +
244 ((uint64_t)P->lun[4] << (64 - 4*8 - 8)) +
245 ((uint64_t)P->lun[5] << (64 - 5*8 - 8)) +
246 ((uint64_t)P->lun[6] << (64 - 6*8 - 8)) +
247 ((uint64_t)P->lun[7] << (64 - 7*8 - 8)));
248 ii_itt = ntohl(P->itt);
249 ii_ttt = ntohl(P->ttt);
250 ii_cmdsn = ntohl(P->expcmdsn);
251 ii_statsn = ntohl(P->statsn);
253 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
254 ii_flags = P->flags;
258 translator iscsiinfo_t < iscsi_nop_out_hdr_t *P > {
267 ii_lun = (((uint64_t)P->lun[0] << (64 - 0*8 - 8)) +
268 ((uint64_t)P->lun[1] << (64 - 1*8 - 8)) +
269 ((uint64_t)P->lun[2] << (64 - 2*8 - 8)) +
270 ((uint64_t)P->lun[3] << (64 - 3*8 - 8)) +
271 ((uint64_t)P->lun[4] << (64 - 4*8 - 8)) +
272 ((uint64_t)P->lun[5] << (64 - 5*8 - 8)) +
273 ((uint64_t)P->lun[6] << (64 - 6*8 - 8)) +
274 ((uint64_t)P->lun[7] << (64 - 7*8 - 8)));
275 ii_itt = ntohl(P->itt);
276 ii_ttt = ntohl(P->ttt);
277 ii_cmdsn = ntohl(P->cmdsn);
278 ii_statsn = ntohl(P->expstatsn);
280 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
281 ii_flags = P->flags;
285 translator iscsiinfo_t < iscsi_scsi_cmd_hdr_t *P > {
294 ii_lun = (((uint64_t)P->lun[0] << (64 - 0*8 - 8)) +
295 ((uint64_t)P->lun[1] << (64 - 1*8 - 8)) +
296 ((uint64_t)P->lun[2] << (64 - 2*8 - 8)) +
297 ((uint64_t)P->lun[3] << (64 - 3*8 - 8)) +
298 ((uint64_t)P->lun[4] << (64 - 4*8 - 8)) +
299 ((uint64_t)P->lun[5] << (64 - 5*8 - 8)) +
300 ((uint64_t)P->lun[6] << (64 - 6*8 - 8)) +
301 ((uint64_t)P->lun[7] << (64 - 7*8 - 8)));
302 ii_itt = ntohl(P->itt);
304 ii_cmdsn = ntohl(P->cmdsn);
305 ii_statsn = ntohl(P->expstatsn);
307 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
308 ii_flags = P->flags;
312 translator iscsiinfo_t < iscsi_scsi_rsp_hdr_t *P > {
322 ii_itt = ntohl(P->itt);
324 ii_cmdsn = ntohl(P->expcmdsn);
325 ii_statsn = ntohl(P->statsn);
326 ii_datasn = ntohl(P->expdatasn);
327 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
328 ii_flags = P->flags;
332 translator iscsiinfo_t < iscsi_scsi_task_mgt_hdr_t *P > {
341 ii_lun = (((uint64_t)P->lun[0] << (64 - 0*8 - 8)) +
342 ((uint64_t)P->lun[1] << (64 - 1*8 - 8)) +
343 ((uint64_t)P->lun[2] << (64 - 2*8 - 8)) +
344 ((uint64_t)P->lun[3] << (64 - 3*8 - 8)) +
345 ((uint64_t)P->lun[4] << (64 - 4*8 - 8)) +
346 ((uint64_t)P->lun[5] << (64 - 5*8 - 8)) +
347 ((uint64_t)P->lun[6] << (64 - 6*8 - 8)) +
348 ((uint64_t)P->lun[7] << (64 - 7*8 - 8)));
349 ii_itt = ntohl(P->itt);
350 ii_ttt = ntohl(P->rtt);
351 ii_cmdsn = ntohl(P->cmdsn);
352 ii_statsn = ntohl(P->expstatsn);
359 translator iscsiinfo_t < iscsi_scsi_task_mgt_rsp_hdr_t *P > {
369 ii_itt = ntohl(P->itt);
370 ii_ttt = ntohl(P->rtt);
371 ii_cmdsn = ntohl(P->expcmdsn);
372 ii_statsn = ntohl(P->statsn);
374 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
375 ii_flags = P->flags;
379 translator iscsiinfo_t < iscsi_text_hdr_t *P > {
389 ii_itt = ntohl(P->itt);
390 ii_ttt = ntohl(P->ttt);
391 ii_cmdsn = ntohl(P->cmdsn);
392 ii_statsn = ntohl(P->expstatsn);
394 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
395 ii_flags = P->flags;
399 translator iscsiinfo_t < iscsi_text_rsp_hdr_t *P > {
409 ii_itt = ntohl(P->itt);
410 ii_ttt = ntohl(P->ttt);
411 ii_cmdsn = ntohl(P->expcmdsn);
412 ii_statsn = ntohl(P->statsn);
414 ii_datalen = P->dlength[0] << 16 | P->dlength[1] << 8 | P->dlength[2];
415 ii_flags = P->flags;
419 translator iscsiinfo_t < idm_conn_t *P > {
420 ii_initiator = P->ic_initiator_name;
421 ii_target = P->ic_target_name;
422 ii_isid = P->ic_isid;
424 ii_transport = (P->ic_transport_type ==
426 (P->ic_transport_type ==
439 translator xferinfo_t < uintptr_t P > {