Lines Matching refs:mtu
367 static int network_set_mtu(Context *context, const char *ifname, int family, const char *mtu) { in network_set_mtu() argument
374 return parse_mtu(family, mtu, &network->mtu); in network_set_mtu()
497 const char *mtu, *p; in parse_cmdline_ip_mtu_mac() local
504 mtu = value; in parse_cmdline_ip_mtu_mac()
506 mtu = strndupa_safe(value, p - value); in parse_cmdline_ip_mtu_mac()
508 r = network_set_mtu(context, ifname, family, mtu); in parse_cmdline_ip_mtu_mac()
921 return parse_mtu(AF_UNSPEC, p + 1, &netdev->mtu); in parse_cmdline_bond()
1145 if (network->mtu > 0) in network_dump()
1146 fprintf(f, "MTUBytes=%" PRIu32 "\n", network->mtu); in network_dump()
1193 if (netdev->mtu > 0) in netdev_dump()
1194 fprintf(f, "MTUBytes=%" PRIu32 "\n", netdev->mtu); in netdev_dump()