Searched refs:INT_H_SIZE (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/net/tipc/ |
D | msg.c | 302 FIRST_FRAGMENT, INT_H_SIZE, msg_destnode(mhdr)); in tipc_msg_build() 314 skb_copy_to_linear_data(skb, &pkthdr, INT_H_SIZE); in tipc_msg_build() 315 pktpos += INT_H_SIZE; in tipc_msg_build() 316 pktrem -= INT_H_SIZE; in tipc_msg_build() 317 skb_copy_to_linear_data_offset(skb, INT_H_SIZE, mhdr, mhsz); in tipc_msg_build() 335 if (drem < (pktmax - INT_H_SIZE)) in tipc_msg_build() 336 pktsz = drem + INT_H_SIZE; in tipc_msg_build() 349 skb_copy_to_linear_data(skb, &pkthdr, INT_H_SIZE); in tipc_msg_build() 350 pktpos = skb->data + INT_H_SIZE; in tipc_msg_build() 351 pktrem = pktsz - INT_H_SIZE; in tipc_msg_build() [all …]
|
D | name_distr.c | 71 struct sk_buff *buf = tipc_buf_acquire(INT_H_SIZE + size, GFP_ATOMIC); in named_prepare_buf() 78 type, INT_H_SIZE, dest); in named_prepare_buf() 79 msg_set_size(msg, INT_H_SIZE + size); in named_prepare_buf() 146 u32 msg_dsz = ((tipc_node_get_mtu(net, dnode, 0) - INT_H_SIZE) / in named_distribute() 176 msg_set_size(buf_msg(skb), INT_H_SIZE + (msg_dsz - msg_rem)); in named_distribute() 177 skb_trim(skb, INT_H_SIZE + (msg_dsz - msg_rem)); in named_distribute()
|
D | link.c | 813 skb = tipc_msg_create(SOCK_WAKEUP, 0, INT_H_SIZE, 0, in link_schedule_user() 1354 skb = tipc_msg_create(LINK_PROTOCOL, mtyp, INT_H_SIZE, in tipc_link_build_proto_msg() 1384 msg_set_size(hdr, INT_H_SIZE + dlen); in tipc_link_build_proto_msg() 1385 skb_trim(skb, INT_H_SIZE + dlen); in tipc_link_build_proto_msg() 1392 msg_set_size(hdr, INT_H_SIZE + TIPC_MAX_IF_NAME); in tipc_link_build_proto_msg() 1393 skb_trim(skb, INT_H_SIZE + TIPC_MAX_IF_NAME); in tipc_link_build_proto_msg() 1414 INT_H_SIZE, BASIC_H_SIZE, in tipc_link_create_dummy_tnl_msg() 1465 mtyp, INT_H_SIZE, l->addr); in tipc_link_tnl_prepare() 1476 msg_set_size(&tnlhdr, pktlen + INT_H_SIZE); in tipc_link_tnl_prepare() 1477 tnlskb = tipc_buf_acquire(pktlen + INT_H_SIZE, GFP_ATOMIC); in tipc_link_tnl_prepare() [all …]
|
D | bearer.h | 64 #define TIPC_MIN_BEARER_MTU (MAX_H_SIZE + INT_H_SIZE)
|
D | bcast.c | 83 return tipc_link_mtu(tipc_bc_sndlink(net)) - INT_H_SIZE; in tipc_bcast_get_mtu()
|
D | topsrv.c | 610 skb = tipc_msg_create(TOP_SRV, 0, INT_H_SIZE, sizeof(*evt), in tipc_topsrv_kern_evt()
|
D | msg.h | 96 #define INT_H_SIZE 40 /* Internal messages */ macro
|
D | group.c | 702 skb = tipc_msg_create(GROUP_PROTOCOL, mtyp, INT_H_SIZE, 0, in tipc_group_proto_xmit()
|
D | socket.c | 1630 skb = tipc_msg_create(CONN_MANAGER, CONN_ACK, INT_H_SIZE, 0, in tipc_sk_send_ack() 2588 skb = tipc_msg_create(CONN_MANAGER, CONN_PROBE, INT_H_SIZE, 0, in tipc_sk_timeout()
|
D | node.c | 668 n->links[bearer_id].mtu = tipc_link_mtu(nl) - INT_H_SIZE; in __tipc_node_link_up()
|