Searched defs:xid (Results 1 - 5 of 5) sorted by relevance

/systemd/src/libsystemd-network/
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 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 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-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...]

Completed in 1549 milliseconds