Home
last modified time | relevance | path

Searched refs:min_mtu (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/network/
Dnetworkd-setlink.c817 uint32_t min_mtu; in link_request_to_set_mtu() local
824 min_mtu = link->min_mtu; in link_request_to_set_mtu()
829 if (min_mtu < IPV6_MIN_MTU) { in link_request_to_set_mtu()
830 min_mtu = IPV6_MIN_MTU; in link_request_to_set_mtu()
833 if (min_mtu < link->network->ipv6_mtu) { in link_request_to_set_mtu()
834 min_mtu = link->network->ipv6_mtu; in link_request_to_set_mtu()
839 if (mtu < min_mtu) { in link_request_to_set_mtu()
841 mtu, origin, min_mtu); in link_request_to_set_mtu()
842 mtu = min_mtu; in link_request_to_set_mtu()
Dnetworkd-link.h66 uint32_t min_mtu; member
Dnetworkctl.c274 uint32_t min_mtu; member
560 (void) sd_netlink_message_read_u32(m, IFLA_MIN_MTU, &info->min_mtu); in decode_link()
1719 xsprintf(min_str, "%" PRIu32, info->min_mtu); in link_status_one()
1729 info->min_mtu > 0 || info->max_mtu > 0 ? " (" : "", in link_status_one()
1730 info->min_mtu > 0 ? "min: " : "", in link_status_one()
1731 info->min_mtu > 0 ? min_str : "", in link_status_one()
1732 info->min_mtu > 0 && info->max_mtu > 0 ? ", " : "", in link_status_one()
1735 info->min_mtu > 0 || info->max_mtu > 0 ? ")" : ""); in link_status_one()
Dnetworkd-link.c2216 uint32_t mtu, min_mtu = 0, max_mtu = UINT32_MAX; in link_update_mtu() local
2230 r = sd_netlink_message_read_u32(message, IFLA_MIN_MTU, &min_mtu); in link_update_mtu()
2241 link->min_mtu = min_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()
Dnetworkd-json.c1184 JSON_BUILD_PAIR_UNSIGNED("MinimumMTU", link->min_mtu), in link_build_json()
/systemd-251/src/resolve/
Dresolved-dns-scope.c206 size_t mtu, udp_size, min_mtu, socket_mtu = 0; in dns_scope_emit_one() local
229 min_mtu = udp_size + DNS_PACKET_HEADER_SIZE; in dns_scope_emit_one()
232 mtu, socket_mtu, min_mtu); in dns_scope_emit_one()
239 if (mtu < min_mtu) in dns_scope_emit_one()
240 mtu = min_mtu; in dns_scope_emit_one()