Home
last modified time | relevance | path

Searched refs:ether (Results 1 – 19 of 19) sorted by relevance

/systemd-251/src/shared/
Dnetif-util.c153 if (ether_addr_is_null(&new_hw_addr->ether)) { in net_verify_hardware_address()
159 if (ether_addr_is_broadcast(&new_hw_addr->ether)) { in net_verify_hardware_address()
165 if (ether_addr_is_multicast(&new_hw_addr->ether)) { in net_verify_hardware_address()
172 if (!is_static && !ether_addr_is_local(&new_hw_addr->ether)) in net_verify_hardware_address()
/systemd-251/src/network/
Dnetworkd-address-generation.c57 ret->s6_addr[8] = link->hw_addr.ether.ether_addr_octet[0]; in generate_eui64_address()
58 ret->s6_addr[9] = link->hw_addr.ether.ether_addr_octet[1]; in generate_eui64_address()
59 ret->s6_addr[10] = link->hw_addr.ether.ether_addr_octet[2]; in generate_eui64_address()
62 ret->s6_addr[13] = link->hw_addr.ether.ether_addr_octet[3]; in generate_eui64_address()
63 ret->s6_addr[14] = link->hw_addr.ether.ether_addr_octet[4]; in generate_eui64_address()
64 ret->s6_addr[15] = link->hw_addr.ether.ether_addr_octet[5]; in generate_eui64_address()
Dnetworkd-ipv4acd.c124 .ether = *mac, in ipv4acd_check_mac()
170 r = sd_ipv4acd_set_mac(address->acd, &link->hw_addr.ether); in ipv4acd_configure()
204 if (ether_addr_is_null(&link->hw_addr.ether)) in ipv4acd_update_mac()
211 k = sd_ipv4acd_set_mac(address->acd, &link->hw_addr.ether); in ipv4acd_update_mac()
Dnetworkd-ipv4ll.c164 .ether = *mac, in ipv4ll_check_mac()
197 r = sd_ipv4ll_set_mac(link->ipv4ll, &link->hw_addr.ether); in ipv4ll_configure()
217 if (ether_addr_is_null(&link->hw_addr.ether)) in ipv4ll_update_mac()
222 return sd_ipv4ll_set_mac(link->ipv4ll, &link->hw_addr.ether); in ipv4ll_update_mac()
Dnetworkd-lldp-tx.c58 r = sd_lldp_tx_set_hwaddr(link->lldp_tx, &link->hw_addr.ether); in link_lldp_tx_configure()
Dnetworkd-lldp-rx.c99 r = sd_lldp_rx_set_filter_address(link->lldp_rx, &link->hw_addr.ether); in link_lldp_rx_configure()
Dnetworkd-link.c86 if (ether_addr_is_null(&link->hw_addr.ether)) in link_ipv4ll_enabled()
2195 r = sd_ndisc_set_mac(link->ndisc, &link->hw_addr.ether); in link_update_hardware_address()
2201 r = sd_lldp_rx_set_filter_address(link->lldp_rx, &link->hw_addr.ether); in link_update_hardware_address()
2207 r = sd_lldp_tx_set_hwaddr(link->lldp_tx, &link->hw_addr.ether); in link_update_hardware_address()
Dnetworkd-radv.c461 r = sd_radv_set_mac(link->radv, &link->hw_addr.ether); in radv_configure()
527 r = sd_radv_set_mac(link->radv, &link->hw_addr.ether); in radv_update_mac()
Dnetworkd-ndisc.c1080 r = sd_ndisc_set_mac(link->ndisc, &link->hw_addr.ether); in ndisc_configure()
Dnetworkctl.c1463 (void) ieee_oui(hwdb, &addr->ether, &description); in dump_hw_address()
/systemd-251/network/
D80-ethernet.network.example14 Type=ether
/systemd-251/src/basic/
Dether-addr-util.h20 struct ether_addr ether; member
Dether-addr-util.c261 *ret = a.ether; in parse_ether_addr()
Dmeson.build51 'ether-addr-util.c',
52 'ether-addr-util.h',
/systemd-251/src/network/netdev/
Dwlan.c87 … r = sd_netlink_message_append_ether_addr(m, NL80211_ATTR_MAC, &netdev->hw_addr.ether); in wlan_fill_message()
Dnetdev.c447 if (ether_addr_is_null(&a.ether) || ether_addr_is_broadcast(&a.ether)) { in netdev_generate_hw_addr()
/systemd-251/src/udev/net/
Dlink-config.c547 … return !ether_addr_is_null(&hw_addr->ether) && !ether_addr_is_broadcast(&hw_addr->ether); in hw_addr_is_valid()
/systemd-251/src/test/
Dmeson.build46 [files('test-ether-addr-util.c')],
/systemd-251/
DNEWS3958 devices where udev does not set DEVTYPE=. This allows e.g. Type=ether