📄 changelog
字号:
2003-12-10 Gary Thomas <gary@mlbassoc.com>
* include/netinet/in.h: Prototype for inet_ntoa_r()
2003-11-25 Manu Sharma <manu.sharma@ascom.com>
* src/sys/net/bridgestp.c: Code for Spanning Tree Protocol (STP).
* cdl/openbsd_net.cdl: Changes make provisions for STP code.
* doc/openbsd.sgml: Same.
* include/net/if.h: Same.
* include/net/if_bridge.h: Same.
* include/net/if_llc.h: Same.
* include/sys/sockio.h: Same.
* src/sys/net/if_bridge.c: Same.
* doc/openbsd-manpages-stp.sgml: Documentation for OpenBSD specific code
* doc/openbsd-manpages-netintro.sgml: Same.
* doc/openbsd-manpages-bridge.sgml: Same.
2003-09-22 Reinhard Jessich <Reinhard.Jessich@frequentis.com>
* include/net/if.h: Define macro IF_IS_EMPTY needed by eth_drv.c
2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
* cdl/openbsd_net.cdl: Improve doc links.
2003-01-30 Jonathan Larmour <jifl@eCosCentric.com>
* src/sys/net/if_bridge.c (bridge_input): Learn source host addr,
not dest host addr.
Fix pointed to by Daniel N閞i.
2002-12-14 Nick Garnett <nickg@ecoscentric.com>
* src/sys/netinet/tcp_usrreq.c (tcp_usrreq): Rearranged ifndef on
PRU_SENSE case to keep the case in the switch and let it return a
sensible result. Otherwise a stat() on a socket causes a panic().
2002-12-03 Gary Thomas <gthomas@ecoscentric.com>
* src/ecos/support.c (show_network_tables): New function used
to print network information (interface, routing).
2002-05-21 Jesper Skov <jskov@redhat.com>
* src/lib/recv.c: Fix warning. socket.h declarations are not
available to the kernel code. Added missing argument in the
recvfrom call.
2002-05-14 Jesper Skov <jskov@redhat.com>
* include/netinet6/in6.h: Fixed warnings.
* src/sys/kern/uipc_socket2.c (sblock): Fixed warning.
* src/sys/netinet/tcp_input.c: Same.
* src/sys/net/if_loop.c (looutput): Same.
* src/sys/kern/sockio.c: Same.
* include/sys/param.h: Include machine headers after the namespace
changing macros to get the desired declarations, thus fixing
compiler warnings.
2002-04-26 Gary Thomas <gthomas@redhat.com>
* src/sys/netinet/ip_input.c: Proper "extern" definition of 'ipstat'.
* src/sys/netinet/raw_ip.c:
* src/sys/netinet/ip_output.c:
* include/netinet/ip_var.h: Use of ramdom IP packet id is optional.
2002-04-22 Gary Thomas <gthomas@redhat.com>
* src/sys/netinet/tcp_usrreq.c:
* src/sys/netinet/tcp_output.c:
* src/sys/netinet/tcp_input.c:
* src/sys/netinet/tcp_debug.c:
* include/netinet/tcp_debug.h: Fully conditionalize on TCPDEBUG.
2002-03-27 Jonathan Larmour <jlarmour@redhat.com>
* doc/openbsd.sgml: Manpages now live in "common" BSD package.
2002-03-19 Gary Thomas <gthomas@redhat.com>
* src/sys/net/route.c (cyg_route_reinit): Renamed from route_reinit.
2002-03-11 Hugo Tyson <hmt@redhat.com>
[Case 107110]
* src/sys/netinet/in.c (in_control): SIOCSIFADDR switch entry
moved to before the scan for this same address being in the list
already, along with Add and Delete (SIOCAIFADDR,SIOCDIFADDR) arms.
It falls through into the same alloc-if-needed code anyway.
Thus repeatedly setting the same address does not leak store.
* src/sys/net/route.c (route_reinit): Rewrite to delete all routes
individually rather than en-masse (leaking store).
(rt_reinit_rtdelete): New function; callback for individual
deletion.
(rtioctl): Do not pass in a "route **" to return a pointer to the
route removed or added; this results in an extra reference, by the
returned pointer, and so a storeleak.
(rtrequest): RTM_DELETE arm: do not free a gateway route if the
gateway pointer is the same as the route itself - it gets freed
*again* at the end of the routine if you do. Just dec the refcnt.
2002-03-07 Gary Thomas <gthomas@redhat.com>
* include/sys/param.h: Privatize route_reinit(), arc4random().
2002-02-28 Hugo Tyson <hmt@redhat.com>
2002-02-28 Martin Buck <martin.buck@ascom.ch>
* src/sys/net/if_ethersubr.c (ether_input): [Bugzilla 60318]
ether_input() schedules processing by calling schednetisr(FOO) and
then queues the frame afterwards. Where we cannot be preempted
eg. in a DSR or in the original BSD kernel, this is OK. In eCos
the call to schednetisr(FOO) might cause a context switch *before*
the frame is enqueued. This "jams" one packet in the queue,
delaying it until the next packet, and so on.
This change makes ether_input() store up the schednetisr() arg
until the end, and do the call then, much like it does with the
queue to use. Thanks Martin!
2002-02-22 Hugo Tyson <hmt@redhat.com>
* doc/openbsd.sgml: New file; separated stack-specific docs from
monolithic net doc, and tidied up in various ways.
2002-02-15 Gary Thomas <gthomas@redhat.com>
* cdl/openbsd_net.cdl: Slight changes in layout required by split
of network stacks.
2002-02-13 Jonathan Larmour <jlarmour@redhat.com>
2002-02-13 Andrew Lunn <andrew.lunn@ascom.ch>
* include/sys/mbuf.h: Declare variables as extern in header.
* src/sys/kern/uipc_mbuf.c: Define mbtypes[] and init it.
2002-02-05 Hugo Tyson <hmt@redhat.com>
* cdl/openbsd_net.cdl: Place this package below CYGPKG_NET
ie. the common networking package. Only affects the view in the
GUI CT, no big deal.
2002-01-28 Gary Thomas <gthomas@redhat.com>
* src/sys/netinet/ip_input.c: inet_ntoa() is now common.
* cdl/openbsd_net.cdl: Renamed from net.cdl. This package
is now a proper sub-package, implementing a network stack.
2002-01-28 Jonathan Larmour <jlarmour@redhat.com>
* cdl/net.cdl: Clarify CYGPKG_NET_ROUTING description.
2002-01-08 Jonathan Larmour <jlarmour@redhat.com>
* tests/server_test.c (server_test): Correct port conversion.
2001-12-14 Hugo Tyson <hmt@redhat.com>
* src/sys/net/if_ethersubr.c (ether_output): Never ever print
anything! It can recurse unexpectedly if debugging over net.
2001-12-10 Andrew Lunn <andrew.lunn@ascom.ch>
* cdl/net.cdl: Add configury to eliminate network timing stats.
* src/include/machine/param.h: Timing statistics for things like
memcpy, mbuf_alloc etc now use configury to determine if the
statistics code should be compiled.
* src/ecos/support.c: Ditto.
* tests/nc_test_slave.c: Only print timing stats when they
are enabled.
* tests/tcp_echo.c: Ditto.
* tests/nc_test_master.c: Allow building with SNMP lib which has
its own gettimeofday(). This should be fixed better a different
way but will do for now.
2001-12-06 Hugo Tyson <hmt@redhat.com>
* src/lib/bootp_support.c (init_net): Just re-tabbed and checked
the addition to initialize DNS from DHCP info - it had already
snuck into the file in the previous change from Andrew. Include
of netdb.h added also, from the patch in Bug 57019. Also check
CYGINT_ISO_DNS for the setup code instead of CYGPKG_ISO_DNS.
2001-12-04 Jonathan Larmour <jlarmour@redhat.com>
* src/lib/bootp_support.c: Check CYGINT_ISO_DNS (from
<pkgconf/isoinfra.h>) instead of CYGPKG_ISO_DNS.
2001-12-03 Andrew Lunn <Andrew.Lunn@ascom.ch>
* src/lib/bootp_support.c: get_bootp_option(): Take the
max length of data we want out of the bootp record.
* src/lib/dhcp_prot.c: Pass the length we expect for an option.
2001-08-16 Anssi Pulkkinen <Anssi.Pulkkinen@ascom.ch>
* src/lib/dhcp_prot.c: Make sure we use the newly calculated xid.
2001-08-02 Anand Srivastava <Anand.Srivastava@ascom.ch>
* src/lib/dhcp_prot.c do_dhcp: ID calculation must be done only
once. moved it out the loop.
2001-11-21 Hugo Tyson <hmt@redhat.com>
* src/lib/dhcp_support.c (dhcp_mgt_entry): If we have an
SNMPAGENT, must recycle it whenever we reinitialize all
interfaces; call SnmpdShutDown() to cause this.
Also re-initialize all loopback interfaces here too.
2001-11-30 Hugo Tyson <hmt@redhat.com>
* src/lib/dhcp_prot.c (set_default_dhcp_tags): New routine to
insert all the extra woffle we need neatly each time, keeping the
state machine's case arms to the real work. The new thing this
sets is TAG_DHCP_PARM_REQ_LIST, with a list that matches the
default set we get from a LINUX dhcpd. This is because M$ servers
need explicit requests for eg. TAG_GATEWAY. Note that I have
included configuration to override the set of tags requested here
in the source, but not yet backed up by CDL - we'll see whether
anyone needs this.
(set_variable_tag): New routine to insert a variable pointed-to
data item rather than an int of 1,2 or 4 bytes.
(do_dhcp): Call set_default_dhcp_tags() every time we send a
packet, rather than ad hoc additions in each state.
2001-11-29 Jonathan Larmour <jlarmour@redhat.com>
* include/machine/ansi.h: No longer require BSD string function
compatibility macros (in fact they confuse things).
* cdl/net.cdl: Require BSD compatibility functions from <string.h>.
2001-11-19 Hugo Tyson <hmt@redhat.com>
* include/bootp.h (BP_STD_TX_MINPKTSZ): New symbol defining the
minimal DHCP packet size which we should send.
* src/lib/dhcp_prot.c (scan_dhcp_size): New routine to scan up to
the end of the packet, for length determination and padding.
(dhcp_size): Now uses scan_dhcp_size().
(dhcp_size_for_send): New, uses scan_dhcp_size() and pads with
zero up to the min packet size that we should send.
(do_dhcp): In every sendto() call, use dhcp_size_for_send(xmit) in
order to send padded, full size packets as needed. 5 instances.
Credit to "Anssi Pulkkinen" <Anssi.Pulkkinen@ascom.ch> for the
original version of this patch.
2001-11-08 Jesper Skov <jskov@redhat.com>
* tests/server_test.c (net_test): Fix compile error.
2001-11-02 Gary Thomas <gthomas@redhat.com>
* src/ecos/support.c:
* include/machine/ansi.h: Add C++ support [externC].
2001-11-11 Andrew Lunn <andrew.lunn@ascom.ch>
*src/lib/recv.c: Implement the recv() call.
2001-10-29 Hugo Tyson <hmt@redhat.com>
* src/sys/net/if_ethersubr.c (ether_output): [CASE 106613] Even if
the queue is full, and we are dropping the packet, try to start
the interface anyway, to give it a chance to empty the queue if
the device has recovered from whatever made the queue fill up in
the first place - being unplugged from the network for example.
This change is belt & braces with a similar policy in the periodic
tickle function in the logical ether driver in io/eth/... ; this
change will recover the situation immediately if the application
continues trying to send despite ENOBUFS.
2001-10-25 Hugo Tyson <hmt@redhat.com>
* src/sys/net/if_bridge.c (bridge_broadcast): Count if_obytes in
destination interfaces as well as the bridge interface; normally
this is done in if_ethersubr.c but here we talk directly to the
interface, bypassing that layer. Thanks to Andrew Lunn for
noticing that.
2001-10-18 Jonathan Larmour <jlarmour@redhat.com>
* src/sys/netinet/in.c (in_lifaddr_ioctl): Silence warnings about
trigraphs.
2001-10-10 Hugo Tyson <hmt@redhat.com>
* tests/ftp_test.c (net_test): This was lacking #ifdefs for
CYGHWR_NET_DRIVER_ETH0 and CYGHWR_NET_DRIVER_ETH1. Ooops.
2001-10-05 Jonathan Larmour <jlarmour@redhat.com>
* cdl/net.cdl (CYGPKG_NET_CFLAGS_ADD): Define __INSIDE_NET within
this package to allow segregation of definitions only relevant for
internal consumption, and definitions allowable for external
consumption.
* include/lib/libkern/libkern.h: Conditionalize on __INSIDE_NET.
2001-10-04 Jonathan Larmour <jlarmour@redhat.com>
* cdl/net.cdl (CYGHWR_NET_DRIVER_ETH0): Make flavor bool so it isn't
defined when 0.
(CYGHWR_NET_DRIVER_ETH1): Ditto.
2001-10-04 Hugo Tyson <hmt@redhat.com>
* src/lib/dhcp_support.c: Some conditional compilation tags were
wrong vis a vis ETH1 versus ETH0. Thanks to "Simon"
<simoncc@ms46.url.com.tw> for spotting it.
2001-10-04 Jesper Skov <jskov@redhat.com>
* tests/multi_lo_select.c (cyg_user_start): Added CYG_TEST_INIT
call.
* tests/ping_lo_test.c (cyg_start): Same.
* tests/tcp_lo_test.c (cyg_start): Same.
* tests/udp_lo_test.c (cyg_start): Same.
* tests/tcp_lo_select.c (cyg_start): Same.
2001-09-28 Jonathan Larmour <jlarmour@redhat.com>
* cdl/net.cdl: Tell isoinfra we support getproto* and getserv*
NS functionality.
* include/netdb.h: Move to...
* include/net/netdb.h: ...here.
2001-09-25 Jesper Skov <jskov@redhat.com>
* cdl/net.cdl: Don't build tests/nc_test_master as it's a host
side tool.
* src/lib/getserv.c: Added domain service.
* include/netdb.h: Moved getbyhost()/getbyaddr() declarations and
hostent struct definition to the DNS package.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -