Lines Matching refs:dlsp
3683 dl_capability_sub_t *dlsp; in gld_cap_ack() local
3707 dlsp = (dl_capability_sub_t *)&dlap[1]; in gld_cap_ack()
3710 dl_capab_hcksum_t *dlhp = (dl_capab_hcksum_t *)&dlsp[1]; in gld_cap_ack()
3712 dlsp->dl_cap = DL_CAPAB_HCKSUM; in gld_cap_ack()
3713 dlsp->dl_length = sizeof (dl_capab_hcksum_t); in gld_cap_ack()
3728 dlsp = (dl_capability_sub_t *)&dlhp[1]; in gld_cap_ack()
3732 dl_capab_zerocopy_t *dlzp = (dl_capab_zerocopy_t *)&dlsp[1]; in gld_cap_ack()
3734 dlsp->dl_cap = DL_CAPAB_ZEROCOPY; in gld_cap_ack()
3735 dlsp->dl_length = sizeof (dl_capab_zerocopy_t); in gld_cap_ack()
3740 dlsp = (dl_capability_sub_t *)&dlzp[1]; in gld_cap_ack()
3744 dl_capab_mdt_t *dlmp = (dl_capab_mdt_t *)&dlsp[1]; in gld_cap_ack()
3746 dlsp->dl_cap = DL_CAPAB_MDT; in gld_cap_ack()
3747 dlsp->dl_length = sizeof (dl_capab_mdt_t); in gld_cap_ack()
3766 dl_capability_sub_t *dlsp; in gld_cap_enable() local
3784 dlsp = (dl_capability_sub_t *)(mp->b_rptr + off); in gld_cap_enable()
3785 size = sizeof (dl_capability_sub_t) + dlsp->dl_length; in gld_cap_enable()
3789 switch (dlsp->dl_cap) { in gld_cap_enable()
3791 dlhp = (dl_capab_hcksum_t *)&dlsp[1]; in gld_cap_enable()
5428 dl_get_statistics_ack_t *dlsp; in gld_get_statistics() local
5447 dlsp = (dl_get_statistics_ack_t *)mp->b_rptr; in gld_get_statistics()
5448 dlsp->dl_primitive = DL_GET_STATISTICS_ACK; in gld_get_statistics()
5449 dlsp->dl_stat_length = sizeof (struct gldkstats); in gld_get_statistics()
5450 dlsp->dl_stat_offset = DL_GET_STATISTICS_ACK_SIZE; in gld_get_statistics()