Lines Matching refs:phs_hdr
198 struct af_iucv_trans_hdr *phs_hdr; in afiucv_hs_send() local
201 phs_hdr = skb_push(skb, sizeof(*phs_hdr)); in afiucv_hs_send()
202 memset(phs_hdr, 0, sizeof(*phs_hdr)); in afiucv_hs_send()
205 phs_hdr->magic = ETH_P_AF_IUCV; in afiucv_hs_send()
206 phs_hdr->version = 1; in afiucv_hs_send()
207 phs_hdr->flags = flags; in afiucv_hs_send()
209 phs_hdr->window = iucv->msglimit; in afiucv_hs_send()
212 phs_hdr->window = confirm_recv; in afiucv_hs_send()
214 phs_hdr->flags = phs_hdr->flags | AF_IUCV_FLAG_WIN; in afiucv_hs_send()
216 memcpy(phs_hdr->destUserID, iucv->dst_user_id, 8); in afiucv_hs_send()
217 memcpy(phs_hdr->destAppName, iucv->dst_name, 8); in afiucv_hs_send()
218 memcpy(phs_hdr->srcUserID, iucv->src_user_id, 8); in afiucv_hs_send()
219 memcpy(phs_hdr->srcAppName, iucv->src_name, 8); in afiucv_hs_send()
220 ASCEBC(phs_hdr->destUserID, sizeof(phs_hdr->destUserID)); in afiucv_hs_send()
221 ASCEBC(phs_hdr->destAppName, sizeof(phs_hdr->destAppName)); in afiucv_hs_send()
222 ASCEBC(phs_hdr->srcUserID, sizeof(phs_hdr->srcUserID)); in afiucv_hs_send()
223 ASCEBC(phs_hdr->srcAppName, sizeof(phs_hdr->srcAppName)); in afiucv_hs_send()
225 memcpy(&phs_hdr->iucv_hdr, imsg, sizeof(struct iucv_message)); in afiucv_hs_send()