Lines Matching defs:dlp
1001 union DL_primitives *dlp;
1006 dlp = (union DL_primitives *)mp->b_rptr;
1009 printf("llc1_cmds(%x, %x):dlp=%x, dlp->dl_primitive=%d\n",
1010 q, mp, dlp, dlp->dl_primitive);
1015 switch (dlp->dl_primitive) {
1078 llc->llc_waiting_for = dlp->dl_primitive;
1095 dlp->dl_primitive);
1113 dl_bind_req_t *dlp;
1123 dlp = (dl_bind_req_t *)mp->b_rptr;
1124 sap = dlp->dl_sap;
1143 if (dlp->dl_service_mode != DL_CLDLS || dlp->dl_max_conind != 0) {
1183 if (dlp->dl_xidtest_flg & DL_AUTO_XID)
1185 if (dlp->dl_xidtest_flg & DL_AUTO_TEST)
1238 dl_info_ack_t *dlp;
1257 dlp = (dl_info_ack_t *)nmp->b_rptr;
1258 bzero(dlp, DL_INFO_ACK_SIZE);
1259 dlp->dl_primitive = DL_INFO_ACK;
1261 dlp->dl_max_sdu = lld->llc_mac_info->llcp_maxpkt;
1262 dlp->dl_min_sdu = 0;
1263 dlp->dl_mac_type = lld->llc_type;
1264 dlp->dl_service_mode = DL_CLDLS;
1265 dlp->dl_current_state = lld->llc_state;
1266 dlp->dl_provider_style =
1271 dlp->dl_addr_length = lld->llc_mac_info->llcp_addrlen;
1272 dlp->dl_addr_offset = DL_INFO_ACK_SIZE;
1273 nmp->b_wptr += dlp->dl_addr_length + 1;
1275 ((caddr_t)dlp) + dlp->dl_addr_offset,
1278 dlp->dl_sap_length = -1; /* 1 byte on end */
1279 *(((caddr_t)dlp) + dlp->dl_addr_offset +
1280 dlp->dl_addr_length) = lld->llc_sap;
1281 dlp->dl_addr_length += 1;
1284 dlp->dl_brdcst_addr_length =
1286 dlp->dl_brdcst_addr_offset =
1287 dlp->dl_addr_offset + dlp->dl_addr_length;
1288 nmp->b_wptr += dlp->dl_brdcst_addr_length;
1290 ((caddr_t)dlp) + dlp->dl_brdcst_addr_offset,
1293 dlp->dl_addr_length = 0; /* not attached yet */
1294 dlp->dl_addr_offset = NULL;
1295 dlp->dl_sap_length = 0; /* 1 bytes on end */
1297 dlp->dl_version = DL_VERSION_2;
1317 dl_unitdata_req_t *dlp = (dl_unitdata_req_t *)mp->b_rptr;
1344 llcp = (struct llcaddr *)((caddr_t)dlp + dlp->dl_dest_addr_offset);