changelog
来自「eCos操作系统源码」· 代码 · 共 800 行 · 第 1/2 页
TXT
800 行
2004-05-04 Jay Foster <jay.foster@systech.com> * src/bootp_support.c (get_bootp_option, show_bootp): * src/dhcp_prot.c (scan_dhcp_size): Fixed bug that didn't handle the pad option. 2004-04-19 Oyvind Harboe <oyvind.harboe@zylin.com> * src/tftp_server.c: files are now created with the O_CREAT|O_TRUNC|O_WRONLY so it is possible to write to non-existing files and that overwriting a larger file with a smaller file does not leave a garbage at the end.2004-04-19 John Dallaway <jld@ecoscentric.com> * doc/tcpip.sgml: Remove reference to RedBoot documentation which is now built separately.2004-04-13 Sandeep Kumar <sandeep@codito.com> * src/network_support.c (init_all_network_interfaces): Fix argument to cyg_dns_res_start and removed errneaous extra closing brace around it.2004-04-13 Jay Foster <jay.foster@systech.com> * src/bootp_support.c (do_bootp): Return false when we should. * src/dhcp_prot.c (do_dhcp_down_net): correctly close the IPv6 socket.2004-04-11 Andrew Lunn <andrew.lunn@ascom.ch> * src/bootp_support.c: * src/dhcp_prot.c: Close sockets before exiting so we don't leak them. * src/dhcp_prot.c (new_lease): Use a smaller infinite so we don't get a compiler warning. 2004-02-27 Robert Chenault <robertchenault@yahoo.com> * cdl/net.cdl: * src/dhcp_prot.c: Added CYGNUM_NET_DHCP_MIN_RETRY_TIME2004-02-17 Matt Jerdonek <maj1224@yahoo.com> * src/dhcp_prot.c: Fix initialization of DHCP sec field2003-12-10 Gary Thomas <gary@mlbassoc.com> * src/inet_ntoa.c: Add thread safe inet_ntoa_r() and change inet_ntoa() to use it. Inspired by Matt Jerdonek. * include/net/netdb.h: * include/arpa/inet.h: Prototype for inet_ntoa_r()2003-11-25 Manu Sharma <manu.sharma@ascom.com> * tests/bridge.c: Changes to enable Spanning Tree Protocol if the corresponding CDL component is enabled. 2003-11-24 Jani Monoses <jani@iv.ro> * cdl/net.cdl: Close quote for test list. 2003-11-22 Andrew Lunn <andrew.lunn@ascom.ch> * cdl/net.cdl: Added control for IPSEC * doc/ipsec.sgml: General documentation of ipsec.2003-10-30 Gary Thomas <gary@mlbassoc.com> * tests/ping_test.c: Enable profiling if configured in - example use only.2003-10-16 Jay Foster <jay@systech.com> Andrew Lunn <andrew.lunn@ascom.ch> * doc/tcpip.sgml: Added documentation for CYGOPT_NET_DHCP_OPTION_HOST_NAME, CYGNUM_NET_DHCP_OPTION_HOST_NAME_LEN, CYGOPT_NET_DHCP_OPTION_DHCP_CLIENTID_MAC, CYGOPT_NET_DHCP_PARM_REQ_LIST_REPLACE and CYGOPT_NET_DHCP_PARM_REQ_LIST_ADDITIONAL. * cdl/net.cdl: Added legal_values definition for the CYGNUM_NET_DHCP_OPTION_HOST_NAME_LEN option. 2003-10-21 Andrew Lunn <andrew.lunn@ascom.ch> * src/dhcp_prot.c (set_default_dhcp_tags): * src/bootp_support.c (show_bootp): Added support for TAG_NTP_SERVER2003-10-13 Jay Foster <jay@systech.com> * include/dhcp.h: Added prototype for dhcp_set_hostname(). * src/dhcp_prot.c (set_default_dhcp_tags): Added TAG_HOST_NAME and TAG_DHCP_CLIENTID DHCP/BOOTP option support. * cdl/net.cdl: Added host name (CYGOPT_NET_DHCP_OPTION_HOST_NAME) and MAC address client ID (CYGOPT_NET_DHCP_OPTION_DHCP_CLIENTID_MAC) support.2003-10-12 Jay Foster <jay@systech.com> * cdl/net.cdl: Added configuration interface for CYGOPT_NET_DHCP_PARM_REQ_LIST_REPLACE and CYGOPT_NET_DHCP_PARM_REQ_LIST_ADDITIONAL.2003-10-09 Eric Doenges <Eric.Doenges@DynaPel.com> * src/tftp_client.c: Changed the code so that if a packet is received out of sequence we don't close the connection but wait for the missing packets. 2003-10-06 Andrew Lunn <andrew.lunn@ascom.ch> * tests/bridge.c: Build the test when we have the bridge handler code enabled and so presumably a bridge.2003-09-16 Jay Foster <jay@systech.com> * src/ifaddrs.c (getifaddrs): Fix up allocation and freeing of work buffers and data buffers. 2003-07-29 Motoya Kurotsu <kurotsu@allied-telesis.co.jp> * src/dhcp_prot.c (do_dhcp): (re)Initialize the lease when dhcp is (re)initialized or retried. Return true when the state falls into DHCPSTATE_NOTBOUND so that it knows the interface it still up and can later bring it down when cleaning up.2003-07-25 Andrew Lunn <andrew.lunn@ascom.ch> * src/ipv6_routing_thread.c: Fix compiler warnings * cd/net.cdl: The routing thread needs the posix package.2003-07-24 Nick Garnett <nickg@balti.calivar.com> * src/dhcp_prot.c: Added a declaration for cyg_arc4random() to eliminate a compiler warning.2003-07-15 Nick Garnett <nickg@balti.calivar.com> * include/net/netdb.h: Added include for <sys/param.h>. the in.h file included later needs this.2003-05-23 Andrew Lunn <andrew.lunn@ascom.ch> * src/network_support.c (init_all_network_interfaces): Allow IPv4 or IPv6 addresses to be used when configuring a default DNS server. 2003-05-21 Andrew Lunn <andrew.lunn@ascom.ch> * src/getaddrinfo.c (getaddrinfo): Corrected a bad patch merge from earlier which failed to delete some code. This fixed the dns1 tests for IPv6 lookups.2003-05-19 Michael Checky <Michael_Checky@ThermoKing.com> Andrew Lunn <andrew.lunn@ascom.ch> * src/getaddrinfo.c: Changed '#ifdef CYGPKG_NS_DNS' to '#ifdef CYGPKG_NS_DNS_BUILD', so it would compile if this CDL option is not selected. Changed the call to 'numeric_node_addr' so it uses the correct number of arguments.2003-05-14 Bob Holmberg <bob_holmberg@yahoo.com> * src/tftp_server.c (tftpd_read_file): Open the file for reading, not writing.2003-05-09 Andrew Lunn <andrew.lunn@ascom.ch> * src/ifaddrs.c (getifaddrs): Fill in flags, netmask and broadcast addresses, for both IPv4 and IPv6 and enabled. * src/ipv6_routing_thread.c (ipv6_start_routing_thread): Only start the thread once. 2003-04-26 Andrew Lunn <andrew.lunn@ascom.ch> * src/getaddrinfo.c (getaddrinfo): Correctly return TCP when it is! * tests/addr_test.c (net_test): Added a test which uses protocol TCP * src/tftp_client.c (tftp_get): If we timeout on the first block, try other addresses for the server if we have any. * src/network_support.c (init_all_network_interfaces): After router solicitation has given us an address, wait a couple of seconds for duplicate address detection to do its work. While DAD is active, we cannot use the new address.2003-04-24 Jonathan Larmour <jifl@eCosCentric.com> * doc/tcpip.sgml: Fix some docbook errors only reported by certain Jade versions.2003-04-24 Andrew Lunn <andrew.lunn@ascom.ch> * src/tftp_client.c (tftp_client_put): Fixed compiler warning. 2003-04-21 Andrew Lunn <andrew.lunn@ascom.ch> * src/getaddrinfo.c (getnameinfo): Fixed some endian issues with port numbers and a typo. Added an interface to the DNS client for reverse lookups. * tests/addr_test.c (net_test): Added tests for getnameinfo. Fixed some memory leaks.2003-04-20 Andrew Lunn <andrew.lunn@ascom.ch> * src/getaddrinfo.c (getaddrinfo): Virtually a re-write to interface to the DNS client.2003-04-14 Andrew Lunn <andrew.lunn@ascom.ch> * include/net/netdb.h: const correctness. 2003-04-12 Andrew Lunn <andrew.lunn@ascom.ch> * src/network_support.c (init_loopback_interface): Close the socket when things go wrong otherwise we leak sockets. * src/tftp_server.c (tftpd_server): Added support for IPv6 as well as IPv4. Extended the multithreading support so that it works correctly when there are multiple servers on multiple ports. * doc/tcpip.sgml: Documentation for the changes made to the tftp server.2003-04-11 Jonathan Larmour <jifl@eCosCentric.com> * tests/linux_echo.c: Renamed to.... * tests/host_echo.c: this new file. Change comment to indicate this. * tests/make.linux: Renamed to.... * tests/make.host: this new file. Change comment to indicate this. Also linux_echo -> host_echo, and add clean target. * doc/tcpip.sgml: Reflect above.2003-04-11 Michael Checky <Michael_Checky@Thermoking.com> * tests/nc_test_framework.h: deleted '#include <net/route.h>'. * tests/linux_echo.c: added '#include <netinet/in_systm.h>', deleted '#include <net/route.h>'. * tests/tcp_sink.c: ditto. * tests/tcp_souce.c: ditto. * tests/nc_test_slave.c: changed 'bool' to 'int' because the compiler didn't like 'bool'.2003-04-10 Andrew Lunn <andrew.lunn@ascom.ch> * src/network_support.c (init_all_network_interfaces): Wait upto 4 seconds for a router solicit message to be received. Once we have received the message we know we have a valid IPv6 address. * src/tftp_client.c: Added support for IPv6. This requires two new functions, tftp_client_{get|put} which are protocol version independent. * tests/tftp_client_test.c (tftp_test): Added tests which use IPv6 addresses. 2003-04-07 Andrew Lunn <andrew.lunn@ascom.ch> * src/getaddrinfo.c (getaddrinfo): Correctly deal with node when its not NULL. Its OK for the address to not parse for an address family when AF_UNSPEC is passed in hints. Also get the socktype correct when wildcarding for services that use UDP. * tests/addr_test.c: Added more test cases which test IP addresses in number format as node.2003-04-05 Andrew Lunn <andrew.lunn@ascom.ch> * cdl/net.cdl: Added addr_tests to the HW tests. * tests/addr_test.c (net_test): void function not int. * tests/ping_test.c (net_test): Added IPv6 ping test. This pings the router which answers our router solicit message. * src/ipv6_routing_thread.c (cyg_rs): Print out the router advertisement message. Cleaned up the debug messages so they can be disabled. * src/ipv6_routing_thread.c (cyg_net_get_ipv6_advrouter): New function to return the address of the router. * include/network.h: Added prototype for above and ipv6_start_routing_thread which did not have a prototype. * src/ipv6_routing_thread.c (cyg_rs): Only wait 2 seconds before sending the first solicit request rather than 10. * src/dhcp_prot.c (do_dhcp_down_net): clear the if_laddrreq before using it. If the request fails finish the IPv4 code rather than returning,. 2003-04-02 Andrew Lunn <andrew.lunn@ascom.ch> * tests/ping_lo_test.c: Added IPv6 ping test. * src/getproto.c: Added the protocol ipv6-icmp.2003-04-02 Andrew Lunn <andrew.lunn@ascom.ch> * src/dhcp_prot.c (do_dhcp_down_net): SIOCGLIFADDR and SIOCDLIFADDR take if_laddrreq not ifreq. This caused stack corruption. Also initialise the if_laddrreq to zero and only do the second IOCTL call if the first once succeeds.2003-03-21 Nick Garnett <nickg@balti.calivar.com> * include/network.h: Added include of pkgconf/io_eth_drivers.h since the recent move of CYGHWR_NET_DRIVERS prevented some tests building. This fixes the problem. * tests/dhcp_test2.c: Sorted out ifdefs so that this test builds when DHCP is disabled. * cdl/net.cdl: Reinstated dhcp_test2 into list of tests: it was accidentally removed in the 2003-03-14 checkin. 2003-03-20 Mark Salter <msalter@redhat.com> * cdl/net.cdl (CYGHWR_NET_DRIVERS): Removed to io/eth.2003-03-18 Barton Meeks <bartonm2002@yahoo.com> * src/tftp_client.c: Reduce size of initial request packet for compatibility with some tftp servers. 2003-03-14 Nick Garnett <nickg@balti.calivar.com> * cdl/net.cdl: Added CYGDBG_NET_SHOW_MBUFS option to turn on accumulation and display of mbuf state information. 2003-03-06 Gary Thomas <gary@mlbassoc.com> * src/getaddrinfo.c: Need to clear any addresses - malloc() can return garbage which the stack desn't like.2003-03-05 Gary Thomas <gary@mlbassoc.com> * src/getaddrinfo.c: Allow getaddrinfo() to use DNS gethostbyXXX() routines if DNS is present. Also, eliminate some debug messages.2003-02-25 Andrew Lunn <andrew.lunn@ascom.ch> * src/getserv.c: Added a servent structure for SNTP.2003-02-24 Jonathan Larmour <jifl@eCosCentric.com> * cdl/net.cdl: Improve doc links. * doc/prepare-manpages.sh: Generate namespaced IDs, without shouting. * doc/tcpip-manpages.sgml: Regenerated.2003-01-31 Jonathan Larmour <jifl@eCosCentric.com> * cdl/net.cdl (CYGPKG_NET_BUILD_HW_TESTS): Requires eth hardware devices. (CYGPKG_NET_TESTS): Remove from under CYGPKG_NET_BUILD_TESTS (which became CYGPKG_NET_BUILD_HW_TESTS) so the loopback tests are always built.2003-01-20 Gary Thomas <gary@mlbassoc.com> * tests/nc_test_slave.c: Improve handling of UDP buffer space - try to minimize amount of "idle" time when this occurs. Since this test is just for show, these changes just make the numbers "look" better.2003-01-18 Jonathan Larmour <jifl@eCosCentric.com> * src/network_support.c (init_all_network_interfaces): Define buf as const.2003-01-10 Andrew Lunn <andrew.lunn@ascom.ch> * src/network_support.c (init_all_network_interfaces): Added support for a hard coded domain name. Inspired by Motoya Kurotsu. 2003-01-09 Andrew Lunn <andrew.lunn@ascom.ch> * src/network_support.c (init_all_network_interfaces): Added support for a hard coded, default DNS server address.2003-01-12 Jonathan Larmour <jifl@eCosCentric.com> * src/bootp_support.c: Fix licence which should always have been GPL since no BSD licensed code was in fact involved. * src/dhcp_prot.c: Ditto. * src/dhcp_support.c: Ditto. * src/network_support.c: Ditto. * src/tftp_client.c: Ditto. * src/tftp_dummy_file.c: Ditto. * src/tftp_server.c: Ditto.2003-01-04 Jonathan Larmour <jifl@eCosCentric.com> * doc/tcpip.sgml: Use new entity name for tcpip manpages.2002-10-06 Andrew Lunn <andrew.lunn@ascom.ch> * tests/multi_lo_select.c: Need the io_fileio.h header file * tests/tcp_echo.c: (max): definition clashes with the one in the header file lib/libkern/libkern.h2002-08-16 Gary Thomas <gthomas@ecoscentric.com> (on behalf of)2002-08-16 Louis Hamilton <hamilton@redhat.com> * src/ipv6_routing_thread.c: General improvements (from Red Hat) for better compliance.2002-08-14 Jonathan Larmour <jifl@ecoscentric.com>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?