Searched refs:eth (Results 1 – 4 of 4) sorted by relevance
| /test/cmd/ |
| A D | wget.c | 54 struct ethernet_hdr *eth = packet; in sb_syn_handler() local 64 memcpy(eth_send->et_dest, eth->et_src, ARP_HLEN); in sb_syn_handler() 101 struct ethernet_hdr *eth = packet; in sb_ack_handler() local 132 memcpy(eth_send->et_dest, eth->et_src, ARP_HLEN); in sb_ack_handler() 194 struct ethernet_hdr *eth = packet; in sb_http_handler() local 198 if (ntohs(eth->et_protlen) == PROT_ARP) { in sb_http_handler() 200 } else if (ntohs(eth->et_protlen) == PROT_IP) { in sb_http_handler()
|
| /test/dm/ |
| A D | eth.c | 457 struct ethernet_hdr *eth = packet; in sb_check_arp_reply() local 462 if (ntohs(eth->et_protlen) != PROT_ARP) in sb_check_arp_reply() 474 ut_asserteq_mem(eth->et_src, net_ethaddr, ARP_HLEN); in sb_check_arp_reply() 476 ut_assert(eth->et_protlen == htons(PROT_ARP)); in sb_check_arp_reply() 495 struct ethernet_hdr *eth = packet; in sb_with_async_arp_handler() local 503 if (ntohs(eth->et_protlen) == PROT_ARP && in sb_with_async_arp_handler() 545 struct ethernet_hdr *eth = packet; in sb_check_ping_reply() local 551 if (ntohs(eth->et_protlen) != PROT_IP) in sb_check_ping_reply() 570 ut_assert(eth->et_protlen == htons(PROT_IP)); in sb_check_ping_reply() 583 struct ethernet_hdr *eth = packet; in sb_with_async_ping_handler() local [all …]
|
| A D | Makefile | 50 obj-$(CONFIG_DM_ETH) += eth.o
|
| /test/image/ |
| A D | spl_load_net.c | 24 struct ethernet_hdr *eth = packet; in sandbox_eth_bootp_req_to_reply() local 31 if (ntohs(eth->et_protlen) != PROT_IP) in sandbox_eth_bootp_req_to_reply() 54 memcpy(eth_recv->et_dest, eth->et_src, ARP_HLEN); in sandbox_eth_bootp_req_to_reply() 119 struct ethernet_hdr *eth = packet; in sandbox_eth_tftp_req_to_reply() local 128 if (ntohs(eth->et_protlen) != PROT_IP) in sandbox_eth_tftp_req_to_reply() 163 memcpy(eth_recv->et_dest, eth->et_src, ARP_HLEN); in sandbox_eth_tftp_req_to_reply()
|
Completed in 9 milliseconds