Searched refs:xid (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/libsystemd-network/ |
D | test-dhcp-client.c | 33 static be32_t xid; variable 219 assert_se(discover->dhcp.xid); in dhcp_network_send_raw_socket() 265 printf(" recv DHCP Discover 0x%08x\n", be32toh(dhcp->xid)); in test_discover_message_verify() 434 assert_se(xid == request->xid); in test_addr_acq_recv_request() 439 printf(" recv DHCP Request 0x%08x\n", be32toh(xid)); in test_addr_acq_recv_request() 442 memcpy(&test_addr_acq_ack[32], &xid, sizeof(xid)); in test_addr_acq_recv_request() 467 xid = discover->xid; in test_addr_acq_recv_discover() 470 printf(" recv DHCP Discover 0x%08x\n", be32toh(xid)); in test_addr_acq_recv_discover() 473 memcpy(&test_addr_acq_offer[32], &xid, sizeof(xid)); in test_addr_acq_recv_discover() 526 xid = 0; in test_addr_acq()
|
D | dhcp-network.c | 22 uint32_t xid, in _bind_raw_socket() argument 52 …BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(DHCPPacket, dhcp.xid)), /* A <- client identifier */ in _bind_raw_socket() 53 …BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, xid, 1, 0), /* client identifier == xid… in _bind_raw_socket() 117 uint32_t xid, in dhcp_network_bind_raw_socket() argument 157 return _bind_raw_socket(ifindex, link, xid, bcast_addr, bcast_addr_len, in dhcp_network_bind_raw_socket()
|
D | dhcp-packet.c | 20 uint32_t xid, in dhcp_message_init() argument 51 message->xid = htobe32(xid); in dhcp_message_init()
|
D | sd-dhcp-server.c | 546 be32toh(req->message->xid), type, in server_message_init() 695 log_dhcp_server(server, "NAK (0x%x)", be32toh(req->message->xid)); in server_send_nak_or_ignore() 904 log_dhcp_server(server, "(relay agent) BOOTREQUEST (0x%x)", be32toh(message->xid)); in dhcp_server_relay_message() 922 log_dhcp_server(server, "(relay agent) BOOTREPLY (0x%x)", be32toh(message->xid)); in dhcp_server_relay_message() 1027 log_dhcp_server(server, "ACK (0x%x)", be32toh(req->message->xid)); in server_ack_request() 1104 log_dhcp_server(server, "DISCOVER (0x%x)", be32toh(req->message->xid)); in dhcp_server_handle_message() 1147 log_dhcp_server(server, "OFFER (0x%x)", be32toh(req->message->xid)); in dhcp_server_handle_message() 1151 … log_dhcp_server(server, "DECLINE (0x%x): %s", be32toh(req->message->xid), strna(error_message)); in dhcp_server_handle_message() 1165 be32toh(req->message->xid)); in dhcp_server_handle_message() 1184 be32toh(req->message->xid)); in dhcp_server_handle_message() [all …]
|
D | dhcp-internal.h | 35 int dhcp_network_bind_raw_socket(int ifindex, union sockaddr_union *link, uint32_t xid, 55 int dhcp_message_init(DHCPMessage *message, uint8_t op, uint32_t xid,
|
D | sd-dhcp-client.c | 102 uint32_t xid; member 731 client->xid = 0; in client_initialize() 816 r = dhcp_message_init(&packet->dhcp, BOOTREQUEST, client->xid, type, in client_message_init() 1427 assert_return(client->xid == 0, -EINVAL); in client_start_delayed() 1430 client->xid = random_u32(); in client_start_delayed() 1432 r = dhcp_network_bind_raw_socket(client->ifindex, &client->link, client->xid, in client_start_delayed() 1483 r = dhcp_network_bind_raw_socket(client->ifindex, &client->link, client->xid, in client_timeout_t2() 1963 be32toh(message->xid) != client->xid) { in client_receive_message_udp() 1967 be32toh(message->xid), client->xid); in client_receive_message_udp()
|
D | dhcp-protocol.h | 20 be32_t xid; member
|
D | fuzz-dhcp-client.c | 72 client->xid = 2; in LLVMFuzzerTestOneInput()
|
D | test-dhcp-option.c | 95 assert_se(message->xid == htobe32(0x12345678)); in test_message_init()
|
D | test-dhcp-server.c | 106 .message.xid = htobe32(0x12345678), in test_message_handler()
|