📄 changelog
字号:
2007-12-21 Oyvind Harboe <oyvind.harboe@zylin.com>
* src/tftp_client.c, include/arpa/tftp.h, cdl/net.cdl: tftp
blksize negotiation support. >512 byte block sizes improves tftp
GET performance. Switched to memcpy(), which matters for larger
blocks.
2007-01-15 Gary Thomas <gary@mlbassoc.com>
* src/dhcp_support.c (dhcp_mgt_entry): Better handling when restarting
interfaces after expired lease(s). Keep trying in case the DHCP server
has gone down.
2007-01-09 Jonathan Larmour <jifl@eCosCentric.com>
* doc/manpages/net/getaddrinfo.3: Remove obsolete comment about
not being thread-safe.
2007-01-07 Andrew Lunn <andrew.lunn@ascom.ch>
* src/dhcp_support.c:
* cdl/net.cdl:
Added CDL to control the size of the stack used by
the DHCP management thread.
2006-12-18 Sergei Gavrikov <sg@sgs.gomel.by>
* tests/ga_server_test.c: Updated flags argument in call of
getnameinfo().
2006-05-25 Andrew Lunn <andrew.lunn@ascom.ch>
* cdl/net.cdl: Fix calculation of TFTPD stack
size. CYGNUM_HAL_STACK_SIZE_TYPICAL is not a CDL variable, it is a
#define, so we need to ensure that the compiler evaluates the
expression, not the CDL library.
2006-03-26 Andrew Lunn <andrew.lunn@ascom.ch>
* tests/nc_test_framework.h:
* tests/nc_test_master.c: Fix the compiler warnings when
building for Linux.
2006-02-27 Jay Foster <jay@systech.com>
* src/dhcp_prot.c: Updated set_fixed_tag(), set_variable_tag(),
and unset_tag() to handle TAG_PAD bytes properly. Also updated
set_fixed_tag() and set_variable_tag() to permit setting options that
already exist, but are a different size, rather than asserting.
This corrects problems interacting with mis-behaving DHCP servers
that reply with modified versions of a DHCP option sent by the eCos
client, such as TAG_HOST_NAME.
2005-10-24 Andrew Lunn <andrew.lunn@ascom.ch>
* include/network.h: Include <string.h> to stop warnings.
2005-10-23 Andrew Lunn <andrew.lunn@ascom.ch>
* test/nc*_test_master.c: gettimeofday is now in POSIX
2005-10-13 Andrew Lunn <andrew.lunn@ascom.ch>
* docs/manpages/sys/socketpair.2: Removed this man page since
socketpair(2) is not supported.
2005-09-16 Andrew Lunn <andrew.lunn@ascom.ch>
* tests/server_test.c: use socklen_t.
* tests/nc_test_slave.c: use socklen_t and diag_print type fixes
to stop warnings with gcc4.x
* tests/tcp_echo.c: use socklen_t and diag_print type fixes to
stop warnings with gcc4.x
* tests/ping_test.c: use socklen_t.
* tests/dhcp_test.c: use socklen_t.
2005-09-05 David Vrabel <dvrabel@arcom.com>
Andrew Lunn <andrew.lunn@ascom.ch>
* src/tftp_client.c, include/tftp_support.h: const parameters
where appropriate.
* doc/tcpip.sgml: Update for the above.
2005-08-02 Andrew Lunn <andrew.lunn@ascom.ch>
* tests/ping_lo_test.c (ping_host): Use socklen_t to avoid
compiler warnings.
* tests/tcp_lo_test.c (server): Ditto
* tests/udp_lo_test.c (server): Ditto
* tests/tcp_lo_select.c (server): Ditto
2005-07-29 Andrew Lunn <andrew.lunn@ascom.ch>
* src/tftp_dummy_file.c: unsigned char when needed to prevent warnings.
* src/tftp_server.c: fromlen in recvfrom should be of socklen_t.
* src/tftp_client.c: fromlen in recvfrom should be of socklen_t.
* src/dhcp_prot.c (do_dhcp): Casts etc so that it compiles cleanly
with gcc4.0
2005-03-27 Andrew Lunn <andrew.lunn@ascom.ch>
* src/tftp_server.c (tftpd_server): Fixed compiler warning about
type of argument to printf.
2004-10-04 Andrew Lunn <andrew.lunn@ascom.ch>
* include/tftp_support.h: Use the definitions of O_RDONLY and
O_WRONLY from fcntl.h instead of defining them ourselves.
2004-06-17 Oyvind Harboe <oyvind.harboe@zylin.com>
* src/tftp_server.c:
* cdl/net.cdl: Made tftp server stack size configurable via cdl.
2004-06-17 Andrew Lunn <andrew.lunn@ascom.ch>
* src/ifaddrs.c (getifaddrs): Return destination address for P2P
devices. Also don't bother trying to get the broadcast address for
interfaces that don't have a valid broadcast address. Inspired by
Kelvin Lawson
2004-06-08 Andrew Lunn <andrew.lunn@ascom.ch>
* include/network.h: Added a __THROW to perror so that it matches
what is in stdio.h. Problem pointed out by 貀vid Harboe.
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_TIME
2004-02-17 Matt Jerdonek <maj1224@yahoo.com>
* src/dhcp_prot.c: Fix initialization of DHCP sec field
2003-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_SERVER
2003-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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -