/include/net/ |
D | ip6_route.h | 183 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 …]
|
D | dst_ops.h | 22 unsigned int (*mtu)(const struct dst_entry *); member 30 struct sk_buff *skb, u32 mtu,
|
D | ip.h | 196 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 …]
|
D | inet6_connection_sock.h | 26 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
|
D | lwtunnel.h | 102 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
|
D | dst.h | 199 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()
|
D | codel.h | 110 u32 mtu; member
|
/include/rdma/ |
D | ib_addr.h | 200 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/ |
D | virtio_caif.h | 16 u32 mtu; member
|
D | ppp_channel.h | 36 int mtu; /* max transmit packet size */ member
|
/include/net/bluetooth/ |
D | sco.h | 40 __u16 mtu; member
|
D | bluetooth.h | 376 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()
|
D | rfcomm.h | 128 __le16 mtu; member 165 uint mtu; member 191 uint mtu; member
|
/include/uapi/linux/ |
D | gsmmux.h | 19 unsigned int mtu; member
|
D | if_frad.h | 90 short mtu; member
|
D | icmp.h | 81 __be16 mtu; member
|
D | atmbr2684.h | 59 int mtu; member
|
D | atmlec.h | 55 int mtu; member
|
D | virtio_net.h | 83 __u16 mtu; member
|
/include/uapi/rdma/ |
D | ib_user_sa.h | 63 __u32 mtu; member
|
/include/net/sctp/ |
D | sctp.h | 575 __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/ |
D | tc_police.h | 38 u32 mtu; member
|
/include/linux/mlx5/ |
D | vport.h | 79 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/ |
D | qed_ll2_if.h | 169 u16 mtu; member 216 u16 mtu; member
|
/include/net/netfilter/ |
D | nf_flow_table.h | 57 u16 mtu; member
|