OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [net/] [tcpip/] [current/] [ChangeLog] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
2010-09-18  John Dallaway  
2
 
3
        * doc/openbsd.sgml: No longer "recent".
4
 
5
2009-09-10  John Dallaway  
6
 
7
        * src/sys/netinet/tcp_input.c, src/sys/netinet/tcp_timer.c: Remove
8
        lvalue casts.
9
 
10
2005-10-23  Andrew Lunn  
11
 
12
        * src/sys/kern/kern_subr.c (uiomove): Remove lvalue cast to
13
        keep GCC4.x happy.
14
 
15
2003-12-10  Gary Thomas  
16
 
17
        * include/netinet/in.h: Prototype for inet_ntoa_r()
18
 
19
2003-11-25  Manu Sharma 
20
        * src/sys/net/bridgestp.c: Code for Spanning Tree Protocol (STP).
21
 
22
        * cdl/openbsd_net.cdl: Changes make provisions for STP code.
23
        * doc/openbsd.sgml:         Same.
24
        * include/net/if.h:         Same.
25
        * include/net/if_bridge.h:  Same.
26
        * include/net/if_llc.h:     Same.
27
        * include/sys/sockio.h:     Same.
28
        * src/sys/net/if_bridge.c:  Same.
29
 
30
        * doc/openbsd-manpages-stp.sgml: Documentation for OpenBSD specific code
31
        * doc/openbsd-manpages-netintro.sgml: Same.
32
        * doc/openbsd-manpages-bridge.sgml:   Same.
33
 
34
2003-09-22  Reinhard Jessich  
35
 
36
        * include/net/if.h: Define macro IF_IS_EMPTY needed by eth_drv.c
37
 
38
2003-02-24  Jonathan Larmour  
39
 
40
        * cdl/openbsd_net.cdl: Improve doc links.
41
 
42
2003-01-30  Jonathan Larmour  
43
 
44
        * src/sys/net/if_bridge.c (bridge_input): Learn source host addr,
45
        not dest host addr.
46
        Fix pointed to by Daniel Néri.
47
 
48
2002-12-14  Nick Garnett  
49
 
50
        * src/sys/netinet/tcp_usrreq.c (tcp_usrreq): Rearranged ifndef on
51
        PRU_SENSE case to keep the case in the switch and let it return a
52
        sensible result. Otherwise a stat() on a socket causes a panic().
53
 
54
2002-12-03  Gary Thomas  
55
 
56
        * src/ecos/support.c (show_network_tables): New function used
57
        to print network information (interface, routing).
58
 
59
2002-05-21  Jesper Skov  
60
 
61
        * src/lib/recv.c: Fix warning. socket.h declarations are not
62
        available to the kernel code. Added missing argument in the
63
        recvfrom call.
64
 
65
2002-05-14  Jesper Skov  
66
 
67
        * include/netinet6/in6.h: Fixed warnings.
68
 
69
        * src/sys/kern/uipc_socket2.c (sblock): Fixed warning.
70
        * src/sys/netinet/tcp_input.c: Same.
71
        * src/sys/net/if_loop.c (looutput): Same.
72
        * src/sys/kern/sockio.c: Same.
73
 
74
        * include/sys/param.h: Include machine headers after the namespace
75
        changing macros to get the desired declarations, thus fixing
76
        compiler warnings.
77
 
78
2002-04-26  Gary Thomas  
79
 
80
        * src/sys/netinet/ip_input.c: Proper "extern" definition of 'ipstat'.
81
 
82
        * src/sys/netinet/raw_ip.c:
83
        * src/sys/netinet/ip_output.c:
84
        * include/netinet/ip_var.h: Use of ramdom IP packet id is optional.
85
 
86
2002-04-22  Gary Thomas  
87
 
88
        * src/sys/netinet/tcp_usrreq.c:
89
        * src/sys/netinet/tcp_output.c:
90
        * src/sys/netinet/tcp_input.c:
91
        * src/sys/netinet/tcp_debug.c:
92
        * include/netinet/tcp_debug.h: Fully conditionalize on TCPDEBUG.
93
 
94
2002-03-27  Jonathan Larmour  
95
 
96
        * doc/openbsd.sgml: Manpages now live in "common" BSD package.
97
 
98
2002-03-19  Gary Thomas  
99
 
100
        * src/sys/net/route.c (cyg_route_reinit): Renamed from route_reinit.
101
 
102
2002-03-11  Hugo Tyson  
103
 
104
        [Case 107110]
105
 
106
        * src/sys/netinet/in.c (in_control): SIOCSIFADDR switch entry
107
        moved to before the scan for this same address being in the list
108
        already, along with Add and Delete (SIOCAIFADDR,SIOCDIFADDR) arms.
109
        It falls through into the same alloc-if-needed code anyway.
110
        Thus repeatedly setting the same address does not leak store.
111
 
112
        * src/sys/net/route.c (route_reinit): Rewrite to delete all routes
113
        individually rather than en-masse (leaking store).
114
        (rt_reinit_rtdelete): New function; callback for individual
115
        deletion.
116
        (rtioctl): Do not pass in a "route **" to return a pointer to the
117
        route removed or added; this results in an extra reference, by the
118
        returned pointer, and so a storeleak.
119
        (rtrequest): RTM_DELETE arm: do not free a gateway route if the
120
        gateway pointer is the same as the route itself - it gets freed
121
        *again* at the end of the routine if you do.  Just dec the refcnt.
122
 
123
2002-03-07  Gary Thomas  
124
 
125
        * include/sys/param.h: Privatize route_reinit(), arc4random().
126
 
127
2002-02-28  Hugo Tyson  
128
2002-02-28  Martin Buck 
129
 
130
        * src/sys/net/if_ethersubr.c (ether_input): [Bugzilla 60318]
131
        ether_input() schedules processing by calling schednetisr(FOO) and
132
        then queues the frame afterwards.  Where we cannot be preempted
133
        eg. in a DSR or in the original BSD kernel, this is OK.  In eCos
134
        the call to schednetisr(FOO) might cause a context switch *before*
135
        the frame is enqueued.  This "jams" one packet in the queue,
136
        delaying it until the next packet, and so on.
137
 
138
        This change makes ether_input() store up the schednetisr() arg
139
        until the end, and do the call then, much like it does with the
140
        queue to use.  Thanks Martin!
141
 
142
2002-02-22  Hugo Tyson  
143
 
144
        * doc/openbsd.sgml: New file; separated stack-specific docs from
145
        monolithic net doc, and tidied up in various ways.
146
 
147
2002-02-15  Gary Thomas  
148
 
149
        * cdl/openbsd_net.cdl: Slight changes in layout required by split
150
        of network stacks.
151
 
152
2002-02-13  Jonathan Larmour  
153
2002-02-13  Andrew Lunn  
154
 
155
        * include/sys/mbuf.h: Declare variables as extern in header.
156
        * src/sys/kern/uipc_mbuf.c: Define mbtypes[] and init it.
157
 
158
2002-02-05  Hugo Tyson  
159
 
160
        * cdl/openbsd_net.cdl: Place this package below  CYGPKG_NET
161
        ie. the common networking package.  Only affects the view in the
162
        GUI CT, no big deal.
163
 
164
2002-01-28  Gary Thomas  
165
 
166
        * src/sys/netinet/ip_input.c: inet_ntoa() is now common.
167
 
168
        * cdl/openbsd_net.cdl: Renamed from net.cdl.  This package
169
        is now a proper sub-package, implementing a network stack.
170
 
171
2002-01-28  Jonathan Larmour  
172
 
173
        * cdl/net.cdl: Clarify CYGPKG_NET_ROUTING description.
174
 
175
2002-01-08  Jonathan Larmour  
176
 
177
        * tests/server_test.c (server_test): Correct port conversion.
178
 
179
2001-12-14  Hugo Tyson  
180
 
181
        * src/sys/net/if_ethersubr.c (ether_output): Never ever print
182
        anything!  It can recurse unexpectedly if debugging over net.
183
 
184
2001-12-10  Andrew Lunn 
185
 
186
        * cdl/net.cdl: Add configury to eliminate network timing stats.
187
        * src/include/machine/param.h: Timing statistics for things like
188
        memcpy, mbuf_alloc etc now use configury to determine if the
189
        statistics code should be compiled.
190
        * src/ecos/support.c: Ditto.
191
        * tests/nc_test_slave.c: Only print timing stats when they
192
        are enabled.
193
        * tests/tcp_echo.c: Ditto.
194
        * tests/nc_test_master.c: Allow building with SNMP lib which has
195
        its own gettimeofday(). This should be fixed better a different
196
        way but will do for now.
197
 
198
2001-12-06  Hugo Tyson  
199
 
200
        * src/lib/bootp_support.c (init_net): Just re-tabbed and checked
201
        the addition to initialize DNS from DHCP info - it had already
202
        snuck into the file in the previous change from Andrew.  Include
203
        of netdb.h added also, from the patch in Bug 57019.  Also check
204
        CYGINT_ISO_DNS for the setup code instead of CYGPKG_ISO_DNS.
205
 
206
2001-12-04  Jonathan Larmour  
207
 
208
        * src/lib/bootp_support.c: Check CYGINT_ISO_DNS (from
209
        ) instead of CYGPKG_ISO_DNS.
210
 
211
2001-12-03   Andrew Lunn  
212
 
213
        * src/lib/bootp_support.c: get_bootp_option(): Take the
214
        max length of data we want out of the bootp record.
215
        * src/lib/dhcp_prot.c: Pass the length we expect for an option.
216
 
217
2001-08-16  Anssi Pulkkinen 
218
 
219
        * src/lib/dhcp_prot.c: Make sure we use the newly calculated xid.
220
 
221
2001-08-02  Anand Srivastava 
222
 
223
        * src/lib/dhcp_prot.c do_dhcp: ID calculation must be done only
224
        once. moved it out the loop.
225
 
226
2001-11-21  Hugo Tyson  
227
 
228
        * src/lib/dhcp_support.c (dhcp_mgt_entry): If we have an
229
        SNMPAGENT, must recycle it whenever we reinitialize all
230
        interfaces; call SnmpdShutDown() to cause this.
231
        Also re-initialize all loopback interfaces here too.
232
 
233
2001-11-30  Hugo Tyson  
234
 
235
        * src/lib/dhcp_prot.c (set_default_dhcp_tags): New routine to
236
        insert all the extra woffle we need neatly each time, keeping the
237
        state machine's case arms to the real work.  The new thing this
238
        sets is TAG_DHCP_PARM_REQ_LIST, with a list that matches the
239
        default set we get from a LINUX dhcpd.  This is because M$ servers
240
        need explicit requests for eg. TAG_GATEWAY.  Note that I have
241
        included configuration to override the set of tags requested here
242
        in the source, but not yet backed up by CDL - we'll see whether
243
        anyone needs this.
244
        (set_variable_tag): New routine to insert a variable pointed-to
245
        data item rather than an int of 1,2 or 4 bytes.
246
        (do_dhcp): Call set_default_dhcp_tags() every time we send a
247
        packet, rather than ad hoc additions in each state.
248
 
249
2001-11-29  Jonathan Larmour  
250
 
251
        * include/machine/ansi.h: No longer require BSD string function
252
        compatibility macros (in fact they confuse things).
253
 
254
        * cdl/net.cdl: Require BSD compatibility functions from .
255
 
256
2001-11-19  Hugo Tyson  
257
 
258
        * include/bootp.h (BP_STD_TX_MINPKTSZ): New symbol defining the
259
        minimal DHCP packet size which we should send.
260
 
261
        * src/lib/dhcp_prot.c (scan_dhcp_size): New routine to scan up to
262
        the end of the packet, for length determination and padding.
263
        (dhcp_size): Now uses scan_dhcp_size().
264
        (dhcp_size_for_send): New, uses scan_dhcp_size() and pads with
265
        zero up to the min packet size that we should send.
266
        (do_dhcp): In every sendto() call, use dhcp_size_for_send(xmit) in
267
        order to send padded, full size packets as needed.  5 instances.
268
 
269
        Credit to "Anssi Pulkkinen"  for the
270
        original version of this patch.
271
 
272
2001-11-08  Jesper Skov  
273
 
274
        * tests/server_test.c (net_test): Fix compile error.
275
 
276
2001-11-02  Gary Thomas  
277
 
278
        * src/ecos/support.c:
279
        * include/machine/ansi.h: Add C++ support [externC].
280
 
281
2001-11-11  Andrew Lunn 
282
 
283
        *src/lib/recv.c: Implement the recv() call.
284
 
285
2001-10-29  Hugo Tyson  
286
 
287
        * src/sys/net/if_ethersubr.c (ether_output): [CASE 106613] Even if
288
        the queue is full, and we are dropping the packet, try to start
289
        the interface anyway, to give it a chance to empty the queue if
290
        the device has recovered from whatever made the queue fill up in
291
        the first place - being unplugged from the network for example.
292
        This change is belt & braces with a similar policy in the periodic
293
        tickle function in the logical ether driver in io/eth/... ; this
294
        change will recover the situation immediately if the application
295
        continues trying to send despite ENOBUFS.
296
 
297
2001-10-25  Hugo Tyson  
298
 
299
        * src/sys/net/if_bridge.c (bridge_broadcast): Count if_obytes in
300
        destination interfaces as well as the bridge interface; normally
301
        this is done in if_ethersubr.c but here we talk directly to the
302
        interface, bypassing that layer.  Thanks to Andrew Lunn for
303
        noticing that.
304
 
305
2001-10-18  Jonathan Larmour  
306
 
307
        * src/sys/netinet/in.c (in_lifaddr_ioctl): Silence warnings about
308
        trigraphs.
309
 
310
2001-10-10  Hugo Tyson  
311
 
312
        * tests/ftp_test.c (net_test): This was lacking #ifdefs for
313
        CYGHWR_NET_DRIVER_ETH0 and CYGHWR_NET_DRIVER_ETH1.  Ooops.
314
 
315
2001-10-05  Jonathan Larmour  
316
 
317
        * cdl/net.cdl (CYGPKG_NET_CFLAGS_ADD): Define __INSIDE_NET within
318
        this package to allow segregation of definitions only relevant for
319
        internal consumption, and definitions allowable for external
320
        consumption.
321
 
322
        * include/lib/libkern/libkern.h: Conditionalize on __INSIDE_NET.
323
 
324
2001-10-04  Jonathan Larmour  
325
 
326
        * cdl/net.cdl (CYGHWR_NET_DRIVER_ETH0): Make flavor bool so it isn't
327
        defined when 0.
328
        (CYGHWR_NET_DRIVER_ETH1): Ditto.
329
 
330
2001-10-04  Hugo Tyson  
331
 
332
        * src/lib/dhcp_support.c: Some conditional compilation tags were
333
        wrong vis a vis ETH1 versus ETH0.  Thanks to "Simon"
334
         for spotting it.
335
 
336
2001-10-04  Jesper Skov  
337
 
338
        * tests/multi_lo_select.c (cyg_user_start): Added CYG_TEST_INIT
339
        call.
340
        * tests/ping_lo_test.c (cyg_start): Same.
341
        * tests/tcp_lo_test.c (cyg_start): Same.
342
        * tests/udp_lo_test.c (cyg_start): Same.
343
        * tests/tcp_lo_select.c (cyg_start): Same.
344
 
345
2001-09-28  Jonathan Larmour  
346
 
347
        * cdl/net.cdl: Tell isoinfra we support getproto* and getserv*
348
        NS functionality.
349
        * include/netdb.h: Move to...
350
        * include/net/netdb.h: ...here.
351
 
352
2001-09-25  Jesper Skov  
353
 
354
        * cdl/net.cdl: Don't build tests/nc_test_master as it's a host
355
        side tool.
356
 
357
        * src/lib/getserv.c: Added domain service.
358
 
359
        * include/netdb.h: Moved getbyhost()/getbyaddr() declarations and
360
        hostent struct definition to the DNS package.
361
 
362
        * src/lib/gethost.c: Removed.
363
 
364
        * cdl/net.cdl: Removed gethost.c (replaced by proper
365
        implementation in CYGPKG_NS_DNS).
366
 
367
2001-09-17  Hugo Tyson  
368
2001-09-17  Andrew Lunn 
369
 
370
        * src/sys/net/if_bridge.c (bridge_broadcast): Fix a null pointer
371
        deference.  Supporting VLANs, it seems that during the net_init()
372
        function, it sends a packet to the bridge with the source
373
        interface being NULL.  Stats counting assumed otherwise.
374
 
375
2001-09-14  Jonathan Larmour  
376
 
377
        * src/sys/kern/uipc_syscalls.c: Last change to uipc_syscalls.c
378
        wasn't right. The parts that were __ECOS__ should simply have
379
        been completely removed.
380
 
381
2001-09-13  Hugo Tyson  
382
 
383
        * cdl/net.cdl: Add configury to control whether we can tickle the
384
        network devices if there's a lack of network traffic, and to
385
        control the delay time before so doing.
386
 
387
        * src/ecos/timeout.c (alarm_thread): Use a timed wait, if so
388
        configured, for the flag; and if it times out, tickle all the
389
        devices via the common ether driver routine for so doing.
390
 
391
2001-09-12  Jonathan Larmour  
392
 
393
        * include/sys/socketvar.h: Use __ECOS, not __ECOS__.
394
        * src/sys/kern/uipc_syscalls.c: Ditto.
395
        * src/sys/kern/uipc_socket2.c (sblock): Ditto.
396
 
397
2001-08-02  Jonathan Larmour  
398
 
399
        * tests/linux_echo.c (echo_test): Set socket options before bind.
400
        * tests/nc_test_slave.c (do_tcp_test): Ditto.
401
        * tests/server_test.c (server_test): Ditto.
402
        * tests/tcp_echo.c (echo_test): Ditto.
403
        * tests/tcp_lo_test.c (server): Ditto.
404
        * tests/tcp_sink.c (sink_test): Ditto.
405
        * tests/tcp_source.c (source_test): Ditto.
406
 
407
2001-07-27  Jonathan Larmour  
408
 
409
        * include/sys/select.h: Renamed to....
410
        * include/sys/bsdselect.h: New file.
411
        * include/sys/socketvar.h: Include  instead of
412
        
413
        * src/lib/select.c: Include 
414
 
415
2001-07-26  Jonathan Larmour  
416
 
417
        * cdl/net.cdl (CYGPKG_NET_API_LOCAL): Implements select()
418
        * include/sys/bsdtypes.h: No need for these select definitions.
419
 
420
2001-06-20  Grant Edwards 
421
2001-06-20  Hugo Tyson  
422
 
423
        * src/lib/dhcp_prot.c (alarm_function): Change the lease state
424
        before re-enabling the alarm so that if it somehow gets times of
425
        zero (ie. right now) it quickly completes the state machine rather
426
        than recursing to its doom.
427
        (new_lease): Test the retcode of get_bootp_option() and use
428
        obvious defaults if the T1 and T2 times are not provided - this is
429
        RFC compliant! - and use "infinite lease" if the lease time is not
430
        provided at all.
431
 
432
2001-06-19  Trenton D. Adams  
433
 
434
        * tests/server_test.c (server_test): Null terminate read string
435
        at right place.
436
 
437
2001-06-13  Jonathan Larmour  
438
 
439
        * cdl/net.cdl: Make debug output an option. Include DHCP.
440
 
441
        * src/lib/dhcp_prot.c: DHCP_CHATTER -> CYGDBG_NET_DHCP_CHATTER
442
 
443
        * src/ecos/support.c (cyg_kmem_init): Only print debug output if
444
        requested.
445
 
446
        * cdl/net.cdl: Make requirements on other eCos features more
447
        abstract.
448
 
449
2001-05-09  Robin Farine 
450
2001-05-09  Hugo Tyson  
451
 
452
        * src/lib/dhcp_prot.c (do_dhcp): In DHCPSTATE_INIT case, create a
453
        new xid.  Servers apparantly can use *only* this to distinguish
454
        machines, even with different MAC addresses!  Therefore we use
455
        both the most sensitive randomizer available (arc4random()) which
456
        in reality uses a finegrain clock, and salt the value further with
457
        the MAC address itself.  Thanks again Robin.
458
 
459
        * src/ecos/support.c (arc4random): Make arc4random not always be a
460
        multiple of 256; stir the clock into the low bits also.
461
 
462
2001-05-09  Robin Farine 
463
2001-05-09  Hugo Tyson  
464
 
465
        * src/sys/net/if_bridge.c: Patch from Robin; the route aging
466
        process took twice as long to timeout because an entry requires
467
        *two* executions of bridge_rtage() to actually get removed.
468
        Record the timeout over 2 to fix that and also define
469
        BRIDGE_RTABLE_TIMEOUT as 300s that the standard specifies as
470
        default aging time.
471
 
472
2001-05-09  Hugo Tyson  
473
 
474
        * src/lib/getserv.c (setreturned): New routine to set up a copy of
475
        the service data with the port converted to network order like the
476
        API demands.  It's this way to make the initialization of the
477
        table most readable.
478
        (services[]): Added an entry for snmp.
479
        (getservbyname): Use setreturned() to return adjusted info.
480
        (getservbyport): Use setreturned() to return adjusted info and
481
        compare with host-ordered version of the port.
482
 
483
        * src/lib/tftp_client.c (tftp_get):
484
        (tftp_put): Do not convert to net order from
485
        the getserv structure; it's already net order.
486
 
487
        * src/lib/tftp_server.c (tftpd_server): Convert the socket into
488
        host order; it's network order in the getserv API.
489
 
490
        * tests/ftp_test.c (ftp_test): Do not convert to net order from
491
        the getserv structure; it's already net order.
492
 
493
        * tests/tftp_client_test.c (PUTFILE): Changed the names of the
494
        test files to be fully qualified, this makes the test work with
495
        more server machines.  /tftpboot/tftp_get and /tftpboot/tftp_put.
496
 
497
2001-04-24  Bart Veer  
498
 
499
        * cdl/net.cdl:
500
        Prevent multiple device drivers from implementing the
501
        same eth0/eth1 device.
502
 
503
2001-03-30  Jonathan Larmour  
504
 
505
        * cdl/net.cdl (CYGPKG_NET_SYSCTL): Comment out - currently unsupported.
506
 
507
2001-03-28  Richard Panton  
508
 
509
        * include/bootp.h: Define func protos with C linkage
510
        * include/netdb.h: Ditto
511
        * include/network.h: Ditto
512
        * include/tftp_support.h: Ditto
513
 
514
        * src/lib/getserv.c: getservbynumber() -> getservbyport()
515
 
516
2001-03-12  Gary Thomas  
517
 
518
        * src/lib/network_support.c (init_all_network_interfaces):
519
        FIx slightly broken previous attempt in abort code.
520
 
521
2001-03-11  Gary Thomas  
522
 
523
        * src/lib/network_support.c (init_all_network_interfaces):
524
        Let initialization of PCMCIA devices abort after ~5 seconds.
525
 
526
2001-02-23  Jonathan Larmour  
527
 
528
        * src/lib/tftp_server.c (STACK_SIZE): Align
529
 
530
2001-02-20  Jonathan Larmour  
531
 
532
        * cdl/net.cdl: Avoid puts to the CDL header when a CDL
533
        define will do.
534
        Rename CYGPKG_NET_BRIDGE_CODE -> CYGPKG_NET_BRIDGE
535
        Rename CYGPKG_NET_NBRIDGE -> CYGNUM_NET_BRIDGES
536
        Rename CYGPKG_NET_BRIDGE_HANDLER -> CYGINT_NET_BRIDGE_HANDLER
537
        Make if_bridge.c compilation conditional on CYGPKG_NET_BRIDGE
538
 
539
        * src/sys/net/if_bridge.c: Reflect above renames.
540
 
541
2001-02-20  Hugo Tyson  
542
2001-02-15  Martin Buck  
543
 
544
        * cdl/net.cdl: Split up CYGPKG_NET_NBRIDGE into 2 parts:
545
        CYGPKG_NET_NBRIDGE and CYGPKG_NET_BRIDGE_HANDLER. If
546
        CYGPKG_NET_BRIDGE_HANDLER is nonzero, calls to an Ethernet
547
        bridge are inserted into the stack's data path. If
548
        CYGPKG_NET_NBRIDGE is nonzero, the standard OpenBSD bridge
549
        code is added. This setup allows you to implement your own
550
        bridge as a separate package which then implements
551
        CYGPKG_NET_BRIDGE_HANDLER so it gets called by the stack.
552
        NBRIDGE now is the same as CYGPKG_NET_BRIDGE_HANDLER instead
553
        of CYGPKG_NET_NBRIDGE. This means it's nonzero if the bridge
554
        is wanted, but it no longer contains the number of bridge
555
        buffers requested. This shouldn't be a problem, because the
556
        only place where the actual number of buffers is required is
557
        in if_bridge.c, which now uses CYGPKG_NET_NBRIDGE instead
558
        of NBRIDGE.
559
 
560
        * src/sys/net/if_bridge.c: Use CYGPKG_NET_NBRIDGE instead of
561
        NBRIDGE, because the latter one now only means that there is
562
        a bridge, not that we should implement it.
563
 
564
2001-01-07  Gary Thomas  
565
 
566
        * src/ecos/support.c:
567
        * cdl/net.cdl:  Add interface 'CYGPKG_NET_DRIVER_FRAMEWORK'
568
        to describe interdependencies between network stack and driver
569
        framework packages.
570
 
571
 
572
2001-01-03  Hugo Tyson  
573
 
574
        * tests/linux_echo.c: New file to test for network bandwidth
575
        limitations in host side.  Builds to a linux version of the
576
        tcp_echo middleman.
577
 
578
        * tests/make.linux (all): Build linux_echo.
579
 
580
2001-01-03  Hugo Tyson  
581
 
582
        * include/dhcp.h (struct dhcp_lease): Define the semaphore pointer
583
        field in each lease structure.
584
 
585
        * src/lib/dhcp_support.c: Initialize the dhcp_lease structs to
586
        point to the semaphore "dhcp_needs_attention".
587
 
588
        * src/lib/dhcp_prot.c (alarm_function): Post to the semaphore
589
        pointed to in the lease structure, rather than one hard-coded.
590
        This is much cleaner, in that dhcp_prot.c now uses no external
591
        variables, all state goes through the API.
592
 
593
2000-11-15  Hugo Tyson  
594
 
595
        * src/lib/bootp_support.c (init_net): Do a SIOCSIFADDR a 2nd time
596
        after setting the netmask (SIOCSIFNETMASK) in order for the newly
597
        set netmask to "take" - otherwise a bogus route based on the
598
        default netmask lurks within the system.
599
 
600
2000-11-10  Hugo Tyson  
601
 
602
        * src/ecos/support.c (cyg_net_get_mem_stats): New API for getting
603
        info on the various mem pools the stack uses to enable tests to
604
        spot store leaks.
605
 
606
        * include/network.h (cyg_net_get_mem_stats): Export this API for
607
        automated network testing.
608
 
609
2000-10-24  Hugo Tyson  
610
 
611
        * src/lib/tftp_server.c (tftpd_server): Cut down the chatter to
612
        nothing (unless there's an error) if running automated testing.
613
 
614
2000-10-17  Hugo Tyson  
615
2000-10-10  Andrew Lunn 
616
 
617
        * src/ecos/support.c (setsoftnet,cyg_panic): Less chatter,
618
        particularly not when we're out of MBUFs.
619
 
620
2000-10-17  Hugo Tyson  
621
2000-10-10  Andrew Lunn 
622
 
623
        * src/sys/net/if_bridge.c: Intergrated a more up to date version
624
        from the OpenBSD sources. This fixes a few bugs.
625
 
626
2000-10-17  Hugo Tyson  
627
 
628
        * src/ecos/support.c (cyg_ktime_init): Start time at 1 Second so
629
        that all visible time values are valid; offset time by 1 Second
630
        subsequently, for ever.
631
 
632
        * src/sys/netinet/if_ether.c (arpresolve): Undo the change below;
633
        instead make "kernel time" be valid ie. more than 1 second into
634
        its life.  Dumb stack assumes it takes UNIX-like time to start.
635
 
636
2000-10-16  Hugo Tyson  
637
 
638
        * src/sys/netinet/if_ether.c (arpresolve): Deal with the initial
639
        case when the route timeout is zero (as initialized).  Otherwise
640
        it never actually sent out the initial ARP request packet.  This
641
        caused connect() not to work, and thus ftp_test, for example.
642
 
643
        * src/lib/dhcp_support.c (dhcp_start_dhcp_mgt_thread): Also
644
        initialize the dhcp semaphore here.  The other place it is init'd
645
        [correctly] didn't fire if we use the standard support.  Fixed
646
        some absent return value warnings.
647
 
648
2000-10-10  Hugo Tyson  
649
 
650
        * src/lib/tftp_server.c (tftpd_server): Modify the server to
651
        support multiple sessions - ie. starting N servers at once.
652
        Mainly this means closing the initial socket whilst servicing a
653
        request, so that another server can then bind to it; tell another
654
        server to retry that bind via a semaphore, that it waited on when
655
        the bind failed initially, rather than just returning.
656
 
657
        * src/lib/tftp_dummy_file.c (dummy_open): Trivial bugfix: scan the
658
        list of files as well as incrementing the counter.
659
 
660
2000-10-05  Andrew Lunn 
661
 
662
        * src/ecos/support.c (cyg_ktime_func,cyg_ktime_init,cyg_net_init):
663
        Make 'ktime' value valid.
664
 
665
2000-10-05  Hugo Tyson  
666
 
667
        * src/lib/tftp_server.c (tftpd_write_file): Restructure this
668
        function to match the loop layout of the tftpd_read_file; so that
669
        it retries sensibly, and so that a delayed/duplicated packet does
670
        not cause a doubling of all traffic with a less smart host.
671
 
672
2000-10-05  Hugo Tyson  
673
 
674
        * include/tftp_support.h (TFTP_TIMEOUT_MAX): Change this to 50; it
675
        refers to total timeouts for a whole session, so it should be
676
        greater than the retry count for each packet.
677
 
678
2000-10-05  Hugo Tyson  
679
 
680
        * src/lib/tftp_dummy_file.c: Make the fake file slots be a Mb
681
        instead of 10k so that you can do meaningful timing tests with it.
682
        (dummy_open): Allow re-write of an existing file so that you can
683
        do repeated put tests without running out of slots.
684
 
685
2000-10-05  Hugo Tyson  
686
 
687
        * src/lib/select.c (_cyg_select): Unlock the scheduler in a couple
688
        of other places I missed.  Doh.
689
 
690
2000-09-28  Hugo Tyson  
691
 
692
        * src/lib/select.c (_cyg_select): Elect to wait for the flags
693
        atomically wrt sockets possibly becoming ready - this was a race
694
        condition that would apparently delay a packet until another
695
        arrived, eg. a tftp retry.  Then two came along all at once.
696
 
697
2000-09-28  Hugo Tyson  
698
 
699
        * src/lib/tftp_server.c: Add lots of instrumentation for
700
        debugging.  It's switched off, and doesn't have a real config opt,
701
        though it easily could have.
702
 
703
2000-09-26  Hugo Tyson  
704
 
705
        * src/lib/tftp_server.c (tftpd_read_file): Doh! TFTP_TIMEOUT is an
706
        internal API thing, not an error we can send in an ERROR packet.
707
 
708
        * include/tftp_support.h: Comment to this effect.
709
 
710
2000-09-26  Hugo Tyson  
711
2000-09-25  Andrew Lunn 
712
 
713
        * src/lib/tftp_server.c: Send an ERROR packet when giving up after
714
        too many timeouts.  This should cause the client to give up as
715
        well.  Also moved all the replicated code to send an ERROR packet
716
        into one function.
717
 
718
        [Huge] I collected another point where we can use the common
719
        function also, and used ETIMEOUT instead of EBADOP for the new
720
        error packet returns. Thanks Andrew!
721
 
722
2000-09-14  Hugo Tyson  
723
 
724
        * cdl/net.cdl (CYGOPT_NET_DHCP_DHCP_THREAD_PARAM): Set default to
725
        1 so that the DHCP management thread loops forever.  This allows
726
        it to recover from a DHCP renewal failure.
727
 
728
        * src/lib/dhcp_prot.c (next_timeout): Harden the DHCP protocol
729
        machine against [simulated] failures - otherwise the tests with
730
        simulated failures tend just to close down all the interfaces when
731
        DHCP packets are lost.
732
 
733
2000-09-11  Gary Thomas  
734
 
735
        * src/lib/bootp_support.c (init_net): Set default route correctly.
736
 
737
2000-09-01  Hugo Tyson  
738
 
739
        * src/ecos/support.c (cyg_net_init): You can't print things while
740
        initializing the network!  Well, not if connected to GDB over the
741
        network anyway.  The printf("Init device '%s'...); removed.
742
 
743
2000-09-01  Hugo Tyson  
744
 
745
        * OVERVIEW: This is part of the change to the network stack to
746
        greatly reduce latencies both of (other) DSRs and of thread
747
        scheduling.  All the work that the network stack *and* individual
748
        ether drivers used to do in DSRs (including alarm callbacks and
749
        data copies to/from the device memory) is moved into a "fast
750
        network thread" instead.  It calls a device's "deliver" function
751
        to do the work that was previously in the DSR.  This is a separate
752
        thread so that it can be set higher priority than application
753
        threads in order to minimize packet loss (depending on the
754
        driver), if required (the application threads presumed to be
755
        higher priority in turn than the network thread).  A crucial
756
        consequence of this is that we are no longer locking against DSRs,
757
        so a plain mutex can be used rather than the global scheduler
758
        lock, thus simplifying all the splfoo/splx() style functions.
759
 
760
        * src/ecos/timeout.c (alarm_thread): Addition of the "fast network
761
        thread" which runs DSR-like activities.
762
        (do_timeout): Timeout function morphed for calling from that.
763
        (do_alarm, ecos_synch_eth_drv_dsr): new DSR functions to signal to
764
        the thread.
765
        (timeout): Race condition fixed.  splinternal() used for locking
766
        instead of scheduler.
767
 
768
        * src/ecos/support.c (cyg_net_init): Splfoo/splx() functions,
769
        together with tsleep/wakeup functions, all removed to separate
770
        them from the mixed bag of utilities in this file.  What remains
771
        is mbuf wrapper routines and the like, plus the network "netisr"
772
        thread itself, the caller into the stack that does the slower
773
        priority work.
774
 
775
        * src/ecos/synch.c: New file; implemtation of new splfoo/splx()
776
        functions, together with tsleep/wakeup functions, since they are
777
        related now.
778
 
779
        * cdl/net.cdl: Compile new file synch.c; two new options, one for
780
        "fast thread" priority, and one for DHCP manager thread priority,
781
        as I was adding prio configury.  CYGPKG_NET_FAST_THREAD_PRIORITY
782
        and CYGPKG_NET_DHCP_THREAD_PRIORITY resp, with suitable default
783
        values relative to the CYGPKG_NET_THREAD_PRIORITY.
784
 
785
        * src/lib/dhcp_support.c (dhcp_start_dhcp_mgt_thread): Use the
786
        configured priority rather than just "net thread - 1"
787
 
788
2000-08-31  Hugo Tyson  
789
 
790
        * tests/tcp_echo.c: Change the priorities of the main and loading
791
        threads to accommodate the network having helper threads around at
792
        adjacent priorities to its main thread prio.
793
 
794
2000-08-24  Hugo Tyson  
795
 
796
        * src/sys/net/if.c (ifioctl): Support the two new ioctl() keys; at
797
        this level, the struct ifreq at the head of the data area must be
798
        filled to select an interface.
799
 
800
        * include/sys/sockio.h (SIOCGIFSTATSUD): Add two new eCos-only
801
        ioctl() keys, SIOCGIFSTATSUD and SIOCGIFSTATS, for reading
802
        statistical information out of ethernet devices, for SNMP. This
803
        should allow SNMP (a) to not explode, (b) to get useful info out
804
        of other device implementations than this one.
805
 
806
2000-08-17  Hugo Tyson  
807
 
808
        * src/ecos/timeout.c (timeout): Rework the timeout system to
809
        record last-time-we-set-the-alarm and whence values, so that new
810
        timeouts being added can be set up relative to the correct
811
        absolute time.  Otherwise adding a new timeout sets them *all*
812
        into the future by the expired portion of the previous minimum
813
        pending timeout.  Also deal better with recursion ie. timeout
814
        handlers themselves setting new timeouts as is only natural.
815
        Lots of asserts too.
816
 
817
        * src/ecos/support.c (cyg_splsoftnet): Use the new kernel facility
818
        to lock mutex &c atomically, with the scheduler locked already.
819
        (cyg_tsleep): Similarly, and reclaim the mutex likewise.
820
        Also added lots of asserts to both calls the better to document
821
        what's going on.
822
 
823
2000-08-17  Hugo Tyson  
824
 
825
        * src/lib/tftp_server.c: Fix contributors field.
826
 
827
2000-08-16  Hugo Tyson  
828
 
829
        * src/lib/tftp_server.c: Improvements to server wrt better error
830
        messages and detection of filesystem errors eg. on close-file.
831
        Contrib from ASCOM.  I tidied up some comments and indent to
832
        minimize the diff.  [CASE 104354]
833
 
834
2000-08-15  Hugo Tyson  
835
 
836
        * doc/bridge.html: New file...
837
        * doc/bridge.doc: New file...
838
        provided by ASCOM from the OpenBSD version.
839
 
840
2000-08-15  Hugo Tyson  
841
 
842
        * src/sys/net/if_bridge.c (bridge_ioctl): SIOCBRDGSTO takes
843
        argument in seconds not in ticks.  So move around some mul/div by
844
        hz ops to get this right.
845
 
846
2000-08-14  Gary Thomas  
847
 
848
        * src/ecos/support.c: Use new table definition mechanism.
849
 
850
2000-07-27  Hugo Tyson  
851
 
852
        * src/lib/dhcp_prot.c (do_dhcp): Use xmit->bp_htype =
853
        HTYPE_ETHERNET rather than ifr.ifr_hwaddr.sa_family; sa_family is
854
        in a different namespace, despite appearances.
855
 
856
        * src/lib/bootp_support.c (do_bootp): Use bp_htype =
857
        HTYPE_ETHERNET rather than ifr.ifr_hwaddr.sa_family; sa_family is
858
        in a different namespace, despite appearances.
859
 
860
2000-07-27  Nick Garnett  
861
 
862
        * cdl/net.cdl: Require the C library STDIO package to be present
863
        if there is more than one loopback interface. This is because it
864
        needs sprintf() to form the interface names.
865
 
866
        * src/sys/net/if_loop.c (loopattach):
867
        Only use sprintf() to form the loopback interface names when there
868
        is more than one. The CDL ensures that this will work.
869
 
870
        * src/lib/network_support.c:
871
        Added diag_printf() version of perror() for when STDIO package is
872
        absent.
873
        Only use sprintf() to form the loopback interface names when there
874
        is more than one. The CDL ensures that this will work.
875
 
876
        * tests/multi_lo_select.c:
877
        * tests/ping_lo_test.c:
878
        * tests/tcp_lo_test.c:
879
        Removed dependence on C library by adding a substitute perror()
880
        based on diag_printf() that is enabled when the STDIO package is
881
        absent.
882
 
883
2000-07-26  Hugo Tyson  
884
 
885
        * src/lib/dhcp_prot.c (do_dhcp): Set the broadcast flag where
886
        necessary, and the client address too.  This makes it talk to a
887
        greater range of servers OK.
888
 
889
2000-07-25  Nick Garnett  
890
 
891
        * tests/multi_lo_select.c: Changed definition of NLISTENERS to
892
        work correctly with FILEIO package.
893
 
894
        * src/sys/net/if_loop.c (loopattach): Changed initialization of
895
        if_xname to "lo0".
896
 
897
        * src/ecos/support.c (cyg_net_init): Removed redundant code to
898
        initialize loop-back interface.
899
 
900
2000-07-25  Hugo Tyson  
901
 
902
        * src/lib/getserv.c: Add a list terminator record with NULLs in it
903
        so that the search finishes (without throwing asserts about bad
904
        strings).
905
 
906
2000-07-21  Hugo Tyson  
907
 
908
        * src/sys/net/if_bridge.c: Move the include of stdio.h lower,
909
        apparently it confuses local x86 compilers if their host tree is
910
        malformed.  Or something.
911
 
912
2000-07-21  Hugo Tyson  
913
 
914
        * cdl/net.cdl: Add a lot of description about the way the various
915
        fields are used in interface initialization: specifically that
916
        "server" so-called is just "someone to talk to" in the absence of
917
        bootp - and our tests depend on it!
918
 
919
        * src/lib/bootp_support.c (init_net): Only set up a route if the
920
        route address is nonzero - or all manner of confusion occurs with
921
        multiple interfaces and route that sends to 0.0.0.0...
922
        For setting up the default route, use
923
              (SIOCADDRT, 0, 0, TAG_GATEWAY)
924
        rather than the bogus
925
              (SIOCADDRT, yiaddr & netmask, netmask, TAG_GATEWAY)
926
        that we did before.
927
 
928
        * tests/ftp_test.c (ftp_test): Try it with eth1 if available also.
929
 
930
        * tests/ping_test.c (ping_host): If a ping fails, reset the packet
931
        size to small just in case the huge packet size is what's causing
932
        confusion - helps it as a debug tool.
933
 
934
        * tests/dhcp_test.c (net_test): It didn't compile if DHCP is
935
        disabled!  Doh.  Same change as ping_test also.
936
 
937
2000-07-19  Hugo Tyson  
938
 
939
        * src/lib/tftp_server.c (tftpd_read_file): Deal with a) [assumed]
940
        timeouts on the select, and b) ACKs for old packets.
941
        [CASE 104052 and CASE 104055]
942
 
943
2000-07-19  Hugo Tyson  
944
 
945
        * src/lib/select.c (_cyg_select): Return 0 and do not perturb
946
        errno when the timeout occurs.  That matches the man page!
947
        [CASE 104054]
948
 
949
2000-07-19  Hugo Tyson  
950
 
951
        * include/machine/param.h: Be more defensive against warnings from
952
        external defines such as __linux__/__bsdi__/__FreeBSD__/...
953
        [CASE 104090]
954
 
955
2000-07-19  Hugo Tyson  
956
 
957
        * tests/multi_lo_select.c: New test program to test for proper
958
        broadcast behaviour of select() implementation.  Took some
959
        fiddling to get it to work, but it really did fail before the
960
        select change below.
961
 
962
        * cdl/net.cdl: Build the new test.
963
 
964
        * src/lib/select.c (_cyg_select): Don't use the CLR flag in the
965
        flag wait because that gives unicast semantics.  Flags have
966
        producer-does-all-the-work behaviour, so setting a value then
967
        clearing it right afterwards does the right thing, with broadcast
968
        semantics so long as no waiter has set the CLR part.
969
        [CASE 104058]
970
 
971
2000-07-18  Hugo Tyson  
972
 
973
        All part of the bridge contribution from Andrew Lunn/ASCOM
974
        (andrew.lunn@ascom.ch).  Bridginess is controlled by NBRIDGE which
975
        is itself controlled by CDL option CYGPKG_NET_NBRIDGE aka "Number
976
        of bridge buffers?"
977
 
978
        * include/machine/param.h: Add proper definition of untimeout().
979
 
980
        * include/sys/sockio.h (SIOCBRDGFRL): Add this and the other 2
981
        bridge ioctl() call definitions.
982
 
983
        * include/sys/param.h (splhigh): Added.
984
 
985
        * src/ecos/timeout.c (untimeout): Implement this properly, it was
986
        never used before.
987
 
988
        * src/ecos/support.c: implement cyg_splhigh(), call bridgeintr()
989
        when it is scheduled and bridgeattach() if configured.
990
 
991
        * tests/bridge.c: New "test" file - implements an ethernet bridge.
992
        Contributed by Andrew Lunn/ASCOM, from the usual OpenBSD external
993
        source original.
994
 
995
        * include/net/if_bridge.h: New file, contributed by Andrew Lunn/
996
        ASCOM, from OpenBSD original.  (Actually did exist in eCos source
997
        tree but was not released)
998
 
999
        * src/sys/net/if_bridge.c: New file, contributed by Andrew Lunn/
1000
        ASCOM, from OpenBSD original.
1001
 
1002
        * cdl/net.cdl: Build the new files.
1003
 
1004
2000-07-18  Gary Thomas  
1005
 
1006
        * src/lib/tftp_client.c (tftp_get): Fix edge condition when
1007
        penultimate block is full and end of file which implies that
1008
        the last block has zero data bytes.
1009
 
1010
2000-07-18  Hugo Tyson  
1011
 
1012
        * src/lib/dhcp_prot.c: Ignore NAK messages from the wrong server -
1013
        we get these because the REQUEST for our chosen IP is broadcast,
1014
        so other servers think we've asked to use the wrong IP.
1015
 
1016
2000-07-14  Hugo Tyson  
1017
 
1018
        * include/bootp.h: export init_loopback_interface();
1019
 
1020
2000-07-14  Hugo Tyson  
1021
 
1022
        * cdl/net.cdl: Add option controlling whether to have a separate
1023
        DHCP lease management thread, and what its parameter is to be -
1024
        which controls whether it loops or quits if a lease fails.
1025
 
1026
        * src/lib/dhcp_support.c (dhcp_start_dhcp_mgt_thread): Provide the
1027
        DHCP management thread function and code to instantiate and start
1028
        the thread if so configured.
1029
 
1030
        * src/lib/network_support.c (init_all_network_interfaces): Call
1031
        the function that starts the DHCP management thread function.
1032
 
1033
        * include/dhcp.h: Declare the DHCP management thread function &c
1034
        if so configured.
1035
 
1036
        * tests/dhcp_test.c (net_test): Only poll for need to rebind DHCP
1037
        leases if there is no service thread to do the same.
1038
 
1039
2000-07-14  Hugo Tyson  
1040
 
1041
        * include/bootp.h (build_bootp_record): Export this, no harm in
1042
        it, and some folk want to use this rather than configured
1043
        initialization or bootp/dhcp.
1044
        Also commented the other APIs somewhat better.
1045
 
1046
        * src/lib/network_support.c (build_bootp_record): Unconditionally
1047
        provide this; selective linking will look after it if unused.
1048
 
1049
2000-07-14  Hugo Tyson  
1050
 
1051
        * src/lib/network_support.c (build_bootp_record): [Static
1052
        configuration of interface parameters] Add the gateway into the
1053
        options section with TAG_GATEWAY so that init_net() will pick it
1054
        up and set up a route accordingly.
1055
 
1056
2000-07-13  Hugo Tyson  
1057
 
1058
        * tests/dhcp_test.c:
1059
        * tests/flood.c:
1060
        * tests/ftp_test.c:
1061
        * tests/nc_test_master.c:
1062
        * tests/nc_test_slave.c:
1063
        * tests/ping_lo_test.c:
1064
        * tests/ping_test.c:
1065
        * tests/server_test.c:
1066
        * tests/set_mac_address.c:
1067
        * tests/tcp_echo.c:
1068
        * tests/tftp_client_test.c:
1069
        * tests/tftp_server_test.c:
1070
        Up the stack size to cope with full DHCP initialization in
1071
        init_all_network_interfaces().
1072
 
1073
2000-07-13  Hugo Tyson  
1074
 
1075
        * cdl/net.cdl: Add DHCP enable and interface-specific controls.
1076
 
1077
        * include/dhcp.h: New file: describe the DHCP APIs and behaviour,
1078
        as well as some internal APIs that are also available.
1079
 
1080
        * src/lib/dhcp_support.c: New file: the surrounding management
1081
        routines, a bit like network_support.c, which know about multiple
1082
        interfaces and so on.
1083
 
1084
        * src/lib/dhcp_prot.c: New file: the interface-independent DHCP
1085
        protocol machine, which is called from dhcp_support.c routines and
1086
        init_all_network_interfaces() in network_support.c
1087
 
1088
        * include/bootp.h (struct bootp): Make the packet bigger if DHCP
1089
        so that a mininal DHCP packet will fit.
1090
 
1091
        * src/lib/bootp_support.c (do_bootp): If no reply, fail gracefully
1092
        and tidy up so that other interfaces can be upbrung.
1093
        (show_bootp): Tell us a lot more about DHCP-specific info in the
1094
        packet structure.
1095
        (get_bootp_option): be aware of DHCP extensions to re-use file and
1096
        sname fields for options.
1097
 
1098
        * src/lib/network_support.c (init_all_network_interfaces): Call
1099
        do_dhcp() rather than do_bootp() if so configured, and initialize
1100
        the per-interface DHCP state variables accordingly.
1101
 
1102
        * tests/dhcp_test.c (net_test): New test file that diddles the
1103
        DHCP machine while doing a ping test.
1104
 
1105
2000-07-11  Gary Thomas  
1106
 
1107
        * include/netdev.h: Add single-inclusion fences.
1108
 
1109
        * include/sys/param.h: Add traced versions of splx() routines,
1110
        selectable by a configuration option.
1111
 
1112
        * src/ecos/support.c: Rework splx() emulation routines to
1113
        be more robust and realtime friendly.
1114
 
1115
        * src/lib/network_support.c (init_all_network_interfaces):
1116
        Add minimal support for PCMCIA based devices.
1117
 
1118
2000-07-04  Hugo Tyson  
1119
 
1120
        * include/bootp.h: Fix namespace pollution from "#define int32
1121
        int" - it fights against application code too much.
1122
 
1123
2000-07-04  Jonathan Larmour  
1124
 
1125
        * cdl/net.cdl: Package requires CYGPKG_MEMALLOC
1126
 
1127
2000-06-26  Hugo Tyson  
1128
 
1129
        * tests/ping_test.c (net_test): Added use of the
1130
        CYGPKG_NET_TESTS_USE_RT_TEST_HARNESS stuff now that the test
1131
        passes (consequent on the change below); also use larger ping
1132
        packets now that that is working also.
1133
 
1134
        * tests/tcp_echo.c (echo_test): Added use of the
1135
        CYGPKG_NET_TESTS_USE_RT_TEST_HARNESS stuff now that the test
1136
        passes (consequent on the change below).
1137
 
1138
2000-06-26  Hugo Tyson  
1139
 
1140
        * src/ecos/support.c (cyg_splnet): Use the scheduler lock and a
1141
        mutex instead of disable-interrupts for SPLX type processing.  A
1142
        mutex is used at splsoftnet because that is client threads - we do
1143
        not want them to pre-empt the rest of the app.  This enables the
1144
        real-time response testing for the EBSA285 to succeed (interrupts
1145
        every 1mS, DSRs delayed by at most 2mS).
1146
 
1147
2000-06-23  Hugo Tyson  
1148
 
1149
        * src/ecos/support.c (cyg_net_mbuf_alloc, cyg_kmem_init): Align
1150
        the mbuf pool to MSIZE [128] bytes.  That way dtom() works, nasty
1151
        though it is.  That's needed for ip reassembly in ip_input.c, when
1152
        dealing with large icmp-layer packets eg. ping -s 2000 ...
1153
 
1154
2000-06-21  Hugo Tyson  
1155
 
1156
        * include/lib/libkern/libkern.h: Do not define assert multiple
1157
        times; guarded by __ECOS.
1158
 
1159
        * include/sys/param.h (MAX,MIN): Only define if undef.
1160
 
1161
2000-06-21  Hugo Tyson  
1162
 
1163
        * cdl/net.cdl: Build the new tests; in fact build them
1164
        unconditionally.
1165
 
1166
        * src/lib/network_support.c (init_all_network_interfaces):
1167
        Initialize loopback device[s] using init_loopback_interface(),
1168
        providing a sensible default route et al.  Multiple devs: lo1 will
1169
        be 127.0.*1*.1, and so on; class C netmasks will be used.
1170
 
1171
        init_all_network_interfaces() is also made thread-safe as well as
1172
        idempotent, so other threads (or daemons) can call it to make sure
1173
        the net is up.
1174
 
1175
        * src/ecos/support.c (cyg_net_init): Add a call to loopattach() if
1176
        there are indeed loopback dev(s) configured.  This does the
1177
        equivalent of the init of a device from the table, but simpler.
1178
 
1179
        * tests/udp_lo_test.c (udp_server): New testcase...
1180
        * tests/tcp_lo_select.c (tcp_server): New testcase...
1181
        * tests/tcp_lo_test.c (tcp_client): New testcase...
1182
        * tests/ping_lo_test.c (net_test): New testcase, unconditionally
1183
        built loopback device test.  Will run on platforms with no network
1184
        interfaces.
1185
 
1186
2000-06-19  Nick Garnett  
1187
 
1188
        * src/ecos/support.c:
1189
        * include/netdev.h:
1190
        Converted to use of new table construction mechanism.
1191
 
1192
2000-06-16  Jonathan Larmour  
1193
 
1194
        * include/bootp.h: Remove RCS id tag
1195
        * include/netinet/ip_auth.h: Ditto
1196
        * include/netinet/ip_fil.h: Ditto
1197
        * include/netinet/ip_fil_compat.h: Ditto
1198
        * include/netinet/ip_frag.h: Ditto
1199
        * include/netinet/ip_nat.h: Ditto
1200
        * include/netinet/ip_proxy.h: Ditto
1201
        * include/netinet/ip_state.h: Ditto
1202
 
1203
2000-06-15  Nick Garnett  
1204
 
1205
        * src/sys/kern/sockio.c: Added cyg_selinit() calls to bad_socket()
1206
        and bsd_accept() functions.
1207
 
1208
        * src/ecos/support.c (cyg_tsleep): Changed tests on wakeup from
1209
        semaphore waits to enable return of EINTR results.
1210
 
1211
2000-06-09  Nick Garnett  
1212
 
1213
        * src/sys/net/if_loop.c: Substituted sprintf() for a straight
1214
        strcpy() when initalizing if name. This currently only works for
1215
        one loopback interface. However, there seems little need to have
1216
        more than one.
1217
 
1218
        * src/sys/kern/sockio.c (bsd_select): Added select support.
1219
 
1220
        * include/sys/time.h: Moved timeval structure definition to
1221
        isoinfra time.h header since it is needed by the select() API.
1222
 
1223
        * include/sys/select.h: Added option to use fileio select
1224
        mechanism if it is present.
1225
 
1226
        * src/ecos/support.c (cyg_net_init):
1227
        Added code to bring up the loopback interface. This is to help
1228
        with testing on platforms without network hardware.
1229
 
1230
2000-06-08  Hugo Tyson  
1231
 
1232
        * include/netinet/ip_var.h: Export ipforwarding as well as
1233
        ip_defttl for monitoring applications.
1234
 
1235
2000-06-07  Nick Garnett  
1236
 
1237
        * tests/tcp_echo.c:
1238
        * tests/socket_test.c:
1239
        * tests/server_test.c:
1240
        * tests/ping_test.c:
1241
        * tests/nc_test_master.c:
1242
        * tests/nc_test_slave.c:
1243
        * tests/ftp_test.c:
1244
        Removed dependence of these programs on STDIO. For most this
1245
        simply required the use of a diag_printf() based perror() clone is
1246
        CYGPKG_LIBC_STDIO is not defined. For server_test is also required
1247
        the substitution of sprintf() with some more primitive string
1248
        functions.
1249
 
1250
        * src/sys/netinet/ip_input.c: Rewrote inet_ntoa() to not use
1251
        sprintf(). This was the only place in the TCP/IP stack that was
1252
        dependent on a STDIO function. We really should avoid building
1253
        this kind of casual dependency into the code.
1254
 
1255
        * src/sys/kern/sockio.c: This new file contain code to support the
1256
        fileio package. So far only a few of these functions have actually
1257
        been tested.
1258
 
1259
        * include/sys/kernel.h (time): The time variable clashes with the
1260
        C library time() function. To prevent this it is renamed ktime,
1261
        and a #define allows "kernel" code to continue accessing it as
1262
        time.
1263
 
1264
        * src/ecos/support.c: Added definition for ktime variable, as
1265
        described above. I could not find any definition for struct
1266
        timeval time. I have a nasty suspicion that it was using the
1267
        time() function - let's hope that no code that actually uses this
1268
        has been run.
1269
 
1270
        * src/lib/bootp_support.c: Another substitution of a diag_printf()
1271
        based perror() clone when STDIO is absent.
1272
 
1273
        * include/sys/bsdtypes.h: This is the original
1274
        include/sys/types.h. Renamed to avoid clashing with 
1275
        defined by the isoinfra package.
1276
 
1277
        * include/sys/types.h: Renamed to bsdtypes.h.
1278
 
1279
        * include/machine/limits.h:
1280
        Various changes to make these headers play nicely with those
1281
        defined in isoinfra package.
1282
 
1283
        * include/network.h: Added include of . Fixed
1284
        prototypes of functions here to match POSIX specifications.
1285
 
1286
        * cdl/net.cdl:
1287
        Split list of files to compile into the common set plus those
1288
        needed when the fileio package is present and those that are
1289
        needed when it is absent.
1290
        Added CDL to export our definitions to .
1291
 
1292
 
1293
2000-05-31  Hugo Tyson  
1294
 
1295
        * src/lib/network_support.c (init_all_network_interfaces): Make
1296
        this call idempotent - this is useful for reliable initialization
1297
        of dependent subsystems.
1298
 
1299
        * include/lib/libkern/libkern.h: remove protos of random() and
1300
        srandom() for they are not in fact provided.
1301
 
1302
        * cdl/net.cdl: Turn off CYGPKG_NET_TESTS_USE_RT_TEST_HARNESS by
1303
        default - since not all tests currently pass.
1304
 
1305
2000-05-12  Hugo Tyson  
1306
 
1307
        * cdl/net.cdl (CYGPKG_NET_TFTPD_THREAD_PRIORITY): New option,
1308
        control the TFTPD thread priority.  These options are *all*
1309
        CYGPKG_NET.  Yuk, sort 'em out later.
1310
 
1311
        * tests/tftp_server_test.c (tftp_test): Added use of the
1312
        CYGPKG_NET_TESTS_USE_RT_TEST_HARNESS stuff, same as for the flood
1313
        ping test.  This one passes (with the next change), so committed.
1314
 
1315
        * src/lib/tftp_server.c (tftpd_server): Cancelled some of the
1316
        printouts as connections come and go *iff* the tests are set up to
1317
        use the realtime-ness test harness.  This needs generalizing into
1318
        proper control of the network's chattiness overall.
1319
        (tftpd_start): Also added configury of the TFTPD thread priority.
1320
 
1321
2000-05-12  Hugo Tyson  
1322
 
1323
        * cdl/net.cdl: Add flood test below.  Also add option
1324
        CYGPKG_NET_TESTS_USE_RT_TEST_HARNESS to decide whether to
1325
        "Use real-time response test harness (if available)".
1326
        Consequently moved the test build stuff forward out of the build
1327
        flags area.
1328
 
1329
        * tests/flood.c (net_test): New file; performs a flood-ping (well,
1330
        as fast as we can go) of the server(s) on the two interfaces.
1331
        Also uses the real-time interrupt response verification stuff from
1332
        the EBSA285 driver component.
1333
 
1334
2000-05-11  Hugo Tyson  
1335
 
1336
        * cdl/net.cdl: Add new utility (and harmless-by-default test)
1337
        tests/set_mac_address.  You have to edit it to get anything
1338
        damaging to happen.
1339
 
1340
        * tests/set_mac_address.c: New file added.  It uses SIOCSIFHWADDR
1341
        to set the MAC address of any interfaces it has been told to.
1342
 
1343
2000-05-08  Gary Thomas  
1344
 
1345
        * include/machine/cpu.h:
1346
        * include/machine/cdefs.h: Add copyright boilerplate.
1347
 
1348
2000-05-05  Hugo Tyson  
1349
 
1350
        * include/arpa/tftp.h: Aargh.  Turns out that removing the align
1351
        driective and retaining only the packed directive makes the
1352
        original version work.  So, reverted.  Apologies for the wasted
1353
        time.
1354
 
1355
        * src/lib/tftp_server.c (tftpd_read_file): Coupla warnings
1356
        reduced, and reverted to match original tftp.h
1357
 
1358
        * src/lib/tftp_dummy_file.c (dummy_open): Removed use of
1359
        undeclared malloc().
1360
 
1361
2000-05-04  Gary Thomas  
1362
 
1363
        * src/lib/tftp_server.c:
1364
        * src/lib/tftp_client.c: Adjust for changes in header structure.
1365
 
1366
        * include/arpa/tftp.h: Continuing problems with alignment on ARM.
1367
        Recourse is very bastardized structure, but it _does_ work.
1368
 
1369
2000-05-04  Hugo Tyson  
1370
 
1371
        * tests/tftp_client_test.c (tftp_test): Print out a coupla more
1372
        things and test both interfaces if they exist - which does the
1373
        same thing twice if the same server bootp'd both.  Changed the
1374
        filenames to something more obvious.
1375
 
1376
        * cdl/net.cdl (CYGPKG_NET_TESTS): Build the tftp tests
1377
        tests/tftp_client_test tests/tftp_server_test
1378
 
1379
        * src/ecos/support.c (cyg_kmem_print_stats): New function; prints
1380
        info about memory usage for some tests to come.
1381
 
1382
2000-05-04  Gary Thomas  
1383
 
1384
        * include/arpa/tftp.h: Force packed alignment - required on some
1385
        architectures.
1386
 
1387
2000-05-01  Gary Thomas  
1388
 
1389
        * src/lib/tftp_dummy_file.c: Adding very simple routines - just
1390
        enough to test TFTP server.  This support will come from elsewhere
1391
        in actual application environments (e.g. a real file system).
1392
 
1393
        * tests/tftp_server_test.c:
1394
        * src/lib/tftp_server.c:
1395
        * include/tftp_support.h: Flesh out TFTP server support.
1396
 
1397
2000-04-13  Hugo Tyson  
1398
 
1399
        * tests/tcp_echo.c (calibrate_load): Import better background
1400
        thread loading algorithm with bugfix; if the initial HIGH limit
1401
        was not large enough, it never got loaded enough.
1402
 
1403
        * tests/nc_test_slave.c (calibrate_load): Import the fixed version
1404
        from above back in here.
1405
 
1406
2000-04-12  Gary Thomas  
1407
 
1408
        * src/ecos/support.c (cyg_tsleep): Use 'cyg_scheduler_safe_lock()' so
1409
        this function can be called with the scheduler locked.
1410
 
1411
        * src/sys/kern/uipc_socket2.c:
1412
        * include/sys/socketvar.h: Update sblock()/sbunlock() to be eCos safe.
1413
 
1414
2000-04-12  Hugo Tyson  
1415
 
1416
        * tests/tcp_echo.c: Include  so that it
1417
        links - otherwise max() is not around.
1418
 
1419
2000-04-11  Gary Thomas  
1420
 
1421
        * include/lib/libkern/libkern.h:
1422
        * include/network.h (NO_LIBKERN_INLINE): Disable kernel inline
1423
        functions.
1424
 
1425
2000-04-11  Gary Thomas  
1426
 
1427
        * src/lib/getserv.c: Add TFTP protocol.
1428
 
1429
        * cdl/net.cdl: Add TFTP library functions.
1430
 
1431
        * include/tftp_support.h:
1432
        * src/lib/tftp_dummy_file.c:
1433
        * src/lib/tftp_server.c:
1434
        * src/lib/tftp_client.c: New file(s).  Basic TFTP support functions.
1435
 
1436
2000-04-10  Hugo Tyson  
1437
 
1438
        * tests/tcp_echo.c (echo_test):
1439
        * tests/tcp_source.c:
1440
        * tests/tcp_sink.c:
1441
        Merge in changes from Grant Edwards  presented on
1442
        ecos-discuss "Mon, 10 Apr 2000 11:01:54 -0500" - fix some
1443
        warnings, and use ntohl() on the control data that travels netly
1444
        so that the host tools will work on otherendian machines.
1445
 
1446
2000-04-07  Gary Thomas  
1447
 
1448
        * tests/nc_test_slave.c: Update background thread loading
1449
        calibration to use a binary search (better) algorithm.
1450
 
1451
2000-03-29  Hugo Tyson  
1452
 
1453
        * tests/ftp_test.c (cyg_test_exit):
1454
        * tests/mbuf_test.c (cyg_start):
1455
        * tests/nc_test_master.c (cyg_test_exit):
1456
        * tests/nc_test_slave.c (show_net_times):
1457
        * tests/ping_test.c (cyg_test_exit):
1458
        * tests/server_test.c (cyg_test_exit):
1459
        * tests/socket_test.c (cyg_test_exit):
1460
        * tests/tcp_echo.c (cyg_test_exit):
1461
        Some eCos infrastructure changes caused, in some configurations,
1462
        cyg_test_exit() from the infrastructure to be brought in (in
1463
        tcdiag.o) even when the Test Case system was not explicitly being
1464
        invoked.  That fought with the convenience copy of cyg_test_exit()
1465
        in these tests.  The neatest fix is to use that provided centrally
1466
        where relevent, so that is what this change does.
1467
 
1468
        * tests/tcp_echo.c: Also now use granularity of 5% by default,
1469
        calibrate the load at 50%, and check and report the load that was
1470
        actually achieved after the test.
1471
 
1472
2000-03-29  John Dallaway  
1473
 
1474
        * doc/ecos_tcpip.html:
1475
 
1476
        Remove error-prone cross-reference to another eCos package.
1477
 
1478
        * doc/index.html:
1479
 
1480
        Synchronize index page title with web site.
1481
 
1482
2000-03-28  Gary Thomas  
1483
 
1484
        * src/lib/bootp_support.c (init_net): Need to start interface,
1485
        especially for manual/static IP configurations.
1486
 
1487
        * tests/nc_test_slave.c (calibrate_load): Better calibration for
1488
        slower targets.
1489
 
1490
2000-03-18  Gary Thomas  
1491
 
1492
        * src/sys/kern/sys_socket.c:
1493
        * src/sys/kern/sys_generic.c:
1494
        * include/sys/sockio.h: Add FIONBIO, FIOASYNC, FIONREAD functions.
1495
 
1496
        * include/machine/types.h: Make definitions safe for use with libc.
1497
 
1498
2000-03-08  Gary Thomas  
1499
 
1500
        * src/ecos/support.c: Remove some debug messages.
1501
        Update timed sleep functions (tsleep) to use scheduler lock
1502
        instead of brute-force interrupt locks.
1503
 
1504
2000-03-08  Hugo Tyson  
1505
 
1506
        * tests/tcp_echo.c (echo_test): Also enable, log and print out the
1507
        idle-thread activity during the test - this reassures us that
1508
        there is no [significant] spare time being wasted idling during
1509
        the test.  This change has no effect on the results at all.
1510
 
1511
2000-03-07  Hugo Tyson  
1512
 
1513
        * tests/tcp_echo.c (calibrate_load): Improve the accuracy of the
1514
        calibration with some post-scaling.  Change load to an array
1515
        accessor instead of register-based floating point - this is less
1516
        load, so more loops are needed, so the initial load level is upped
1517
        also.  More loops means better accuracy anyway, a good thing.
1518
 
1519
2000-03-06  Hugo Tyson  
1520
 
1521
        * tests/tcp_source.c (show_results): Print results in Mbit/S also.
1522
        (source_test): Warnings reduction; add some casts to sending and
1523
        receiving the control packets.
1524
        (NUM_BUF): becomes 1024; send more data to get thro'put result.
1525
 
1526
        * tests/tcp_sink.c (show_results): Print results in Mbit/S also.
1527
        (sink_test): Warnings reduction; add some casts to sending and
1528
        receiving the control packets.
1529
 
1530
        * tests/nc_test_master.c (show_results): Reinstate tot_bytes
1531
        variable for host testing tool version.  Print results in Mbit/S
1532
        also.
1533
 
1534
        * tests/nc_test_slave.c (net_test): Comment out starting multiple
1535
        threads; they fight over a wide-open socket.  One thread is
1536
        enough.
1537
 
1538
2000-03-06  Gary Thomas  
1539
 
1540
        * include/netdev.h: Update structure for improved API description.
1541
 
1542
2000-03-05  Gary Thomas  
1543
 
1544
        * include/network.h:
1545
        * include/sys/syscallargs.h:
1546
        * src/lib/accept.c:
1547
        * src/lib/bootp_support.c:
1548
        * src/lib/close.c:
1549
        * src/lib/getpeername.c:
1550
        * src/lib/getsockname.c:
1551
        * src/lib/recvfrom.c:
1552
        * tests/ftp_test.c:
1553
        * tests/nc_test_framework.h:
1554
        * tests/nc_test_master.c:
1555
        * tests/nc_test_slave.c:
1556
        * tests/ping_test.c:
1557
        * tests/server_test.c:
1558
        * tests/socket_test.c:
1559
        * tests/tcp_echo.c:
1560
        Cleanup to remove compiler warnings.
1561
 
1562
2000-03-04  Gary Thomas  
1563
 
1564
        * include/machine/param.h:
1565
        * include/sys/socketvar.h:
1566
        * src/ecos/timeout.c:
1567
        * src/sys/kern/kern_subr.c:
1568
        * src/sys/kern/sys_generic.c:
1569
        * src/sys/kern/sys_socket.c:
1570
        * src/sys/kern/uipc_mbuf.c:
1571
        * src/sys/kern/uipc_socket2.c:
1572
        * src/sys/kern/uipc_syscalls.c:
1573
        * src/sys/net/if_ethersubr.c:
1574
        * src/sys/net/if_loop.c:
1575
        * src/sys/net/route.c:
1576
        * src/sys/net/rtsock.c:
1577
        * src/sys/netinet/in_cksum.c:
1578
        * src/sys/netinet/in_pcb.c:
1579
        * src/sys/netinet/ip_input.c:
1580
        * src/sys/netinet/tcp_input.c:
1581
        * src/sys/netinet/tcp_output.c:
1582
        * src/sys/netinet/tcp_subr.c:
1583
        * src/sys/netinet/udp_usrreq.c:
1584
        Cleanup to remove compiler warnings.
1585
 
1586
2000-03-01  Gary Thomas  
1587
 
1588
        * tests/ping_test.c: Reorganize test, display error info.
1589
 
1590
        * src/lib/bootp_support.c: Add support for DNS options.
1591
 
1592
2000-02-29  Gary Thomas  
1593
 
1594
        * include/sys/sockio.h (SIOCSIFHWADDR): Add function to
1595
        set hardware (MAC) address via ioctl.
1596
 
1597
2000-02-28  John Dallaway  
1598
 
1599
        * cdl/net.cdl:
1600
 
1601
        Reparent cdl_interface CYGHWR_NET_DRIVER_ETH0_SETUP under
1602
        cdl_component CYGHWR_NET_DRIVER_ETH0_SETUP_OPTIONS to
1603
        avoid a spurious conflict report when the latter is
1604
        inactive.
1605
 
1606
2000-02-25  John Dallaway  
1607
 
1608
        * cdl/net.cdl:
1609
 
1610
        Reparent cdl_interface CYGHWR_NET_DRIVER_ETH1_SETUP under
1611
        cdl_component CYGHWR_NET_DRIVER_ETH1_SETUP_OPTIONS to
1612
        avoid a spurious conflict report when the latter is
1613
        inactive.
1614
 
1615
2000-02-22  Gary Thomas  
1616
 
1617
        * include/netinet/if_ether.h:
1618
        * include/netinet/ip.h:
1619
        * include/netinet/ip_icmp.h:
1620
        * include/netinet/tcp.h:
1621
        * include/netinet/udp.h: More structure alignement fixes.
1622
 
1623
2000-02-21  Gary Thomas  
1624
 
1625
        * include/netinet/tcpip.h:
1626
        * include/netinet/udp_var.h: Force structure alignment.
1627
 
1628
2000-02-18  Gary Thomas  
1629
 
1630
        * tests/server_test.c: Target [client] address was wrong.
1631
 
1632
        * tests/tcp_source.c:
1633
        * tests/tcp_sink.c:
1634
        * tests/tcp_echo.c: New test suite.
1635
 
1636
2000-02-17  Gary Thomas  
1637
 
1638
        * tests/ping_test.c: Fix typo in startup message.
1639
 
1640
        * src/sys/net/route.c (route_reinit): New function - only here
1641
        until BOOTP problems can be found/fixed.
1642
 
1643
        * src/lib/bootp_support.c (do_bootp): Force any existing routes
1644
        to be reset since this causes a problem if BOOTP has been previously
1645
        run.  Also, the BOOTP request must be zeroed or the server will
1646
        get confused.
1647
 
1648
        * src/lib/network_support.c (init_all_network_interfaces):
1649
        Rearrange initialization so that all BOOTP activity takes place
1650
        before any permanent setups are in place.
1651
 
1652
2000-02-16  Gary Thomas  
1653
 
1654
        * src/sys/net/route.c (rtioctl): Add support for deleting routes.
1655
 
1656
        * src/lib/network_support.c (init_all_network_interfaces):
1657
        Support predefined IP configurations, as well as BOOTP.
1658
 
1659
        * tests/ping_test.c: Renamed from 'bootp_test.c'
1660
 
1661
        * src/lib/inet_addr.c:
1662
        * include/arpa/ftp.h:
1663
        * include/arpa/nameser.h:
1664
        * include/arpa/telnet.h:
1665
        * include/arpa/inet.h:
1666
        * include/arpa/tftp.h: New file(s).
1667
 
1668
2000-02-15  Gary Thomas  
1669
 
1670
        * src/lib/select.c: Add 'cyg_select_with_abort()' interface which
1671
        will allow 'select()' function to be abnormally terminated.  Add
1672
        new function 'cyg_select_abort()' which does this.
1673
 
1674
2000-02-15  Hugo Tyson  
1675
 
1676
        * cdl/net.cdl: Fix typo; cdl_interface CYGHWR_NET_DRIVER_ETH1 was
1677
        missing, so EBSA build was conflictual.
1678
 
1679
2000-02-14  Gary Thomas  
1680
 
1681
        * tests/bootp_test.c:
1682
        * tests/ftp_test.c:
1683
        * tests/nc_test_framework.h:
1684
        * tests/nc_test_master.c:
1685
        * tests/nc_test_slave.c:
1686
        * tests/server_test.c: Rework with automatic network initialization.
1687
        Includes support for multiple interfaces.
1688
 
1689
        * src/lib/network_support.c:
1690
        * include/network.h: New file(s).
1691
 
1692
        * cdl/net.cdl: New CDL to support multiple interfaces and their
1693
        configuration.  (Not complete yet).
1694
 
1695
2000-02-11  Gary Thomas  
1696
 
1697
        * src/lib/select.c (select): Add a way to abort selects (EINTR).
1698
 
1699
2000-02-10  Gary Thomas  
1700
 
1701
        * tests/nc_test_slave.c (calibrate_load): Slightly different algorithm,
1702
        which should work better on all platforms.
1703
 
1704
2000-02-09  Gary Thomas  
1705
 
1706
        * cdl/net.cdl: Add CYGPKG_NET_THREAD_PRIORITY to allow user more
1707
        control over how networking [anonymous] threads behave.
1708
 
1709
        * tests/nc_test_framework.h:
1710
        * tests/nc_test_slave.c:
1711
        * tests/nc_test_master.c: Support test mode with target CPU under
1712
        various loads.
1713
 
1714
2000-02-09  Hugo Tyson  
1715
 
1716
        * src/ecos/support.c (bcmp): Fix bug.  Missing pointer increments
1717
        meant that the zeroth byte only was compared.  Caused stack to
1718
        reject ARP packets - depending on MAC address order for particular
1719
        platform.
1720
 
1721
2000-02-09  Hugo Tyson  
1722
 
1723
        * tests/bootp_test.c:
1724
        * tests/ftp_test.c:
1725
        * tests/nc_test_master.c:
1726
        * tests/server_test.c:
1727
        * tests/socket_test.c:
1728
        Change stacksize of test thread to TYPICAL not MINIMAL - some
1729
        drivers eat more stack than others.  Generally:
1730
        -#define STACK_SIZE CYGNUM_HAL_STACK_SIZE_MINIMUM
1731
        +#define STACK_SIZE CYGNUM_HAL_STACK_SIZE_TYPICAL
1732
 
1733
2000-02-08  John Dallaway  
1734
 
1735
        * cdl/net.cdl:
1736
 
1737
        Tidy display strings.
1738
 
1739
# ####GPLCOPYRIGHTBEGIN####
1740
# -------------------------------------------
1741
# This file is part of eCos, the Embedded Configurable Operating System.
1742
# Copyright (C) 2000, 2001, 2002, 2009, 2010 Free Software Foundation, Inc.
1743
#
1744
# This program is free software; you can redistribute it and/or modify
1745
# it under the terms of the GNU General Public License as published by
1746
# the Free Software Foundation; either version 2 or (at your option) any
1747
# later version.
1748
#
1749
# This program is distributed in the hope that it will be useful, but
1750
# WITHOUT ANY WARRANTY; without even the implied warranty of
1751
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1752
# General Public License for more details.
1753
#
1754
# You should have received a copy of the GNU General Public License
1755
# along with this program; if not, write to the
1756
# Free Software Foundation, Inc., 51 Franklin Street,
1757
# Fifth Floor, Boston, MA  02110-1301, USA.
1758
# -------------------------------------------
1759
# ####GPLCOPYRIGHTEND####

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.