Lines Matching refs:packet

73 	uchar *packet;  in fastboot_send_info()  local
85 packet = net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE; in fastboot_send_info()
86 packet_base = packet; in fastboot_send_info()
89 memcpy(packet, &fb_response_header, sizeof(fb_response_header)); in fastboot_send_info()
90 packet += sizeof(fb_response_header); in fastboot_send_info()
93 memcpy(packet, response, strlen(response)); in fastboot_send_info()
94 packet += strlen(response); in fastboot_send_info()
96 len = packet-packet_base; in fastboot_send_info()
117 uchar *packet; in fastboot_send() local
128 packet = net_tx_packet + net_eth_hdr_size() + IP_UDP_HDR_SIZE; in fastboot_send()
129 packet_base = packet; in fastboot_send()
133 memcpy(packet, last_packet, last_packet_len); in fastboot_send()
140 memcpy(packet, &fb_response_header, sizeof(fb_response_header)); in fastboot_send()
141 packet += sizeof(fb_response_header); in fastboot_send()
146 memcpy(packet, &tmp, sizeof(tmp)); in fastboot_send()
147 packet += sizeof(tmp); in fastboot_send()
151 memcpy(packet, &tmp, sizeof(tmp)); in fastboot_send()
152 packet += sizeof(tmp); in fastboot_send()
154 memcpy(packet, &tmp, sizeof(tmp)); in fastboot_send()
155 packet += sizeof(tmp); in fastboot_send()
158 memcpy(packet, error_msg, strlen(error_msg)); in fastboot_send()
159 packet += strlen(error_msg); in fastboot_send()
197 memcpy(packet, response, strlen(response)); in fastboot_send()
198 packet += strlen(response); in fastboot_send()
205 len = packet-packet_base; in fastboot_send()
473 static void fastboot_handler(uchar *packet, unsigned dport, struct in_addr sip, in fastboot_handler() argument
490 memcpy(&fb_header, packet, sizeof(fb_header)); in fastboot_handler()
493 packet += sizeof(fb_header); in fastboot_handler()
504 memcpy(fastboot_data, packet, len); in fastboot_handler()