Searched refs:PROT_IP (Results 1 – 12 of 12) sorted by relevance
/openbmc/u-boot/net/ |
H A D | rarp.c | 40 (ntohs(arp->ar_pro) != PROT_IP) || in rarp_receive() 84 rarp->ar_pro = htons(PROT_IP); in rarp_request()
|
H A D | ping.c | 48 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 D | arp.c | 68 arp->ar_pro = htons(PROT_IP); in arp_raw_request() 148 if (ntohs(arp->ar_pro) != PROT_IP) in arp_receive()
|
H A D | bootp.c | 752 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 D | net.c | 854 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 D | sandbox.c | 89 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 D | sandbox-raw.c | 85 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 D | xilinx_emaclite.c | 513 case PROT_IP: in emaclite_recv()
|
H A D | mvpp2.c | 2092 mvpp2_prs_match_etype(&pe, 0, PROT_IP); in mvpp2_prs_etype_init()
|
/openbmc/u-boot/test/dm/ |
H A D | eth.c | 288 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 D | efi_selftest_snp.c | 111 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 D | net.h | 337 #define PROT_IP 0x0800 /* IP protocol */ macro
|