Lines Matching refs:phs_hdr
213 struct af_iucv_trans_hdr *phs_hdr; in afiucv_hs_send() local
217 phs_hdr = skb_push(skb, sizeof(*phs_hdr)); in afiucv_hs_send()
218 memset(phs_hdr, 0, sizeof(*phs_hdr)); in afiucv_hs_send()
221 phs_hdr->magic = ETH_P_AF_IUCV; in afiucv_hs_send()
222 phs_hdr->version = 1; in afiucv_hs_send()
223 phs_hdr->flags = flags; in afiucv_hs_send()
225 phs_hdr->window = iucv->msglimit; in afiucv_hs_send()
228 phs_hdr->window = confirm_recv; in afiucv_hs_send()
230 phs_hdr->flags = phs_hdr->flags | AF_IUCV_FLAG_WIN; in afiucv_hs_send()
232 memcpy(phs_hdr->destUserID, iucv->dst_user_id, 8); in afiucv_hs_send()
233 memcpy(phs_hdr->destAppName, iucv->dst_name, 8); in afiucv_hs_send()
234 memcpy(phs_hdr->srcUserID, iucv->src_user_id, 8); in afiucv_hs_send()
235 memcpy(phs_hdr->srcAppName, iucv->src_name, 8); in afiucv_hs_send()
236 ASCEBC(phs_hdr->destUserID, sizeof(phs_hdr->destUserID)); in afiucv_hs_send()
237 ASCEBC(phs_hdr->destAppName, sizeof(phs_hdr->destAppName)); in afiucv_hs_send()
238 ASCEBC(phs_hdr->srcUserID, sizeof(phs_hdr->srcUserID)); in afiucv_hs_send()
239 ASCEBC(phs_hdr->srcAppName, sizeof(phs_hdr->srcAppName)); in afiucv_hs_send()
241 memcpy(&phs_hdr->iucv_hdr, imsg, sizeof(struct iucv_message)); in afiucv_hs_send()