Home
last modified time | relevance | path

Searched refs:INT_H_SIZE (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/net/tipc/
Dmsg.c320 dmax = pktmax - INT_H_SIZE; in tipc_msg_fragment()
331 _skb = tipc_buf_acquire(INT_H_SIZE + eat, GFP_ATOMIC); in tipc_msg_fragment()
337 skb_copy_to_linear_data(_skb, hdr, INT_H_SIZE); in tipc_msg_fragment()
338 skb_copy_to_linear_data_offset(_skb, INT_H_SIZE, data, eat); in tipc_msg_fragment()
344 msg_set_size(_hdr, INT_H_SIZE + eat); in tipc_msg_fragment()
412 FIRST_FRAGMENT, INT_H_SIZE, msg_destnode(mhdr)); in tipc_msg_build()
424 skb_copy_to_linear_data(skb, &pkthdr, INT_H_SIZE); in tipc_msg_build()
425 pktpos += INT_H_SIZE; in tipc_msg_build()
426 pktrem -= INT_H_SIZE; in tipc_msg_build()
427 skb_copy_to_linear_data_offset(skb, INT_H_SIZE, mhdr, mhsz); in tipc_msg_build()
[all …]
Dname_distr.c78 struct sk_buff *buf = tipc_buf_acquire(INT_H_SIZE + size, GFP_ATOMIC); in named_prepare_buf()
85 type, INT_H_SIZE, dest); in named_prepare_buf()
86 msg_set_size(msg, INT_H_SIZE + size); in named_prepare_buf()
164 u32 msg_dsz = ((tipc_node_get_mtu(net, dnode, 0, false) - INT_H_SIZE) / in named_distribute()
199 msg_set_size(hdr, INT_H_SIZE + (msg_dsz - msg_rem)); in named_distribute()
200 skb_trim(skb, INT_H_SIZE + (msg_dsz - msg_rem)); in named_distribute()
Dlink.c448 return l->mtu - INT_H_SIZE - EMSG_OVERHEAD; in tipc_link_mss()
450 return l->mtu - INT_H_SIZE; in tipc_link_mss()
913 skb = tipc_msg_create(SOCK_WAKEUP, 0, INT_H_SIZE, 0, in link_schedule_user()
1881 skb = tipc_msg_create(LINK_PROTOCOL, mtyp, INT_H_SIZE, in tipc_link_build_proto_msg()
1914 msg_set_size(hdr, INT_H_SIZE + glen + dlen); in tipc_link_build_proto_msg()
1915 skb_trim(skb, INT_H_SIZE + glen + dlen); in tipc_link_build_proto_msg()
1926 msg_set_size(hdr, INT_H_SIZE + TIPC_MAX_IF_NAME); in tipc_link_build_proto_msg()
1927 skb_trim(skb, INT_H_SIZE + TIPC_MAX_IF_NAME); in tipc_link_build_proto_msg()
1951 INT_H_SIZE, BASIC_H_SIZE, in tipc_link_create_dummy_tnl_msg()
1997 INT_H_SIZE, 0, l->addr, in tipc_link_tnl_prepare()
[all …]
Dbearer.h64 #define TIPC_MIN_BEARER_MTU (MAX_H_SIZE + INT_H_SIZE)
Dtopsrv.c607 skb = tipc_msg_create(TOP_SRV, 0, INT_H_SIZE, sizeof(*evt), in tipc_topsrv_kern_evt()
Dcrypto.c2236 skb = tipc_buf_acquire(INT_H_SIZE + size, GFP_ATOMIC); in tipc_crypto_key_xmit()
2242 INT_H_SIZE, dnode); in tipc_crypto_key_xmit()
2243 msg_set_size(hdr, INT_H_SIZE + size); in tipc_crypto_key_xmit()
Dmsg.h97 #define INT_H_SIZE 40 /* Internal messages */ macro
Dgroup.c710 skb = tipc_msg_create(GROUP_PROTOCOL, mtyp, INT_H_SIZE, 0, in tipc_group_proto_xmit()
Dsocket.c1803 skb = tipc_msg_create(CONN_MANAGER, CONN_ACK, INT_H_SIZE, 0, in tipc_sk_build_ack()
2842 skb = tipc_msg_create(CONN_MANAGER, CONN_PROBE, INT_H_SIZE, 0, in tipc_sk_check_probing_state()