Home
last modified time | relevance | path

Searched refs:mtu (Results 1 – 25 of 50) sorted by relevance

12

/include/net/
Dip6_route.h183 void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, int oif,
185 void ip6_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, __be32 mtu);
201 void rt6_mtu_change(struct net_device *dev, unsigned int mtu);
266 unsigned int mtu; in ip6_skb_dst_mtu() local
272 mtu = READ_ONCE(skb_dst(skb)->dev->mtu); in ip6_skb_dst_mtu()
273 mtu -= lwtunnel_headroom(skb_dst(skb)->lwtstate, mtu); in ip6_skb_dst_mtu()
275 mtu = dst_mtu(skb_dst(skb)); in ip6_skb_dst_mtu()
277 return mtu; in ip6_skb_dst_mtu()
320 unsigned int mtu; in ip6_dst_mtu_forward() local
323 mtu = dst_metric_raw(dst, RTAX_MTU); in ip6_dst_mtu_forward()
[all …]
Ddst_ops.h22 unsigned int (*mtu)(const struct dst_entry *); member
30 struct sk_buff *skb, u32 mtu,
Dip.h196 unsigned int mtu; member
204 unsigned int mtu, bool DF, struct ip_frag_state *state);
459 unsigned int mtu; in ip_dst_mtu_maybe_forward() local
467 mtu = dst_metric_raw(dst, RTAX_MTU); in ip_dst_mtu_maybe_forward()
468 if (!mtu) in ip_dst_mtu_maybe_forward()
469 mtu = min(READ_ONCE(dst->dev->mtu), IP_MAX_MTU); in ip_dst_mtu_maybe_forward()
471 return mtu - lwtunnel_headroom(dst->lwtstate, mtu); in ip_dst_mtu_maybe_forward()
477 unsigned int mtu; in ip_skb_dst_mtu() local
485 mtu = min(READ_ONCE(skb_dst(skb)->dev->mtu), IP_MAX_MTU); in ip_skb_dst_mtu()
486 return mtu - lwtunnel_headroom(skb_dst(skb)->lwtstate, mtu); in ip_skb_dst_mtu()
[all …]
Dinet6_connection_sock.h26 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
Dlwtunnel.h102 unsigned int mtu) in lwtunnel_headroom() argument
105 lwtunnel_output_redirect(lwtstate)) && lwtstate->headroom < mtu) in lwtunnel_headroom()
182 unsigned int mtu) in lwtunnel_headroom() argument
Ddst.h199 return dst->ops->mtu(dst); in dst_mtu()
516 static inline void skb_dst_update_pmtu(struct sk_buff *skb, u32 mtu) in skb_dst_update_pmtu() argument
521 dst->ops->update_pmtu(dst, NULL, skb, mtu, true); in skb_dst_update_pmtu()
525 static inline void skb_dst_update_pmtu_no_confirm(struct sk_buff *skb, u32 mtu) in skb_dst_update_pmtu_no_confirm() argument
530 dst->ops->update_pmtu(dst, NULL, skb, mtu, false); in skb_dst_update_pmtu_no_confirm()
Dcodel.h110 u32 mtu; member
/include/rdma/
Dib_addr.h200 static inline enum ib_mtu iboe_get_mtu(int mtu) in iboe_get_mtu() argument
205 mtu = mtu - (IB_GRH_BYTES + IB_UDP_BYTES + IB_BTH_BYTES + in iboe_get_mtu()
209 if (mtu >= ib_mtu_enum_to_int(IB_MTU_4096)) in iboe_get_mtu()
211 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_2048)) in iboe_get_mtu()
213 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_1024)) in iboe_get_mtu()
215 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_512)) in iboe_get_mtu()
217 else if (mtu >= ib_mtu_enum_to_int(IB_MTU_256)) in iboe_get_mtu()
/include/linux/
Dvirtio_caif.h16 u32 mtu; member
Dppp_channel.h36 int mtu; /* max transmit packet size */ member
/include/net/bluetooth/
Dsco.h40 __u16 mtu; member
Dbluetooth.h376 size_t len, size_t mtu, in bt_skb_sendmsg() argument
380 size_t size = min_t(size_t, len, mtu); in bt_skb_sendmsg()
389 skb_tailroom_reserve(skb, mtu, tailroom); in bt_skb_sendmsg()
406 size_t len, size_t mtu, in bt_skb_sendmmsg() argument
411 skb = bt_skb_sendmsg(sk, msg, len, mtu, headroom, tailroom); in bt_skb_sendmmsg()
424 tmp = bt_skb_sendmsg(sk, msg, len, mtu, headroom, tailroom); in bt_skb_sendmmsg()
Drfcomm.h128 __le16 mtu; member
165 uint mtu; member
191 uint mtu; member
/include/uapi/linux/
Dgsmmux.h19 unsigned int mtu; member
Dif_frad.h90 short mtu; member
Dicmp.h81 __be16 mtu; member
Datmbr2684.h59 int mtu; member
Datmlec.h55 int mtu; member
Dvirtio_net.h83 __u16 mtu; member
/include/uapi/rdma/
Dib_user_sa.h63 __u32 mtu; member
/include/net/sctp/
Dsctp.h575 __u32 mtu, __u32 extra) in sctp_mtu_payload() argument
584 if (WARN_ON_ONCE(mtu && mtu <= overhead)) in sctp_mtu_payload()
585 mtu = overhead; in sctp_mtu_payload()
587 return mtu ? mtu - overhead : overhead; in sctp_mtu_payload()
/include/net/tc_act/
Dtc_police.h38 u32 mtu; member
/include/linux/mlx5/
Dvport.h79 int mlx5_query_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 *mtu);
80 int mlx5_modify_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 mtu);
/include/linux/qed/
Dqed_ll2_if.h169 u16 mtu; member
216 u16 mtu; member
/include/net/netfilter/
Dnf_flow_table.h57 u16 mtu; member

12