Lines Matching refs:_hdr
201 int tipc_msg_append(struct tipc_msg *_hdr, struct msghdr *m, int dlen, in tipc_msg_append() argument
221 skb_copy_to_linear_data(skb, _hdr, MIN_H_SIZE); in tipc_msg_append()
310 struct tipc_msg *_hdr; in tipc_msg_fragment() local
341 _hdr = buf_msg(_skb); in tipc_msg_fragment()
342 msg_set_fragm_no(_hdr, pktno); in tipc_msg_fragment()
343 msg_set_nof_fragms(_hdr, nof_fragms); in tipc_msg_fragment()
344 msg_set_size(_hdr, INT_H_SIZE + eat); in tipc_msg_fragment()
624 struct tipc_msg *_hdr, *hdr; in tipc_msg_reverse() local
629 _hdr = buf_msg(_skb); in tipc_msg_reverse()
630 dlen = min_t(uint, msg_data_sz(_hdr), MAX_FORWARD_SIZE); in tipc_msg_reverse()
631 hlen = msg_hdr_sz(_hdr); in tipc_msg_reverse()
633 if (msg_dest_droppable(_hdr)) in tipc_msg_reverse()
635 if (msg_errcode(_hdr)) in tipc_msg_reverse()
643 if (msg_is_syn(_hdr) && err == TIPC_ERR_OVERLOAD) in tipc_msg_reverse()
650 memcpy((*skb)->data, _skb->data, msg_hdr_sz(_hdr)); in tipc_msg_reverse()
651 memcpy((*skb)->data + hlen, msg_data(_hdr), dlen); in tipc_msg_reverse()
658 msg_set_origport(hdr, msg_destport(_hdr)); in tipc_msg_reverse()
659 msg_set_destport(hdr, msg_origport(_hdr)); in tipc_msg_reverse()
660 msg_set_destnode(hdr, msg_prevnode(_hdr)); in tipc_msg_reverse()