Searched refs:chaddr (Results 1 - 7 of 7) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp-protocol.h41 uint8_t chaddr[16]; member in struct:DHCPMessage
H A Ddhcp-server-internal.h41 uint8_t chaddr[16]; member in struct:DHCPLease
H A Dsd-dhcp-server.c274 memcpy(&link.ll.sll_addr, &packet->dhcp.chaddr, ETH_ALEN);
434 memcpy(&packet->dhcp.chaddr, &req->message->chaddr, ETH_ALEN);
557 be32_t gateway, uint8_t chaddr[]) {
564 assert(chaddr);
581 memcpy(&packet->dhcp.chaddr, chaddr, ETH_ALEN);
664 memcpy((uint8_t*) data + 1, &message->chaddr, ETH_ALEN);
861 memcpy(&lease->chaddr, &req->message->chaddr,
556 server_send_forcerenew(sd_dhcp_server *server, be32_t address, be32_t gateway, uint8_t chaddr[]) argument
[all...]
H A Ddhcp-network.c72 BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(DHCPPacket, dhcp.chaddr)), /* A <- 4 bytes of MAC from dhcp.chaddr */
78 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, offsetof(DHCPPacket, dhcp.chaddr) + 4), /* A <- remainder of MAC from dhcp.chaddr */
H A Dtest-dhcp-server.c115 .message.chaddr = { 'A', 'B', 'C', 'D', 'E', 'F' },
H A Dsd-dhcp-client.c464 The client MUST include its hardware address in the ’chaddr’ field, if
466 interfaces will leave 'chaddr' empty and use the client identifier
470 memcpy(&packet->dhcp.chaddr, &client->mac_addr, ETH_ALEN);
1578 /* Non-Ethernet links expect zero chaddr */
1588 if (memcmp(&message->chaddr[0], expected_chaddr, ETH_ALEN)) {
1589 log_dhcp_client(client, "Received chaddr does not match expected: ignoring");
H A Dtest-dhcp-client.c183 assert_se(memcmp(discover->dhcp.chaddr, &mac_addr, ETH_ALEN) == 0);

Completed in 1274 milliseconds