Home
last modified time | relevance | path

Searched refs:permanent_hw_addr (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/shared/
Dnet-condition.c21 match->permanent_hw_addr = set_free(match->permanent_hw_addr); in net_match_clear()
38 set_isempty(match->permanent_hw_addr) && in net_match_is_empty()
124 const struct hw_addr_data *permanent_hw_addr, in net_match_config() argument
148 if (match->permanent_hw_addr && in net_match_config()
149 (!permanent_hw_addr || in net_match_config()
150 !set_contains(match->permanent_hw_addr, permanent_hw_addr))) in net_match_config()
Dnet-condition.h15 Set *permanent_hw_addr; member
34 const struct hw_addr_data *permanent_hw_addr,
/systemd-251/src/udev/net/
Dlink-config.c407 &link->kind, &link->hw_addr, &link->permanent_hw_addr); in link_new()
411 if (link->hw_addr.length > 0 && link->permanent_hw_addr.length == 0) { in link_new()
412 … r = ethtool_get_permanent_hw_addr(&ctx->ethtool_fd, link->ifname, &link->permanent_hw_addr); in link_new()
440 &link->permanent_hw_addr, in link_get_config()
Dlink-config.h40 struct hw_addr_data permanent_hw_addr; member
Dlink-config-gperf.gperf26 …addrs, 0, offsetof(LinkConfig, match.permanent_hw_addr)
/systemd-251/src/network/
Dnetworkd-link.h62 struct hw_addr_data permanent_hw_addr; member
Dnetworkd-link.c1165 &link->permanent_hw_addr, in link_get_network()
2106 if (link->permanent_hw_addr.length > 0) in link_update_permanent_hardware_address()
2115 r = netlink_message_read_hw_addr(message, IFLA_PERM_ADDRESS, &link->permanent_hw_addr); in link_update_permanent_hardware_address()
2122 … ethtool_get_permanent_hw_addr(&link->manager->ethtool_fd, link->ifname, &link->permanent_hw_addr); in link_update_permanent_hardware_address()
2128 if (link->permanent_hw_addr.length > 0) in link_update_permanent_hardware_address()
2129 …link_debug(link, "Saved permanent hardware address: %s", HW_ADDR_TO_STR(&link->permanent_hw_addr)); in link_update_permanent_hardware_address()
Dnetworkd-json.c1187 … JSON_BUILD_PAIR_HW_ADDR_NON_NULL("PermanentHardwareAddress", &link->permanent_hw_addr), in link_build_json()
Dnetworkd-network-gperf.gperf51 … 0, offsetof(Network, match.permanent_hw_addr)