Lines Matching defs:mtu
105 * @mtu: current maximum packet size for this link
106 * @advertised_mtu: advertised own mtu when link is being established
183 u16 mtu;
435 void tipc_link_set_mtu(struct tipc_link *l, int mtu)
437 l->mtu = mtu;
442 return l->mtu;
448 return l->mtu - INT_H_SIZE - EMSG_OVERHEAD;
450 return l->mtu - INT_H_SIZE;
481 * @mtu: mtu to be advertised by link
499 int tolerance, char net_plane, u32 mtu, int priority,
541 l->advertised_mtu = mtu;
542 l->mtu = mtu;
563 * @mtu: mtu to be used initially if no peers
578 int mtu, u32 min_win, u32 max_win, u16 peer_caps,
586 if (!tipc_link_create(net, "", MAX_BEARERS, 0, 'Z', mtu, 0, min_win,
986 l->mtu = l->advertised_mtu;
1048 unsigned int mtu = l->mtu;
1058 if (unlikely(msg_size(hdr) > mtu)) {
1061 msg_type(hdr), msg_size(hdr), mtu);
2055 if (pktlen > tnl->mtu - INT_H_SIZE) {
2058 rc = tipc_msg_fragment(skb, &tnlhdr, tnl->mtu,
2289 if (l->mtu > msg_max)
2290 l->mtu = msg_max;
2554 int max_bulk = TIPC_MAX_PUBL / (l->mtu / ITEM_SIZE);
2714 if (nla_put_u32(msg->skb, TIPC_NLA_LINK_MTU, link->mtu))