grub/grub-core/net
Vladimir 'phcoder' Serbinenko 96f7e60eae Stop polling as soon as we have the packet we were waiting for.
* include/grub/net.h (grub_net_poll_cards): New argument stop_condition.
	All users updated.
	* grub-core/net/arp.c (have_pending): New var.
	(pending_req): Likewise.
	(grub_net_arp_send_request): Fill pending_req and use have_pending as
	stop indicator.
	(grub_net_arp_receive): Set have_pending.
	* grub-core/net/dns.c (recv_data): New field stop.
	(recv_hook): Set stop.
	(grub_net_dns_lookup): Init stop and use as stop condition.
	* grub-core/net/http.c (http_establish): Use headers_recv as stop
	condition.
	* grub-core/net/net.c (grub_net_poll_cards): New argument
	stop_condition. Stop when it goes true.
	* grub-core/net/tcp.c (grub_net_tcp_open): Use `established' as stop
	indicator.
	* grub-core/net/tftp.c (tftp_open): Use `have_oack' as stop indicator.
2012-06-09 11:06:55 +02:00
..
drivers Keep TX and RX buffers on EFI rather than always allocate new ones. 2012-06-09 11:00:18 +02:00
arp.c Stop polling as soon as we have the packet we were waiting for. 2012-06-09 11:06:55 +02:00
bootp.c Stop polling as soon as we have the packet we were waiting for. 2012-06-09 11:06:55 +02:00
dns.c Stop polling as soon as we have the packet we were waiting for. 2012-06-09 11:06:55 +02:00
ethernet.c support routed pings 2011-10-13 20:53:22 +02:00
http.c Stop polling as soon as we have the packet we were waiting for. 2012-06-09 11:06:55 +02:00
icmp.c support routed pings 2011-10-13 20:53:22 +02:00
icmp6.c Stop polling as soon as we have the packet we were waiting for. 2012-06-09 11:06:55 +02:00
ip.c * grub-core/net/ip.c (reassemble): Make asm_buffer into asm_netbuff. 2012-05-08 16:03:02 +02:00
net.c Stop polling as soon as we have the packet we were waiting for. 2012-06-09 11:06:55 +02:00
netbuff.c * grub-core/net/ip.c (reassemble): Make asm_buffer into asm_netbuff. 2012-05-08 16:03:02 +02:00
tcp.c Stop polling as soon as we have the packet we were waiting for. 2012-06-09 11:06:55 +02:00
tftp.c Stop polling as soon as we have the packet we were waiting for. 2012-06-09 11:06:55 +02:00
udp.c Improve gettext support. Stylistic fixes and error handling fixes while 2012-02-08 19:26:01 +01:00