Searched refs:chaddr (Results 1 - 7 of 7) sorted by relevance
/systemd/src/libsystemd-network/ |
H A D | dhcp-protocol.h | 41 uint8_t chaddr[16]; member in struct:DHCPMessage
|
H A D | dhcp-server-internal.h | 41 uint8_t chaddr[16]; member in struct:DHCPLease
|
H A D | sd-dhcp-server.c | 274 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 D | dhcp-network.c | 72 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 D | test-dhcp-server.c | 115 .message.chaddr = { 'A', 'B', 'C', 'D', 'E', 'F' },
|
H A D | sd-dhcp-client.c | 464 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 D | test-dhcp-client.c | 183 assert_se(memcmp(discover->dhcp.chaddr, &mac_addr, ETH_ALEN) == 0);
|
Completed in 1274 milliseconds