/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_pkt.c | 48 fc_packet_t *pkt = (fc_packet_t *)arg1; in emlxs_pkt_thread() local 52 sbp = PKT2PRIV(pkt); in emlxs_pkt_thread() 56 rval = emlxs_pkt_send(pkt, 1); in emlxs_pkt_thread() 61 pkt); in emlxs_pkt_thread() 63 if (pkt->pkt_comp) { in emlxs_pkt_thread() 67 (*pkt->pkt_comp) (pkt); in emlxs_pkt_thread() 69 emlxs_pkt_free(pkt); in emlxs_pkt_thread() 79 emlxs_pkt_send(fc_packet_t *pkt, uint32_t now) in emlxs_pkt_send() argument 81 emlxs_port_t *port = (emlxs_port_t *)pkt->pkt_ulp_private; in emlxs_pkt_send() 86 rval = emlxs_fca_transport((opaque_t)port, pkt); in emlxs_pkt_send() [all …]
|
H A D | emlxs_els.c | 90 fc_packet_t *pkt; in emlxs_els_handle_event() local 131 pkt = PRIV2PKT(sbp); in emlxs_els_handle_event() 132 lp0 = (uint32_t *)pkt->pkt_cmd; in emlxs_els_handle_event() 134 did = LE_SWAP24_LO(pkt->pkt_cmd_fhdr.d_id); in emlxs_els_handle_event() 137 if (pkt->pkt_rsplen) { in emlxs_els_handle_event() 138 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, pkt->pkt_rsplen, in emlxs_els_handle_event() 171 els = (ELS_PKT *)pkt->pkt_resp; in emlxs_els_handle_event() 173 pkt->pkt_resp_resid = in emlxs_els_handle_event() 174 pkt->pkt_rsplen - iocb->un.elsreq64.bdl.bdeSize; in emlxs_els_handle_event() 175 pkt->pkt_data_resid = pkt->pkt_datalen; in emlxs_els_handle_event() [all …]
|
H A D | emlxs_diag.c | 118 emlxs_diag_pkt_callback(fc_packet_t *pkt) in emlxs_diag_pkt_callback() argument 120 emlxs_port_t *port = (emlxs_port_t *)pkt->pkt_ulp_private; in emlxs_diag_pkt_callback() 124 pkt->pkt_tran_flags |= FC_TRAN_COMPLETED; in emlxs_diag_pkt_callback() 140 fc_packet_t *pkt; in emlxs_diag_echo_run() local 176 if (!(pkt = emlxs_pkt_alloc(port, sizeof (uint32_t) + length, in emlxs_diag_echo_run() 186 pkt->pkt_tran_type = FC_PKT_EXCHANGE; in emlxs_diag_echo_run() 187 pkt->pkt_timeout = 60; in emlxs_diag_echo_run() 190 pkt->pkt_cmd_fhdr.d_id = did; in emlxs_diag_echo_run() 191 pkt->pkt_cmd_fhdr.r_ctl = R_CTL_EXTENDED_SVC | R_CTL_UNSOL_CONTROL; in emlxs_diag_echo_run() 192 pkt->pkt_cmd_fhdr.s_id = port->did; in emlxs_diag_echo_run() [all …]
|
/titanic_41/usr/src/uts/sun/io/dada/impl/ |
H A D | dcd_transport.c | 39 #define P_TO_TRAN(pkt) ((pkt)->pkt_address.a_hba_tran) argument 40 #define P_TO_ADDR(pkt) (&((pkt)->pkt_address)) argument 47 dcd_flag_nointr_comp(struct dcd_pkt *pkt) in dcd_flag_nointr_comp() argument 52 pkt->pkt_comp = NULL; in dcd_flag_nointr_comp() 66 dcd_transport(struct dcd_pkt *pkt) in dcd_transport() argument 69 struct dcd_address *ap = P_TO_ADDR(pkt); in dcd_transport() 82 if (!do_polled_io && ((pkt->pkt_flags & FLAG_NOINTR) == 0)) { in dcd_transport() 83 return ((*A_TO_TRAN(ap)->tran_start)(ap, pkt)); in dcd_transport() 85 (pkt->pkt_flags & FLAG_FORCENOINTR)) { in dcd_transport() 87 if (pkt->pkt_flags & FLAG_FORCENOINTR) { in dcd_transport() [all …]
|
H A D | dcd_resource.c | 33 #define P_TO_TRAN(pkt) ((pkt)->pkt_address.a_hba_tran) argument 34 #define P_TO_ADDR(pkt) (&((pkt)->pkt_address)) argument 150 dcd_destroy_pkt(struct dcd_pkt *pkt) in dcd_destroy_pkt() argument 153 struct dcd_address *ap = P_TO_ADDR(pkt); in dcd_destroy_pkt() 155 (*A_TO_TRAN(ap)->tran_destroy_pkt)(ap, pkt); in dcd_destroy_pkt() 168 register struct dcd_pkt *pkt; in dcd_resalloc() local 174 pkt = (*tranp->tran_init_pkt) (ap, NULL, (struct buf *)dmatoken, in dcd_resalloc() 177 if (pkt == NULL) { in dcd_resalloc() 182 return (pkt); in dcd_resalloc() 191 struct dcd_pkt *pkt; in dcd_pktalloc() local [all …]
|
H A D | dcd_subr.c | 58 #define P_TO_TRAN(pkt) ((pkt)->pkt_address.a_hba_tran) argument 59 #define P_TO_ADDR(pkt) (&((pkt)->pkt_address)) argument 64 dcd_poll(struct dcd_pkt *pkt) in dcd_poll() argument 75 savef = pkt->pkt_flags; in dcd_poll() 76 savec = pkt->pkt_comp; in dcd_poll() 77 savet = pkt->pkt_time; in dcd_poll() 79 pkt->pkt_flags |= FLAG_NOINTR; in dcd_poll() 86 pkt->pkt_comp = 0; in dcd_poll() 91 if (pkt->pkt_time == 0) { in dcd_poll() 92 pkt->pkt_time = DCD_POLL_TIMEOUT; in dcd_poll() [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_transport.c | 34 #define P_TO_TRAN(pkt) ((pkt)->pkt_address.a_hba_tran) argument 35 #define P_TO_ADDR(pkt) (&((pkt)->pkt_address)) argument 69 scsi_callback_done(struct scsi_pkt *pkt) in scsi_callback_done() argument 79 scsi_flag_nointr_comp(struct scsi_pkt *pkt) in scsi_flag_nointr_comp() argument 82 pkt->pkt_comp = CALLBACK_DONE; in scsi_flag_nointr_comp() 104 scsi_transport(struct scsi_pkt *pkt) in scsi_transport() argument 106 struct scsi_address *ap = P_TO_ADDR(pkt); in scsi_transport() 117 ASSERT(!NACA_IS_SET(pkt->pkt_cdbp)); in scsi_transport() 142 major = ddi_driver_major(P_TO_TRAN(pkt)->tran_hba_dip); in scsi_transport() 144 !scsi_pkt_allocated_correctly(pkt)) { in scsi_transport() [all …]
|
H A D | scsi_resource.c | 32 #define P_TO_TRAN(pkt) ((pkt)->pkt_address.a_hba_tran) argument 33 #define P_TO_ADDR(pkt) (&((pkt)->pkt_address)) argument 149 scsi_pkt2bp(struct scsi_pkt *pkt) in scsi_pkt2bp() argument 151 return (((struct scsi_pkt_cache_wrapper *)pkt)->pcw_bp); in scsi_pkt2bp() 599 scsi_destroy_pkt(struct scsi_pkt *pkt) in scsi_destroy_pkt() argument 601 struct scsi_address *ap = P_TO_ADDR(pkt); in scsi_destroy_pkt() 604 "scsi_destroy_pkt_start: pkt %p", pkt); in scsi_destroy_pkt() 606 (*A_TO_TRAN(ap)->tran_destroy_pkt)(ap, pkt); in scsi_destroy_pkt() 625 register struct scsi_pkt *pkt; in scsi_resalloc() local 631 pkt = (*tranp->tran_init_pkt) (ap, NULL, (struct buf *)dmatoken, in scsi_resalloc() [all …]
|
/titanic_41/usr/src/uts/sun4u/io/ |
H A D | rmc_comm_dp.c | 392 dp_got_full_hdr(struct rmc_comm_state *rcs, dp_packet_t *pkt) in dp_got_full_hdr() argument 403 pkt->full_length = dp_get_msglen(rcs, pkt->buf); in dp_got_full_hdr() 406 pkt->full_length)); in dp_got_full_hdr() 408 if ((pkt->full_length < 0) || in dp_got_full_hdr() 409 (pkt->full_length < sizeof (dp_header_t)) || in dp_got_full_hdr() 410 (pkt->full_length > DP_BUFFER_SIZE)) { in dp_got_full_hdr() 415 pkt->buf = NULL; in dp_got_full_hdr() 417 pkt->rx_state = WAITING_FOR_SYNC; in dp_got_full_hdr() 419 } else if (pkt->full_length == sizeof (dp_header_t)) { in dp_got_full_hdr() 424 rmc_comm_dp_mrecv(rcs, pkt->buf); in dp_got_full_hdr() [all …]
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_iocb.c | 75 request_t *pkt; in ql_start_iocb() local 169 pkt = ha->request_ring_ptr; in ql_start_iocb() 170 sp->request_ring_ptr = pkt; in ql_start_iocb() 174 ptr64 = (uint64_t *)pkt; in ql_start_iocb() 181 pkt->entry_count = (uint8_t)sp->req_cnt; in ql_start_iocb() 182 pkt->sys_define = (uint8_t)ha->req_ring_index; in ql_start_iocb() 184 ddi_put32(ha->hba_buf.acc_handle, &pkt->handle, in ql_start_iocb() 188 (sp->iocb)(vha, sp, pkt); in ql_start_iocb() 194 QL_DUMP_5((uint8_t *)pkt, 8, REQUEST_ENTRY_SIZE); in ql_start_iocb() 434 cmd_entry_t *pkt = arg; in ql_command_iocb() local [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/ |
H A D | asym_sun.c | 124 struct scsi_pkt *pkt; in purple_get_fo_mode() local 137 pkt = scsi_init_pkt(ap, NULL, bp, CDB_GROUP0, in purple_get_fo_mode() 139 if (pkt == NULL) { in purple_get_fo_mode() 144 pkt->pkt_cdbp[0] = SCMD_INQUIRY; in purple_get_fo_mode() 145 pkt->pkt_cdbp[1] = 0x1; in purple_get_fo_mode() 146 pkt->pkt_cdbp[2] = 0x83; in purple_get_fo_mode() 147 pkt->pkt_cdbp[4] = 0xff; in purple_get_fo_mode() 148 pkt->pkt_time = 90; in purple_get_fo_mode() 150 retval = vhci_do_scsi_cmd(pkt); in purple_get_fo_mode() 151 scsi_destroy_pkt(pkt); in purple_get_fo_mode() [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci_tpgs.c | 54 struct scsi_pkt *pkt; in vhci_tpgs_set_target_groups() local 86 pkt = scsi_init_pkt(ap, NULL, bp, CDB_GROUP5, in vhci_tpgs_set_target_groups() 89 if (pkt == NULL) { in vhci_tpgs_set_target_groups() 101 pkt->pkt_cdbp[0] = SCMD_MAINTENANCE_OUT; in vhci_tpgs_set_target_groups() 102 pkt->pkt_cdbp[1] = SSVC_ACTION_SET_TARGET_PORT_GROUPS; in vhci_tpgs_set_target_groups() 103 pkt->pkt_cdbp[9] = 8; in vhci_tpgs_set_target_groups() 104 pkt->pkt_time = 90; in vhci_tpgs_set_target_groups() 108 " cdb[0/1/6/7/8/9]: %x/%x/%x/%x/%x/%x\n", pkt->pkt_cdbp[0], in vhci_tpgs_set_target_groups() 109 pkt->pkt_cdbp[1], pkt->pkt_cdbp[6], pkt->pkt_cdbp[7], in vhci_tpgs_set_target_groups() 110 pkt->pkt_cdbp[8], pkt->pkt_cdbp[9])); in vhci_tpgs_set_target_groups() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | debug.h | 85 #define LOGASNSEQ(pkt, pktsz) \ argument 86 snmp_log_asn(SNMP_DASN_SEQUENCE, pkt, pktsz) 88 #define LOGASNLENGTH(pkt, pktsz) \ argument 89 snmp_log_asn(SNMP_DASN_LENGTH, pkt, pktsz) 91 #define LOGASNINT(pkt, pktsz) \ argument 92 snmp_log_asn(SNMP_DASN_INT, pkt, pktsz) 94 #define LOGASNOCTSTR(pkt, pktsz) \ argument 95 snmp_log_asn(SNMP_DASN_OCTET_STR, pkt, pktsz) 97 #define LOGASNOID(pkt, pktsz) \ argument 98 snmp_log_asn(SNMP_DASN_OID, pkt, pktsz) [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_hba.c | 32 smrt_ctrl_tran_start(struct scsi_address *sa, struct scsi_pkt *pkt) in smrt_ctrl_tran_start() argument 290 smrt_tran_setup_pkt(struct scsi_pkt *pkt, int (*callback)(caddr_t), in smrt_tran_setup_pkt() argument 302 sd = scsi_address_device(&pkt->pkt_address); in smrt_tran_setup_pkt() 308 smcms = (smrt_command_scsa_t *)pkt->pkt_ha_private; in smrt_tran_setup_pkt() 314 if (pkt->pkt_cdblen > CISS_CDBLEN) { in smrt_tran_setup_pkt() 320 "needed %u", CISS_CDBLEN, pkt->pkt_cdblen); in smrt_tran_setup_pkt() 333 smcms->smcms_pkt = pkt; in smrt_tran_setup_pkt() 335 pkt->pkt_cdbp = &smcm->smcm_va_cmd->Request.CDB[0]; in smrt_tran_setup_pkt() 336 smcm->smcm_va_cmd->Request.CDBLen = pkt->pkt_cdblen; in smrt_tran_setup_pkt() 344 smrt_tran_teardown_pkt(struct scsi_pkt *pkt) in smrt_tran_teardown_pkt() argument [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | demand.c | 136 struct packet *pkt, *nextpkt; in demand_discard() local 149 for (pkt = pend_q; pkt != NULL; pkt = nextpkt) { in demand_discard() 150 nextpkt = pkt->next; in demand_discard() 151 free(pkt); in demand_discard() 275 struct packet *pkt; local 286 pkt = (struct packet *) malloc(sizeof(struct packet) + len); 287 if (pkt != NULL) { 288 pkt->length = len; 289 pkt->next = NULL; 290 (void) memcpy(pkt->data, frame, len); [all …]
|
/titanic_41/usr/src/uts/common/io/ |
H A D | emul64_bsd.c | 175 extern void emul64_check_cond(struct scsi_pkt *pkt, uchar_t key, 270 bsd_scsi_start_stop_unit(struct scsi_pkt *pkt) in bsd_scsi_start_stop_unit() argument 277 bsd_scsi_test_unit_ready(struct scsi_pkt *pkt) in bsd_scsi_test_unit_ready() argument 284 bsd_scsi_request_sense(struct scsi_pkt *pkt) in bsd_scsi_request_sense() argument 290 bsd_scsi_inq_page0(struct scsi_pkt *pkt, uchar_t pqdtype) in bsd_scsi_inq_page0() argument 292 struct emul64_cmd *sp = PKT2CMD(pkt); in bsd_scsi_inq_page0() 307 pkt->pkt_resid = sp->cmd_count - 6; in bsd_scsi_inq_page0() 312 bsd_scsi_inq_page83(struct scsi_pkt *pkt, uchar_t pqdtype) in bsd_scsi_inq_page83() argument 314 struct emul64 *emul64 = PKT2EMUL64(pkt); in bsd_scsi_inq_page83() 315 struct emul64_cmd *sp = PKT2CMD(pkt); in bsd_scsi_inq_page83() [all …]
|
H A D | emul64.c | 79 static int emul64_scsi_start(struct scsi_address *ap, struct scsi_pkt *pkt); 81 static int emul64_scsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt); 87 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen, 90 struct scsi_pkt *pkt); 91 static void emul64_scsi_dmafree(struct scsi_address *ap, struct scsi_pkt *pkt); 92 static void emul64_scsi_sync_pkt(struct scsi_address *ap, struct scsi_pkt *pkt); 124 struct scsi_pkt *pkt); 809 emul64_scsi_init_pkt(struct scsi_address *ap, struct scsi_pkt *pkt, in emul64_scsi_init_pkt() argument 821 if (pkt == NULL) { in emul64_scsi_init_pkt() 822 pkt = scsi_hba_pkt_alloc(emul64->emul64_dip, ap, cmdlen, in emul64_scsi_init_pkt() [all …]
|
/titanic_41/usr/src/uts/common/sys/1394/targets/scsa1394/ |
H A D | impl.h | 233 #define SCSA1394_LBA_6BYTE(pkt) \ argument 234 (((pkt)->pkt_cdbp[1] & 0x1f) << 16) + \ 235 ((pkt)->pkt_cdbp[2] << 8) + (pkt)->pkt_cdbp[3] 236 #define SCSA1394_LEN_6BYTE(pkt) \ argument 237 (pkt)->pkt_cdbp[4] 239 #define SCSA1394_LEN_10BYTE(pkt) \ argument 240 ((pkt)->pkt_cdbp[7] << 8) + (pkt)->pkt_cdbp[8] 241 #define SCSA1394_LBA_10BYTE(pkt) \ argument 242 ((pkt)->pkt_cdbp[2] << 24) + ((pkt)->pkt_cdbp[3] << 16) + \ 243 ((pkt)->pkt_cdbp[4] << 8) + (pkt)->pkt_cdbp[5] [all …]
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_recv.c | 358 …lm_packet_t* pkt = tpa_chain->start_coales_bd[queue_index].packet;//Reads t… in lm_tpa_stop() local 359 … u32_t sge_size = mm_le16_to_cpu(cqe->pkt_len) - pkt->l2pkt_rx_info->size; in lm_tpa_stop() 372 DbgBreakIf( mm_le16_to_cpu(cqe->pkt_len) < pkt->l2pkt_rx_info->size); in lm_tpa_stop() 378 SET_FLAGS(pkt->l2pkt_rx_info->flags ,LM_RX_FLAG_START_RSC_TPA); in lm_tpa_stop() 380 pkt->l2pkt_rx_info->total_packet_size = mm_le16_to_cpu(cqe->pkt_len); in lm_tpa_stop() 381 pkt->l2pkt_rx_info->coal_seg_cnt = mm_le16_to_cpu(cqe->num_of_coalesced_segs); in lm_tpa_stop() 382 pkt->l2pkt_rx_info->dup_ack_cnt = cqe->pure_ack_count; in lm_tpa_stop() 383 pkt->l2pkt_rx_info->ts_delta = mm_le32_to_cpu(cqe->timestamp_delta); in lm_tpa_stop() 386 DbgBreakIfFastPath(pkt->l2pkt_rx_info->total_packet_size < MIN_ETHERNET_PACKET_SIZE); in lm_tpa_stop() 389 s_list_push_tail(rcvd_list, &pkt->link); in lm_tpa_stop() [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_sata.c | 63 struct scsi_pkt *pkt; in pmcs_sata_special_work() local 99 pkt = CMD2PKT(sp); in pmcs_sata_special_work() 102 __func__, (void *)xp, (void *)sp, pkt->pkt_cdbp[0], xp->actv_cnt); in pmcs_sata_special_work() 104 if (pkt->pkt_cdbp[0] == SCMD_INQUIRY || in pmcs_sata_special_work() 105 pkt->pkt_cdbp[0] == SCMD_READ_CAPACITY) { in pmcs_sata_special_work() 137 pkt->pkt_state = STATE_GOT_BUS | STATE_GOT_TARGET | in pmcs_sata_special_work() 140 pkt->pkt_reason = CMD_TIMEOUT; in pmcs_sata_special_work() 141 pkt->pkt_statistics |= STAT_TIMEOUT; in pmcs_sata_special_work() 143 pkt->pkt_reason = CMD_TRAN_ERR; in pmcs_sata_special_work() 195 switch (pkt->pkt_cdbp[0]) { in pmcs_sata_special_work() [all …]
|
/titanic_41/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac_add.c | 102 ac_add_bank(struct bd_list *add, ac_cfga_pkt_t *pkt) in ac_add_bank() argument 111 struct ac_soft_state *asp = pkt->softsp; in ac_add_bank() 117 ilv = (pkt->bank == Bank0) ? in ac_add_bank() 120 AC_ERR_SET(pkt, AC_ERR_MEM_DEINTLV); in ac_add_bank() 126 decode = (pkt->bank == Bank0) ? in ac_add_bank() 132 mem_info = &asp->bank[pkt->bank]; in ac_add_bank() 178 AC_ERR_SET(pkt, ac_kpm_err_cvt(errs)); in ac_add_bank() 190 add->sc.board, pkt->bank, errs); in ac_add_bank() 196 ac_add_memory(ac_cfga_pkt_t *pkt) in ac_add_memory() argument 200 int force = pkt->cmd_cfga.force; in ac_add_memory() [all …]
|
/titanic_41/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcsm.c | 1825 fcsm_display(int level, int flags, fcsm_t *fcsm, fc_packet_t *pkt, in fcsm_display() argument 1847 if (pkt) { in fcsm_display() 1850 (void) fc_ulp_pkt_error(pkt, &state, &reason, &action, &expln); in fcsm_display() 1854 state, pkt->pkt_state, reason, pkt->pkt_reason); in fcsm_display() 1964 fc_packet_t *pkt; in fcsm_cmd_cache_constructor() local 1975 pkt = &cmd->cmd_fc_packet; in fcsm_cmd_cache_constructor() 1977 pkt->pkt_ulp_rscn_infop = NULL; in fcsm_cmd_cache_constructor() 1978 pkt->pkt_fca_private = (opaque_t)((caddr_t)cmd + sizeof (fcsm_cmd_t)); in fcsm_cmd_cache_constructor() 1979 pkt->pkt_ulp_private = (opaque_t)cmd; in fcsm_cmd_cache_constructor() 1985 callback, NULL, &pkt->pkt_cmd_dma) != DDI_SUCCESS) { in fcsm_cmd_cache_constructor() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | pppdump.c | 222 struct pkt { struct 250 struct pkt *pkt; argument 262 pkt = c==RECMARK_STARTSEND? &spkt: &rpkt; 279 if (pkt->cnt > 0) { 281 if (pkt->esc) { 285 nb = pkt->cnt; 286 p = pkt->buf; 287 pkt->cnt = 0; 288 pkt->esc = 0; 323 handle_ccp(pkt, r + 2, endp - r - 2); [all …]
|
/titanic_41/usr/src/common/net/dhcp/ |
H A D | scan.c | 99 if (((start - (uint8_t *)pl->pkt) + len) > pl->len) in vendor_scan() 113 PKT *pkt = pl->pkt; in dhcp_options_scan() local 121 bcmp(pl->pkt->cookie, bootmagic, sizeof (pl->pkt->cookie)) != 0) { in dhcp_options_scan() 129 field_scan(pkt->options, &pkt->options[opt_size], pl->opts, in dhcp_options_scan() 157 field_scan(pkt->file, &pkt->cookie[0], pl->opts, in dhcp_options_scan() 161 field_scan(pkt->sname, &pkt->file[0], pl->opts, in dhcp_options_scan() 165 field_scan(pkt->file, &pkt->cookie[0], pl->opts, in dhcp_options_scan() 167 field_scan(pkt->sname, &pkt->file[0], pl->opts, in dhcp_options_scan() 234 if (plp == NULL || plp->pkt == NULL || plp->len < sizeof (*d6m)) in dhcpv6_pkt_option() 236 d6m = (const dhcpv6_message_t *)plp->pkt; in dhcpv6_pkt_option()
|
/titanic_41/usr/src/uts/common/sys/usb/scsa2usb/ |
H A D | scsa2usb.h | 563 #define SCSA2USB_LBA_6BYTE(pkt) \ argument 564 (((pkt)->pkt_cdbp[1] & 0x1f) << 16) + \ 565 ((pkt)->pkt_cdbp[2] << 8) + (pkt)->pkt_cdbp[3] 566 #define SCSA2USB_LEN_6BYTE(pkt) (pkt)->pkt_cdbp[4] argument 568 #define SCSA2USB_LEN_10BYTE(pkt) \ argument 569 ((pkt)->pkt_cdbp[7] << 8) + (pkt)->pkt_cdbp[8] 570 #define SCSA2USB_LBA_10BYTE(pkt) \ argument 571 ((pkt)->pkt_cdbp[2] << 24) + ((pkt)->pkt_cdbp[3] << 16) + \ 572 ((pkt)->pkt_cdbp[4] << 8) + (pkt)->pkt_cdbp[5] 574 #define SCSA2USB_LEN_12BYTE(pkt) \ argument [all …]
|