Lines Matching defs:ifname
301 const char *ifname;
320 r = sd_netlink_message_read_string(message, IFLA_IFNAME, &ifname);
333 link->ifname = strdup(ifname);
334 if (!link->ifname)
415 free(link->ifname);
702 assert(link->ifname);
721 assert(link->ifname);
750 log_debug("Copying DNS server information from %s", link->ifname);
798 log_debug("Copying NTP server information from %s", link->ifname);
984 assert(link->ifname);
1136 assert(link->ifname);
1569 if (strv_fnmatch(carrier->network->bind_carrier, link->ifname, 0)) {
1611 if (strv_fnmatch(link->network->bind_carrier, carrier->ifname, 0)) {
1798 LOG_LINK_MESSAGE(link, "Enslaving by '%s'", link->network->bond->ifname),
1806 LOG_LINK_MESSAGE(link, "Could not join netdev '%s': %m", link->network->bond->ifname),
1820 LOG_LINK_MESSAGE(link, "Enslaving by '%s'", link->network->bridge->ifname),
1828 LOG_LINK_MESSAGE(link, "Could not join netdev '%s': %m", link->network->bridge->ifname),
1842 LOG_LINK_MESSAGE(link, "Enslaving by '%s'", netdev->ifname),
1850 LOG_LINK_MESSAGE(link, "Could not join netdev '%s': %m", netdev->ifname),
1914 p = strjoina("/proc/sys/net/ipv6/conf/", link->ifname, "/use_tempaddr");
1938 p = strjoina("/proc/sys/net/ipv6/conf/", link->ifname, "/accept_ra");
1966 p = strjoina("/proc/sys/net/ipv6/conf/", link->ifname, "/dad_transmits");
1994 p = strjoina("/proc/sys/net/ipv6/conf/", link->ifname, "/hop_limit");
2112 r = sd_lldp_new(link->ifindex, link->ifname, &link->mac, &link->lldp);
2148 assert(link->ifname);
2165 r = network_get(link->manager, link->udev_device, link->ifname,
2568 const char *ifname;
2574 assert(link->ifname);
2587 r = sd_netlink_message_read_string(m, IFLA_IFNAME, &ifname);
2588 if (r >= 0 && !streq(ifname, link->ifname)) {
2589 log_link_info(link, "Renamed to %s", ifname);
2593 r = free_and_strdup(&link->ifname, ifname);
2896 fputs_with_space(f, carrier->ifname, NULL, &space);
2907 fputs_with_space(f, carrier->ifname, NULL, &space);