Searched refs:packet (Results 1 – 5 of 5) sorted by relevance
| /test/cmd/ |
| A D | wget.c | 34 struct arp_hdr *arp = packet + ETHER_HDR_SIZE; in sb_arp_handler() 54 struct ethernet_hdr *eth = packet; in sb_syn_handler() 55 struct ip_tcp_hdr *tcp = packet + ETHER_HDR_SIZE; in sb_syn_handler() 101 struct ethernet_hdr *eth = packet; in sb_ack_handler() 102 struct ip_tcp_hdr *tcp = packet + ETHER_HDR_SIZE; in sb_ack_handler() 194 struct ethernet_hdr *eth = packet; in sb_http_handler() 199 return sb_arp_handler(dev, packet, len); in sb_http_handler() 201 ip = packet + ETHER_HDR_SIZE; in sb_http_handler() 203 tcp = packet + ETHER_HDR_SIZE; in sb_http_handler() 205 return sb_syn_handler(dev, packet, len); in sb_http_handler() [all …]
|
| /test/image/ |
| A D | spl_load_net.c | 20 static int sandbox_eth_bootp_req_to_reply(struct udevice *dev, void *packet, in sandbox_eth_bootp_req_to_reply() argument 24 struct ethernet_hdr *eth = packet; in sandbox_eth_bootp_req_to_reply() 34 ip = packet + ETHER_HDR_SIZE; in sandbox_eth_bootp_req_to_reply() 51 memcpy(eth_recv, packet, len); in sandbox_eth_bootp_req_to_reply() 114 static int sandbox_eth_tftp_req_to_reply(struct udevice *dev, void *packet, in sandbox_eth_tftp_req_to_reply() argument 119 struct ethernet_hdr *eth = packet; in sandbox_eth_tftp_req_to_reply() 131 ip = packet + ETHER_HDR_SIZE; in sandbox_eth_tftp_req_to_reply() 196 static int spl_net_handler(struct udevice *dev, void *packet, in spl_net_handler() argument 205 sandbox_eth_arp_req_to_reply(dev, packet, len); in spl_net_handler() 206 sandbox_eth_bootp_req_to_reply(dev, packet, len); in spl_net_handler() [all …]
|
| /test/dm/ |
| A D | eth.c | 457 struct ethernet_hdr *eth = packet; in sb_check_arp_reply() 465 arp = packet + ETHER_HDR_SIZE; in sb_check_arp_reply() 495 struct ethernet_hdr *eth = packet; in sb_with_async_arp_handler() 496 struct arp_hdr *arp = packet + ETHER_HDR_SIZE; in sb_with_async_arp_handler() 513 sandbox_eth_arp_req_to_reply(dev, packet, len); in sb_with_async_arp_handler() 516 return sb_check_arp_reply(dev, packet, len); in sb_with_async_arp_handler() 545 struct ethernet_hdr *eth = packet; in sb_check_ping_reply() 554 ip = packet + ETHER_HDR_SIZE; in sb_check_ping_reply() 583 struct ethernet_hdr *eth = packet; in sb_with_async_ping_handler() 584 struct arp_hdr *arp = packet + ETHER_HDR_SIZE; in sb_with_async_ping_handler() [all …]
|
| /test/log/ |
| A D | syslog_test.h | 46 int sb_log_tx_handler(struct udevice *dev, void *packet, unsigned int len);
|
| A D | syslog_test.c | 24 int sb_log_tx_handler(struct udevice *dev, void *packet, unsigned int len) in sb_log_tx_handler() argument 30 char *buf = packet; in sb_log_tx_handler() 31 struct ethernet_hdr *eth_hdr = packet; in sb_log_tx_handler()
|
Completed in 13 milliseconds