1. 27 Mar, 2015 1 commit
  2. 28 Nov, 2014 1 commit
    • Michael Chang's avatar
      send router solicitation for ipv6 address autoconf v2 · 7c4b6b7b
      Michael Chang authored
      Many routers have long router advertisment interval configured by
      default. The Neighbor Discovery protocol (RFC4861) has defined default
      MaxRtrAdvInterval value as 600 seconds and
      MinRtrAdvInterval as 0.33*MaxRtrAdvInterval. This makes
      net_ipv6_autoconf fails more often than not as currently it passively
      listens the RA message to perfom address autoconfiguration.
      
      This patch tries to send router solicitation to overcome the problem of
      long RA interval.
      
      v2:
      use cpu_to_be macro for network byte order conversion
      add missing error handling
      7c4b6b7b
  3. 15 Dec, 2013 1 commit
  4. 23 Jun, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Implement flow control for http. · 982f1909
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/net/http.c (parse_line): Handle response 206.
      	(http_receive): Stall if too many packets are in the queue.
      	(http_establish): Fix range header.
      	(http_seek): Fix double free.
      	(http_close): Likewise.
      	(http_packets_pulled): New function.
      	(grub_http_protocol): Set http_seek
      	* grub-core/net/tcp.c (grub_net_tcp_socket): New field `i_stall'.
      	(ack_real): Set window depending on i_stall.
      	(grub_net_send_tcp_packet): Likewise.
      	(grub_net_tcp_stall): New function.
      	(grub_net_tcp_unstall): Likewise.
      	* include/grub/net/tcp.h (grub_net_tcp_stall): New proto.
      	(grub_net_tcp_unstall): Likewise.
      982f1909
  5. 08 May, 2012 1 commit
    • Bean's avatar
      * grub-core/net/ip.c (reassemble): Make asm_buffer into asm_netbuff. · 5efb817d
      Bean authored
      	All users updated.
      	(free_rsm): Free header as well.
      	(free_old_fragments): Fix memory leak.
      	* grub-core/net/netbuff.c (grub_netbuff_free): Make return void.
      	* grub-core/net/tftp.c (tftp_receive): Fix memory leak.
      	(destroy_pq): Likewise.
      	* include/grub/net/netbuff.h (grub_netbuff_free): Make return void.
      5efb817d
  6. 14 Oct, 2011 2 commits
  7. 13 Oct, 2011 3 commits
  8. 12 Oct, 2011 1 commit
  9. 06 Oct, 2011 1 commit
  10. 05 Oct, 2011 1 commit
  11. 11 Jul, 2011 1 commit
  12. 10 Jul, 2011 2 commits
  13. 09 Jul, 2011 1 commit
  14. 08 Jul, 2011 1 commit
  15. 06 Jul, 2011 1 commit
  16. 03 Jul, 2011 1 commit
  17. 02 Jul, 2011 1 commit
  18. 25 Jun, 2011 1 commit
  19. 25 May, 2011 1 commit
  20. 10 May, 2011 1 commit
  21. 01 Apr, 2011 1 commit
  22. 23 Sep, 2010 2 commits
  23. 15 Sep, 2010 2 commits
  24. 13 Aug, 2010 1 commit
    • Paulo de Rezende Pinatti's avatar
      Added ARP protocol to network stack and fixed bug in grub_netbuff_alloc function. · 10830203
      Paulo de Rezende Pinatti authored
      * include/grub/net/arp.h: added arp header, arp cache entry and related constants and functions
      * net/arp.c: added functions arp_init_table, arp_find_entry, arp_resolve and arp_receive
      * net/ethernet.c (send_ethernet_packet): replaced hardcoded hardware address by parameter target_addr
      * net/ethernet.c (recv_ethernet_packet): added call to arp_receive when packet is of type 0x803 (ARP) and only return when packet is of type determined by parameter ethertype
      * net/ip.c (send_ip_packet): added call to arp_resolve to determine hardware address of destination
      * net/netbuff.c (grub_netbuff_alloc): fixed swapped parameters in call to grub_memalign
      10830203
  25. 30 Jul, 2010 1 commit
  26. 29 Jun, 2010 1 commit
  27. 23 Jun, 2010 1 commit
  28. 22 Jun, 2010 1 commit
  29. 30 Apr, 2010 1 commit
  30. 28 Apr, 2010 1 commit