Searched refs:RTAX_MTU (Results 1 – 19 of 19) sorted by relevance
/Linux-v5.15/net/bridge/ |
D | br_nf_core.c | 69 [RTAX_MTU - 1] = 1500,
|
D | br_device.c | 221 dst_metric_set(&br->fake_rtable.dst, RTAX_MTU, new_mtu); in br_change_mtu()
|
/Linux-v5.15/include/uapi/linux/ |
D | rtnetlink.h | 459 RTAX_MTU, enumerator 460 #define RTAX_MTU RTAX_MTU macro
|
/Linux-v5.15/net/ipv4/ |
D | metrics.c | 50 if (type == RTAX_MTU && val > 65535 - 15) in ip_metrics_convert()
|
D | route.c | 1395 fi->fib_metrics->metrics[RTAX_LOCK - 1] & (1 << RTAX_MTU)) in ip_mtu_from_fib_result() 3009 metrics[RTAX_MTU - 1] = rt->rt_pmtu; in rt_fill_info() 3011 metrics[RTAX_LOCK - 1] |= BIT(RTAX_MTU); in rt_fill_info()
|
D | ip_tunnel.c | 529 dst_metric_set(skb_dst(skb), RTAX_MTU, mtu); in tnl_update_pmtu()
|
/Linux-v5.15/include/net/ |
D | ip6_route.h | 325 if (!forwarding || dst_metric_locked(dst, RTAX_MTU)) { in ip6_dst_mtu_maybe_forward() 326 mtu = dst_metric_raw(dst, RTAX_MTU); in ip6_dst_mtu_maybe_forward()
|
D | ip.h | 406 return rt->rt_mtu_locked || dst_metric_locked(dst, RTAX_MTU); in ip_mtu_locked() 452 mtu = dst_metric_raw(dst, RTAX_MTU); in ip_dst_mtu_maybe_forward()
|
D | dst.h | 162 metric == RTAX_MTU); in dst_metric()
|
D | ip6_fib.h | 182 #define fib6_pmtu fib6_metrics->metrics[RTAX_MTU-1]
|
D | ip_fib.h | 147 #define fib_mtu fib_metrics->metrics[RTAX_MTU-1]
|
/Linux-v5.15/net/decnet/ |
D | dn_route.c | 269 if (dst_metric(dst, RTAX_MTU) > mtu && mtu >= min_mtu) { in dn_dst_update_pmtu() 270 if (!(dst_metric_locked(dst, RTAX_MTU))) { in dn_dst_update_pmtu() 271 dst_metric_set(dst, RTAX_MTU, mtu); in dn_dst_update_pmtu() 856 unsigned int mtu = dst_metric_raw(dst, RTAX_MTU); in dn_dst_mtu() 890 if (dst_metric(&rt->dst, RTAX_MTU) > rt->dst.dev->mtu) in dn_rt_set_next_hop() 891 dst_metric_set(&rt->dst, RTAX_MTU, rt->dst.dev->mtu); in dn_rt_set_next_hop()
|
/Linux-v5.15/net/core/ |
D | dst.c | 270 unsigned int mtu = dst_metric_raw(dst, RTAX_MTU); in dst_blackhole_mtu()
|
/Linux-v5.15/tools/testing/selftests/net/ |
D | udpgso.c | 416 rta->rta_type = RTAX_MTU; in set_route_mtu()
|
/Linux-v5.15/net/ipv6/ |
D | route.c | 1694 if (dst_metric_raw(&nrt->dst, RTAX_MTU) >= fib6_mtu(res)) { in rt6_insert_exception() 2029 if (dst_metric_raw(&entry->dst, RTAX_MTU) && in rt6_exceptions_update_pmtu() 2031 dst_metric_set(&entry->dst, RTAX_MTU, mtu); in rt6_exceptions_update_pmtu() 2832 dst_metric_set(&rt->dst, RTAX_MTU, mtu); in rt6_do_update_pmtu() 3237 if (unlikely(fib6_metric_locked(f6i, RTAX_MTU))) { in ip6_mtu_from_fib6() 3245 mtu = dst_metric_raw(&rt->dst, RTAX_MTU); in ip6_mtu_from_fib6() 4920 fib6_metric_set(f6i, RTAX_MTU, arg->mtu); in fib6_nh_mtu_change() 4945 if (fib6_metric_locked(f6i, RTAX_MTU)) in rt6_mtu_change_route()
|
D | ndisc.c | 1502 fib6_metric_set(rt, RTAX_MTU, mtu); in ndisc_router_discovery()
|
D | ip6_fib.c | 1125 fib6_metric_set(iter, RTAX_MTU, in fib6_add_rt2node()
|
/Linux-v5.15/net/mctp/ |
D | route.c | 1015 if (nla_put_u32(skb, RTAX_MTU, rt->mtu)) in mctp_fill_rtinfo()
|
/Linux-v5.15/net/xfrm/ |
D | xfrm_policy.c | 3767 dst_metric_set(dst, RTAX_MTU, pmtu); in xfrm_init_pmtu() 3832 dst_metric_set(dst, RTAX_MTU, mtu); in xfrm_bundle_ok() 3850 unsigned int mtu = dst_metric_raw(dst, RTAX_MTU); in xfrm_mtu()
|