Searched refs:xid (Results 1 - 9 of 9) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp-internal.h34 uint32_t xid, const uint8_t *mac_addr,
50 int dhcp_message_init(DHCPMessage *message, uint8_t op, uint32_t xid,
68 #define log_dhcp_client(client, fmt, ...) log_internal(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, "DHCP CLIENT (0x%x): " fmt, client->xid, ##__VA_ARGS__)
H A Ddhcp-packet.c31 int dhcp_message_init(DHCPMessage *message, uint8_t op, uint32_t xid, argument
43 message->xid = htobe32(xid);
H A Ddhcp-protocol.h34 be32_t xid; member in struct:DHCPMessage
H A Ddhcp-network.c35 uint32_t xid, const uint8_t *mac_addr,
67 BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(DHCPPacket, dhcp.xid)), /* A <- client identifier */
68 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, xid, 1, 0), /* client identifier == xid ? */
127 uint32_t xid, const uint8_t *mac_addr,
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 Dtest-dhcp-client.c42 static be32_t xid; variable
182 assert_se(discover->dhcp.xid);
227 printf(" recv DHCP Discover 0x%08x\n", be32toh(dhcp->xid));
392 assert_se(xid == request->xid);
397 printf(" recv DHCP Request 0x%08x\n", be32toh(xid));
400 memcpy(&test_addr_acq_ack[32], &xid, sizeof(xid));
425 xid = discover->xid;
[all...]
H A Dsd-dhcp-server.c427 be32toh(req->message->xid), type, ARPHRD_ETHER,
735 be32toh(req->message->xid));
779 be32toh(req->message->xid));
786 log_dhcp_server(server, "DECLINE (0x%x): %s", be32toh(req->message->xid), strna(error_message));
801 be32toh(req->message->xid));
820 be32toh(req->message->xid));
832 be32toh(req->message->xid));
890 be32toh(req->message->xid));
907 be32toh(req->message->xid));
919 be32toh(req->message->xid));
[all...]
H A Dsd-dhcp-client.c97 uint32_t xid; member in struct:sd_dhcp_client
387 client->xid = 0;
432 r = dhcp_message_init(&packet->dhcp, BOOTREQUEST, client->xid, type,
1005 assert_return(client->xid == 0, -EINVAL);
1009 client->xid = random_u32();
1012 client->xid, client->mac_addr,
1061 client->xid, client->mac_addr,
1594 be32toh(message->xid) != client->xid) {
1595 /* in BOUND state, we may receive FORCERENEW with xid se
[all...]
H A Dtest-dhcp-option.c91 assert_se(message->xid == htobe32(0x12345678));
H A Dtest-dhcp-server.c114 .message.xid = htobe32(0x12345678),

Completed in 35 milliseconds