Searched refs:xid (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/tests/net/dhcpv4/client/src/ |
D | main.c | 229 uint32_t xid; member 275 struct net_pkt *prepare_dhcp_offer(struct net_if *iface, uint32_t xid) in prepare_dhcp_offer() argument 297 if (net_pkt_write_be32(pkt, xid)) { in prepare_dhcp_offer() 316 struct net_pkt *prepare_dhcp_ack(struct net_if *iface, uint32_t xid) in prepare_dhcp_ack() argument 338 if (net_pkt_write_be32(pkt, xid)) { in prepare_dhcp_ack() 369 if (net_pkt_read_be32(pkt, &msg->xid)) { in parse_dhcp_message() 427 rpkt = prepare_dhcp_offer(net_pkt_iface(pkt), msg.xid); in tester_send() 433 rpkt = prepare_dhcp_ack(net_pkt_iface(pkt), msg.xid); in tester_send()
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4.c | 308 msg->xid = htonl(iface->config.dhcpv4.xid); in dhcpv4_create_message() 547 iface->config.dhcpv4.xid++; in dhcpv4_send_request() 606 iface->config.dhcpv4.xid, in dhcpv4_send_request() 629 iface->config.dhcpv4.xid++; in dhcpv4_send_discover() 647 iface->config.dhcpv4.xid, timeout); in dhcpv4_send_discover() 656 return iface->config.dhcpv4.xid % in dhcpv4_send_discover() 666 iface->config.dhcpv4.xid++; in dhcpv4_send_decline() 1497 msg->op, msg->htype, msg->hlen, ntohl(msg->xid), in net_dhcpv4_input() 1512 iface->config.dhcpv4.xid == ntohl(msg->xid) && in net_dhcpv4_input() 1517 msg->op, iface->config.dhcpv4.xid, ntohl(msg->xid)); in net_dhcpv4_input() [all …]
|
D | dhcpv4_internal.h | 25 uint32_t xid; /* Transaction ID, random number */ member
|
D | dhcpv4_server.c | 454 reply_msg->xid = msg->xid; in dhcpv4_encode_header()
|
/Zephyr-latest/tests/net/dhcpv4/server/src/ |
D | main.c | 169 msg.xid = htonl(TEST_XID); in client_prepare_test_msg() 534 zassert_equal(msg->xid, htonl(TEST_XID), "Incorrect %s value", "xid"); in verify_offer() 707 zassert_equal(msg->xid, htonl(TEST_XID), "Incorrect %s value", "xid"); in verify_ack()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_if.h | 492 uint32_t xid; member
|