Lines Matching refs:phs_hdr
320 struct af_iucv_trans_hdr *phs_hdr;
325 phs_hdr = (struct af_iucv_trans_hdr *)skb_push(skb,
331 memset(phs_hdr, 0, sizeof(struct af_iucv_trans_hdr));
333 phs_hdr->magic = ETH_P_AF_IUCV;
334 phs_hdr->version = 1;
335 phs_hdr->flags = flags;
337 phs_hdr->window = iucv->msglimit;
340 phs_hdr->window = confirm_recv;
342 phs_hdr->flags = phs_hdr->flags | AF_IUCV_FLAG_WIN;
344 memcpy(phs_hdr->destUserID, iucv->dst_user_id, 8);
345 memcpy(phs_hdr->destAppName, iucv->dst_name, 8);
346 memcpy(phs_hdr->srcUserID, iucv->src_user_id, 8);
347 memcpy(phs_hdr->srcAppName, iucv->src_name, 8);
348 ASCEBC(phs_hdr->destUserID, sizeof(phs_hdr->destUserID));
349 ASCEBC(phs_hdr->destAppName, sizeof(phs_hdr->destAppName));
350 ASCEBC(phs_hdr->srcUserID, sizeof(phs_hdr->srcUserID));
351 ASCEBC(phs_hdr->srcAppName, sizeof(phs_hdr->srcAppName));
353 memcpy(&phs_hdr->iucv_hdr, imsg, sizeof(struct iucv_message));