Home
last modified time | relevance | path

Searched refs:hlen (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4_internal.h21 uint8_t hlen; /* Hardware Address length */ member
Ddhcpv4_server.c452 reply_msg->hlen = msg->hlen; in dhcpv4_encode_header()
745 if (msg->hlen > sizeof(msg->chaddr)) { in dhcpv4_get_client_id()
751 memcpy(client_id->buf + 1, msg->chaddr, msg->hlen); in dhcpv4_get_client_id()
752 client_id->len = msg->hlen + 1; in dhcpv4_get_client_id()
Ddhcpv4.c307 msg->hlen = net_if_get_link_addr(iface)->len; in dhcpv4_create_message()
1497 msg->op, msg->htype, msg->hlen, ntohl(msg->xid), in net_dhcpv4_input()
1521 if (msg->hlen != net_if_get_link_addr(iface)->len) { in net_dhcpv4_input()
1522 NET_DBG("Unexpected hlen (%d)", msg->hlen); in net_dhcpv4_input()
/Zephyr-latest/tests/crypto/tinycrypt/src/
Dccm_mode.c73 const uint8_t *hdr, size_t hlen, in do_test() argument
92 hdr, hlen, data, dlen, &c); in do_test()
107 hdr, hlen, ciphertext, in do_test()
/Zephyr-latest/tests/net/dhcpv4/server/src/
Dmain.c168 msg.hlen = sizeof(client_mac_addr); in client_prepare_test_msg()
532 zassert_equal(msg->hlen, sizeof(client_mac_addr), "Incorrect %s value", "hlen"); in verify_offer()
705 zassert_equal(msg->hlen, sizeof(client_mac_addr), "Incorrect %s value", "hlen"); in verify_ack()