Searched refs:max_mtu (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/network/ |
D | networkd-sysctl.c | 205 if (mtu > link->max_mtu) { in link_set_ipv6_mtu() 207 mtu, link->max_mtu); in link_set_ipv6_mtu() 208 mtu = link->max_mtu; in link_set_ipv6_mtu()
|
D | networkd-link.c | 2216 uint32_t mtu, min_mtu = 0, max_mtu = UINT32_MAX; in link_update_mtu() local 2234 r = sd_netlink_message_read_u32(message, IFLA_MAX_MTU, &max_mtu); in link_update_mtu() 2238 if (max_mtu == 0) in link_update_mtu() 2239 max_mtu = UINT32_MAX; in link_update_mtu() 2242 link->max_mtu = max_mtu; in link_update_mtu() 2247 link->original_mtu, link->min_mtu, link->max_mtu); in link_update_mtu() 2255 link->mtu, mtu, link->min_mtu, link->max_mtu); in link_update_mtu()
|
D | networkd-link.h | 67 uint32_t max_mtu; member
|
D | networkctl.c | 275 uint32_t max_mtu; member 561 (void) sd_netlink_message_read_u32(m, IFLA_MAX_MTU, &info->max_mtu); in decode_link() 1720 xsprintf(max_str, "%" PRIu32, info->max_mtu); in link_status_one() 1729 info->min_mtu > 0 || info->max_mtu > 0 ? " (" : "", in link_status_one() 1732 info->min_mtu > 0 && info->max_mtu > 0 ? ", " : "", in link_status_one() 1733 info->max_mtu > 0 ? "max: " : "", in link_status_one() 1734 info->max_mtu > 0 ? max_str : "", in link_status_one() 1735 info->min_mtu > 0 || info->max_mtu > 0 ? ")" : ""); in link_status_one()
|
D | networkd-setlink.c | 845 if (mtu > link->max_mtu) { in link_request_to_set_mtu() 847 mtu, link->max_mtu); in link_request_to_set_mtu() 848 mtu = link->max_mtu; in link_request_to_set_mtu()
|
D | networkd-json.c | 1185 JSON_BUILD_PAIR_UNSIGNED("MaximumMTU", link->max_mtu), in link_build_json()
|