Home
last modified time | relevance | path

Searched refs:PROT_IP (Results 1 – 12 of 12) sorted by relevance

/openbmc/u-boot/net/
H A Drarp.c40 (ntohs(arp->ar_pro) != PROT_IP) || in rarp_receive()
84 rarp->ar_pro = htons(PROT_IP); in rarp_request()
H A Dping.c48 eth_hdr_size = net_set_ether(net_tx_packet, net_null_ethaddr, PROT_IP); in ping_send()
91 eth_hdr_size = net_update_ether(et, et->et_src, PROT_IP); in ping_receive()
H A Darp.c68 arp->ar_pro = htons(PROT_IP); in arp_raw_request()
148 if (ntohs(arp->ar_pro) != PROT_IP) in arp_receive()
H A Dbootp.c752 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_IP); in bootp_request()
982 eth_hdr_size = net_set_ether(pkt, net_bcast_ethaddr, PROT_IP); in dhcp_send_request_packet()
H A Dnet.c854 eth_hdr_size = net_set_ether(pkt, ether, PROT_IP); in net_send_ip_packet()
1200 case PROT_IP: in net_process_received_packet()
/openbmc/u-boot/drivers/net/
H A Dsandbox.c89 arp_recv->ar_pro = htons(PROT_IP); in sandbox_eth_arp_req_to_reply()
123 if (ntohs(eth->et_protlen) != PROT_IP) in sandbox_eth_ping_req_to_reply()
188 arp_recv->ar_pro = htons(PROT_IP); in sandbox_eth_recv_arp_req()
227 eth_recv->et_protlen = htons(PROT_IP); in sandbox_eth_recv_ping_req()
H A Dsandbox-raw.c85 arp->ar_pro = htons(PROT_IP); in sb_eth_raw_recv()
111 eth->et_protlen = htons(reply_arp ? PROT_ARP : PROT_IP); in sb_eth_raw_recv()
H A Dxilinx_emaclite.c513 case PROT_IP: in emaclite_recv()
H A Dmvpp2.c2092 mvpp2_prs_match_etype(&pe, 0, PROT_IP); in mvpp2_prs_etype_init()
/openbmc/u-boot/test/dm/
H A Deth.c288 ut_assert(arp->ar_pro == htons(PROT_IP)); in sb_check_arp_reply()
357 if (ntohs(eth->et_protlen) != PROT_IP) in sb_check_ping_reply()
376 ut_assert(eth->et_protlen == htons(PROT_IP)); in sb_check_ping_reply()
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_snp.c111 p.eth_hdr.et_protlen = htons(PROT_IP); in send_dhcp_discover()
344 if (buffer.p.eth_hdr.et_protlen != ntohs(PROT_IP) || in execute()
/openbmc/u-boot/include/
H A Dnet.h337 #define PROT_IP 0x0800 /* IP protocol */ macro