Home
last modified time | relevance | path

Searched refs:et_protlen (Results 1 – 10 of 10) sorted by relevance

/u-boot/test/dm/
A Deth.c274 if (ntohs(eth->et_protlen) != PROT_ARP) in sb_check_arp_reply()
288 ut_assert(eth->et_protlen == htons(PROT_ARP)); in sb_check_arp_reply()
315 if (ntohs(eth->et_protlen) == PROT_ARP && in sb_with_async_arp_handler()
360 if (ntohs(eth->et_protlen) != PROT_IP) in sb_check_ping_reply()
379 ut_assert(eth->et_protlen == htons(PROT_IP)); in sb_check_ping_reply()
400 if (ntohs(eth->et_protlen) == PROT_ARP && in sb_with_async_ping_handler()
/u-boot/drivers/net/
A Dsandbox.c68 if (ntohs(eth->et_protlen) != PROT_ARP) in sandbox_eth_arp_req_to_reply()
87 eth_recv->et_protlen = htons(PROT_ARP); in sandbox_eth_arp_req_to_reply()
125 if (ntohs(eth->et_protlen) != PROT_IP) in sandbox_eth_ping_req_to_reply()
186 eth_recv->et_protlen = htons(PROT_ARP); in sandbox_eth_recv_arp_req()
229 eth_recv->et_protlen = htons(PROT_IP); in sandbox_eth_recv_ping_req()
A Dsandbox-raw.c50 if (ntohs(eth->et_protlen) == PROT_ARP) { in sb_eth_raw_send()
114 eth->et_protlen = htons(reply_arp ? PROT_ARP : PROT_IP); in sb_eth_raw_recv()
A Dxilinx_emaclite.c511 switch (ntohs(eth->et_protlen)) { in emaclite_recv()
/u-boot/lib/efi_selftest/
A Defi_selftest_snp.c112 p.eth_hdr.et_protlen = htons(PROT_IP); in send_dhcp_discover()
384 if (buffer.p.eth_hdr.et_protlen != ntohs(PROT_IP) || in execute()
/u-boot/test/log/
A Dsyslog_test.c38 ut_asserteq(ntohs(eth_hdr->et_protlen), PROT_IP); in sb_log_tx_handler()
/u-boot/include/
A Dnet.h324 u16 et_protlen; /* Protocol or length */ member
335 u16 et_protlen; /* Protocol or length */ member
/u-boot/net/
A Dnet.c1118 eth_proto = ntohs(et->et_protlen); in net_process_received_packet()
1440 et->et_protlen = htons(prot); in net_set_ether()
1459 protlen = ntohs(et->et_protlen); in net_update_ether()
1466 et->et_protlen = htons(prot); in net_update_ether()
A Dcdp.c209 et->et_protlen = htons(len); in cdp_send_trigger()
/u-boot/lib/efi_loader/
A Defi_net.c539 header->et_protlen = htons(*protocol); in efi_net_transmit()
618 protlen = ntohs(eth_hdr->et_protlen); in efi_net_receive()

Completed in 21 milliseconds