Searched defs:mac_addr_len (Results 1 - 3 of 3) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp-network.c36 size_t mac_addr_len,
113 link->ll.sll_halen = mac_addr_len;
114 memcpy(link->ll.sll_addr, bcast_addr, mac_addr_len);
128 size_t mac_addr_len, uint16_t arp_type) {
140 assert_return(mac_addr_len > 0, -EINVAL);
143 assert_return(mac_addr_len == ETH_ALEN, -EINVAL);
148 assert_return(mac_addr_len == INFINIBAND_ALEN, -EINVAL);
153 return _bind_raw_socket(ifindex, link, xid, mac_addr, mac_addr_len,
34 _bind_raw_socket(int ifindex, union sockaddr_union *link, uint32_t xid, const uint8_t *mac_addr, size_t mac_addr_len, const uint8_t *bcast_addr, const struct ether_addr *eth_mac, uint16_t arp_type, uint8_t dhcp_hlen) argument
126 dhcp_network_bind_raw_socket(int ifindex, union sockaddr_union *link, uint32_t xid, const uint8_t *mac_addr, size_t mac_addr_len, uint16_t arp_type) argument
H A Dsd-dhcp6-client.c50 size_t mac_addr_len; member in struct:sd_dhcp6_client
164 if (client->mac_addr_len == addr_len &&
169 client->mac_addr_len = addr_len;
665 r = dhcp_identifier_set_iaid(client->index, client->mac_addr, client->mac_addr_len, &client->ia_na.id);
H A Dsd-dhcp-client.c66 size_t mac_addr_len; member in struct:sd_dhcp_client
216 if (client->mac_addr_len == addr_len &&
228 client->mac_addr_len = addr_len;
478 r = dhcp_identifier_set_iaid(client->index, client->mac_addr, client->mac_addr_len, &client->client_id.ns.iaid);
1013 client->mac_addr_len, client->arp_type);
1062 client->mac_addr_len, client->arp_type);

Completed in 2937 milliseconds