Lines Matching refs:phs_hdr
319 struct af_iucv_trans_hdr *phs_hdr; in afiucv_hs_send() local
324 phs_hdr = (struct af_iucv_trans_hdr *)skb_push(skb, in afiucv_hs_send()
330 memset(phs_hdr, 0, sizeof(struct af_iucv_trans_hdr)); in afiucv_hs_send()
332 phs_hdr->magic = ETH_P_AF_IUCV; in afiucv_hs_send()
333 phs_hdr->version = 1; in afiucv_hs_send()
334 phs_hdr->flags = flags; in afiucv_hs_send()
336 phs_hdr->window = iucv->msglimit; in afiucv_hs_send()
339 phs_hdr->window = confirm_recv; in afiucv_hs_send()
341 phs_hdr->flags = phs_hdr->flags | AF_IUCV_FLAG_WIN; in afiucv_hs_send()
343 memcpy(phs_hdr->destUserID, iucv->dst_user_id, 8); in afiucv_hs_send()
344 memcpy(phs_hdr->destAppName, iucv->dst_name, 8); in afiucv_hs_send()
345 memcpy(phs_hdr->srcUserID, iucv->src_user_id, 8); in afiucv_hs_send()
346 memcpy(phs_hdr->srcAppName, iucv->src_name, 8); in afiucv_hs_send()
347 ASCEBC(phs_hdr->destUserID, sizeof(phs_hdr->destUserID)); in afiucv_hs_send()
348 ASCEBC(phs_hdr->destAppName, sizeof(phs_hdr->destAppName)); in afiucv_hs_send()
349 ASCEBC(phs_hdr->srcUserID, sizeof(phs_hdr->srcUserID)); in afiucv_hs_send()
350 ASCEBC(phs_hdr->srcAppName, sizeof(phs_hdr->srcAppName)); in afiucv_hs_send()
352 memcpy(&phs_hdr->iucv_hdr, imsg, sizeof(struct iucv_message)); in afiucv_hs_send()