grub/grub-core/net
Vladimir 'phcoder' Serbinenko b27069e06d Implement flow control for tftp.
* grub-core/net/net.c (receive_packets): Decrease the stop to 10
	packets but stop only if stop condition is satisfied.
	(grub_net_fs_read_real): Call packets_pulled after real read. Use
	`stall' instead of `eof' as stop condition.
	* grub-core/net/http.c (parse_line): Set `stall' on EOF.
	(http_err): Likewise.
	* grub-core/net/tftp.c (ack): Replace the first argument with data
	instead of socket.
	(tftp_receive): Stall if too many packets are in wait queue.
	(tftp_packets_pulled): New function.
	(grub_tftp_protocol): Set packets_pulled.
	* include/grub/net.h (grub_net_packets): New field count.
	(grub_net_put_packet): Increment count.
	(grub_net_remove_packet): Likewise.
	(grub_net_app_protocol): New field `packets_pulled'.
	(grub_net): New field `stall'.
2012-06-22 14:17:46 +02:00
..
drivers * grub-core/kern/main.c (grub_set_prefix_and_root): Fix memory leak. 2012-06-22 11:51:48 +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 * grub-core/net/bootp.c (grub_net_configure_by_dhcp_ack): Don't create 2012-06-21 22:20:57 +02:00
dns.c * grub-core/net/dns.c (grub_cmd_nslookup): Init addresses to 0 to avoid 2012-06-21 22:11:47 +02:00
ethernet.c support routed pings 2011-10-13 20:53:22 +02:00
http.c Implement flow control for tftp. 2012-06-22 14:17:46 +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 Implement flow control for tftp. 2012-06-22 14:17:46 +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 Implement flow control for tftp. 2012-06-22 14:17:46 +02:00
udp.c Improve gettext support. Stylistic fixes and error handling fixes while 2012-02-08 19:26:01 +01:00