Lines Matching defs:mtu
105 * @mtu: current maximum packet size for this link
106 * @advertised_mtu: advertised own mtu when link is being established
155 u16 mtu;
407 void tipc_link_set_mtu(struct tipc_link *l, int mtu)
409 l->mtu = mtu;
414 return l->mtu;
420 return l->mtu - INT_H_SIZE - EMSG_OVERHEAD;
422 return l->mtu - INT_H_SIZE;
453 * @mtu: mtu to be advertised by link
470 int tolerance, char net_plane, u32 mtu, int priority,
512 l->advertised_mtu = mtu;
513 l->mtu = mtu;
534 * @mtu: mtu to be used initially if no peers
544 int mtu, u32 min_win, u32 max_win, u16 peer_caps,
552 if (!tipc_link_create(net, "", MAX_BEARERS, 0, 'Z', mtu, 0, min_win,
951 l->mtu = l->advertised_mtu;
1013 unsigned int mtu = l->mtu;
1023 if (unlikely(msg_size(hdr) > mtu)) {
1026 msg_type(hdr), msg_size(hdr), mtu);
2019 if (pktlen > tnl->mtu - INT_H_SIZE) {
2022 rc = tipc_msg_fragment(skb, &tnlhdr, tnl->mtu,
2253 if (l->mtu > msg_max)
2254 l->mtu = msg_max;
2518 int max_bulk = TIPC_MAX_PUBL / (l->mtu / ITEM_SIZE);
2678 if (nla_put_u32(msg->skb, TIPC_NLA_LINK_MTU, link->mtu))