Home
last modified time | relevance | path

Searched refs:RTAX_MTU (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/net/bridge/
H A Dbr_nf_core.c69 [RTAX_MTU - 1] = 1500,
H A Dbr_device.c228 dst_metric_set(&br->fake_rtable.dst, RTAX_MTU, new_mtu); in br_change_mtu()
/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h468 RTAX_MTU, enumerator
469 #define RTAX_MTU RTAX_MTU macro
/openbmc/linux/net/ipv4/
H A Dmetrics.c49 if (type == RTAX_MTU && val > 65535 - 15) in ip_metrics_convert()
H A Droute.c1396 fi->fib_metrics->metrics[RTAX_LOCK - 1] & (1 << RTAX_MTU)) in ip_mtu_from_fib_result()
3018 metrics[RTAX_MTU - 1] = rt->rt_pmtu; in rt_fill_info()
3020 metrics[RTAX_LOCK - 1] |= BIT(RTAX_MTU); in rt_fill_info()
H A Dip_tunnel.c556 dst_metric_set(skb_dst(skb), RTAX_MTU, mtu); in tnl_update_pmtu()
/openbmc/linux/include/net/
H A Dip6_route.h328 if (!forwarding || dst_metric_locked(dst, RTAX_MTU)) { in ip6_dst_mtu_maybe_forward()
329 mtu = dst_metric_raw(dst, RTAX_MTU); in ip6_dst_mtu_maybe_forward()
H A Dip.h422 return rt->rt_mtu_locked || dst_metric_locked(dst, RTAX_MTU); in ip_mtu_locked()
468 mtu = dst_metric_raw(dst, RTAX_MTU); in ip_dst_mtu_maybe_forward()
H A Ddst.h177 metric == RTAX_MTU); in dst_metric()
H A Dip6_fib.h183 #define fib6_pmtu fib6_metrics->metrics[RTAX_MTU-1]
H A Dip_fib.h150 #define fib_mtu fib_metrics->metrics[RTAX_MTU-1]
/openbmc/linux/net/mctp/
H A Droute.c1253 [RTAX_MTU] = { .type = NLA_U32 },
1283 if (tbx[RTAX_MTU]) in mctp_newroute()
1284 mtu = nla_get_u32(tbx[RTAX_MTU]); in mctp_newroute()
1347 if (nla_put_u32(skb, RTAX_MTU, rt->mtu)) in mctp_fill_rtinfo()
/openbmc/linux/net/core/
H A Ddst.c258 unsigned int mtu = dst_metric_raw(dst, RTAX_MTU); in dst_blackhole_mtu()
/openbmc/linux/tools/testing/selftests/net/
H A Dudpgso.c416 rta->rta_type = RTAX_MTU; in set_route_mtu()
/openbmc/linux/net/ipv6/
H A Droute.c1699 if (dst_metric_raw(&nrt->dst, RTAX_MTU) >= fib6_mtu(res)) { in rt6_insert_exception()
2034 if (dst_metric_raw(&entry->dst, RTAX_MTU) && in rt6_exceptions_update_pmtu()
2036 dst_metric_set(&entry->dst, RTAX_MTU, mtu); in rt6_exceptions_update_pmtu()
2833 dst_metric_set(&rt->dst, RTAX_MTU, mtu); in rt6_do_update_pmtu()
3233 if (unlikely(fib6_metric_locked(f6i, RTAX_MTU))) { in ip6_mtu_from_fib6()
3241 mtu = dst_metric_raw(&rt->dst, RTAX_MTU); in ip6_mtu_from_fib6()
4931 fib6_metric_set(f6i, RTAX_MTU, arg->mtu); in fib6_nh_mtu_change()
4956 if (fib6_metric_locked(f6i, RTAX_MTU)) in rt6_mtu_change_route()
H A Dndisc.c1576 fib6_metric_set(rt, RTAX_MTU, mtu); in ndisc_router_discovery()
H A Dip6_fib.c1130 fib6_metric_set(iter, RTAX_MTU, in fib6_add_rt2node()
/openbmc/linux/net/xfrm/
H A Dxfrm_policy.c3905 dst_metric_set(dst, RTAX_MTU, pmtu); in xfrm_init_pmtu()
3970 dst_metric_set(dst, RTAX_MTU, mtu); in xfrm_bundle_ok()
3988 unsigned int mtu = dst_metric_raw(dst, RTAX_MTU); in xfrm_mtu()