Home
last modified time | relevance | path

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

/external/u-boot/test/dm/
Deth.c272 if (ntohs(eth->et_protlen) != PROT_ARP) in sb_check_arp_reply()
286 ut_assert(eth->et_protlen == htons(PROT_ARP)); in sb_check_arp_reply()
313 if (ntohs(eth->et_protlen) == PROT_ARP && in sb_with_async_arp_handler()
358 if (ntohs(eth->et_protlen) != PROT_IP) in sb_check_ping_reply()
377 ut_assert(eth->et_protlen == htons(PROT_IP)); in sb_check_ping_reply()
398 if (ntohs(eth->et_protlen) == PROT_ARP && in sb_with_async_ping_handler()
/external/u-boot/drivers/net/
Dsandbox.c66 if (ntohs(eth->et_protlen) != PROT_ARP) in sandbox_eth_arp_req_to_reply()
85 eth_recv->et_protlen = htons(PROT_ARP); in sandbox_eth_arp_req_to_reply()
123 if (ntohs(eth->et_protlen) != PROT_IP) in sandbox_eth_ping_req_to_reply()
184 eth_recv->et_protlen = htons(PROT_ARP); in sandbox_eth_recv_arp_req()
227 eth_recv->et_protlen = htons(PROT_IP); in sandbox_eth_recv_ping_req()
Dsandbox-raw.c48 if (ntohs(eth->et_protlen) == PROT_ARP) { in sb_eth_raw_send()
112 eth->et_protlen = htons(reply_arp ? PROT_ARP : PROT_IP); in sb_eth_raw_recv()
Dxilinx_emaclite.c508 switch (ntohs(eth->et_protlen)) { in emaclite_recv()
/external/u-boot/lib/efi_selftest/
Defi_selftest_snp.c111 p.eth_hdr.et_protlen = htons(PROT_IP); in send_dhcp_discover()
383 if (buffer.p.eth_hdr.et_protlen != ntohs(PROT_IP) || in execute()
/external/u-boot/net/
Dnet.c1122 eth_proto = ntohs(et->et_protlen); in net_process_received_packet()
1445 et->et_protlen = htons(prot); in net_set_ether()
1464 protlen = ntohs(et->et_protlen); in net_update_ether()
1471 et->et_protlen = htons(prot); in net_update_ether()
Dcdp.c209 et->et_protlen = htons(len); in cdp_send_trigger()
/external/u-boot/include/
Dnet.h303 u16 et_protlen; /* Protocol or length */ member
314 u16 et_protlen; /* Protocol or length */ member
/external/u-boot/lib/efi_loader/
Defi_net.c531 header->et_protlen = htons(*protocol); in efi_net_transmit()
610 protlen = ntohs(eth_hdr->et_protlen); in efi_net_receive()