Lines Matching refs:_hdr
206 int tipc_msg_append(struct tipc_msg *_hdr, struct msghdr *m, int dlen, in tipc_msg_append() argument
226 skb_copy_to_linear_data(skb, _hdr, MIN_H_SIZE); in tipc_msg_append()
315 struct tipc_msg *_hdr; in tipc_msg_fragment() local
346 _hdr = buf_msg(_skb); in tipc_msg_fragment()
347 msg_set_fragm_no(_hdr, pktno); in tipc_msg_fragment()
348 msg_set_nof_fragms(_hdr, nof_fragms); in tipc_msg_fragment()
349 msg_set_size(_hdr, INT_H_SIZE + eat); in tipc_msg_fragment()
628 struct tipc_msg *_hdr, *hdr; in tipc_msg_reverse() local
633 _hdr = buf_msg(_skb); in tipc_msg_reverse()
634 dlen = min_t(uint, msg_data_sz(_hdr), MAX_FORWARD_SIZE); in tipc_msg_reverse()
635 hlen = msg_hdr_sz(_hdr); in tipc_msg_reverse()
637 if (msg_dest_droppable(_hdr)) in tipc_msg_reverse()
639 if (msg_errcode(_hdr)) in tipc_msg_reverse()
647 if (msg_is_syn(_hdr) && err == TIPC_ERR_OVERLOAD) in tipc_msg_reverse()
654 memcpy((*skb)->data, _skb->data, msg_hdr_sz(_hdr)); in tipc_msg_reverse()
655 memcpy((*skb)->data + hlen, msg_data(_hdr), dlen); in tipc_msg_reverse()
662 msg_set_origport(hdr, msg_destport(_hdr)); in tipc_msg_reverse()
663 msg_set_destport(hdr, msg_origport(_hdr)); in tipc_msg_reverse()
664 msg_set_destnode(hdr, msg_prevnode(_hdr)); in tipc_msg_reverse()