Home
last modified time | relevance | path

Searched refs:hwaddr (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/network/
Dnetworkd-dhcp-server-static-lease.c168 struct ether_addr hwaddr; in config_parse_dhcp_static_lease_hwaddr() local
187 r = parse_ether_addr(rvalue, &hwaddr); in config_parse_dhcp_static_lease_hwaddr()
193 if (ether_addr_is_null(&hwaddr) || (hwaddr.ether_addr_octet[0] & 0x01)) { in config_parse_dhcp_static_lease_hwaddr()
205 memcpy(c + 1, &hwaddr, ETH_ALEN); in config_parse_dhcp_static_lease_hwaddr()
Dnetworkctl.c1334 const void *client_id, *addr, *gtw, *hwaddr; in dump_dhcp_leases() local
1355 r = sd_bus_message_read_array(reply, 'y', &hwaddr, &sz); in dump_dhcp_leases()
/systemd-251/src/libsystemd-network/
Dsd-lldp-tx.c59 struct ether_addr hwaddr; member
156 int sd_lldp_tx_set_hwaddr(sd_lldp_tx *lldp_tx, const struct ether_addr *hwaddr) { in sd_lldp_tx_set_hwaddr() argument
158 assert_return(!ether_addr_is_null(hwaddr), -EINVAL); in sd_lldp_tx_set_hwaddr()
160 lldp_tx->hwaddr = *hwaddr; in sd_lldp_tx_set_hwaddr()
369 memcpy(header->ether_shost, &lldp_tx->hwaddr, ETH_ALEN); in lldp_tx_create_packet()
603 assert_return(!ether_addr_is_null(&lldp_tx->hwaddr), -EINVAL); in sd_lldp_tx_start()
/systemd-251/src/shared/
Dconf-parser.c1638 struct hw_addr_data a, *hwaddr = data; in config_parse_hw_addr() local
1647 *hwaddr = HW_ADDR_NULL; in config_parse_hw_addr()
1658 *hwaddr = a; in config_parse_hw_addr()
1733 struct ether_addr **hwaddr = data; in config_parse_ether_addr() local
1742 *hwaddr = mfree(*hwaddr); in config_parse_ether_addr()
1757 free_and_replace(*hwaddr, n); in config_parse_ether_addr()
/systemd-251/src/systemd/
Dsd-lldp-tx.h59 int sd_lldp_tx_set_hwaddr(sd_lldp_tx *lldp_tx, const struct ether_addr *hwaddr);