1 |
786 |
skrzyp |
2012-03-13 Grant Edwards
|
2 |
|
|
|
3 |
|
|
* src/ecos/support.c (_dumpentry, show_network_tables): Fix
|
4 |
|
|
compiler warnings by removing variables that are set but never
|
5 |
|
|
referenced. [ Bugzilla 1001516 ]
|
6 |
|
|
|
7 |
|
|
2012-03-08 Grant Edwards
|
8 |
|
|
|
9 |
|
|
* doc/freebsd.sgml: Add section on how to disable ipv6 support at
|
10 |
|
|
runtime. [ Bugzilla 1001502 ]
|
11 |
|
|
|
12 |
|
|
2012-03-08 Grant Edwards
|
13 |
|
|
|
14 |
|
|
* src/sys/netinet6/icmp6.c (icmp6_redirect_input):
|
15 |
|
|
* src/sys/netinet6/in6_src.c (in6_selectroute):
|
16 |
|
|
* src/sys/netinet6/ip6_mroute.c (phyint_send, pim6_input):
|
17 |
|
|
* src/sys/netinet6/nd6.c (nd6_timer, nd6_dad_ns_input):
|
18 |
|
|
* src/sys/netinet6/nd6_rtr.c (prelist_update):
|
19 |
|
|
* src/sys/netinet6/ip6_output.c (ip6_ctloutput, ip6_raw_ctloutput):
|
20 |
|
|
* src/sys/netinet6/raw_ip6.c (rip6_ctlinput):
|
21 |
|
|
* src/sys/netinet6/ip6_input.c (ip6_hopopts_input): Fix compiler
|
22 |
|
|
warnings by removing variables that are set but never referenced,
|
23 |
|
|
or by declaring them as "unused" if they are referenced only by
|
24 |
|
|
conditionally-compiled code.
|
25 |
|
|
* src/sys/netinet6/raw_ip6.c (rip6_ctlinput):
|
26 |
|
|
* src/sys/netinet6/in6_ifattach.c (get_rand_ifid,in6_nigroup):
|
27 |
|
|
* src/sys/netinet6/ip6_output.c (ip6_insert_jumboopt):
|
28 |
|
|
* src/sys/netinet6/ip6_input.c (ip6_get_prevhdr): Fix compiler
|
29 |
|
|
warnings about signed/unsigned char mismatches.
|
30 |
|
|
* src/sys/netinet6/ip6_input.c (ip6_savecontrol): Fix
|
31 |
|
|
grouping/precedence/paren error in flag checking expression --
|
32 |
|
|
verified same fix is already in upstream.
|
33 |
|
|
[ Bugzilla 1001526 ]
|
34 |
|
|
|
35 |
|
|
2012-03-08 Grant Edwards
|
36 |
|
|
|
37 |
|
|
* src/sys/net/if_ethersubr.c (ether_output, ether_resolvemulti):
|
38 |
|
|
Fix compiler warning by removing variable that was set but never
|
39 |
|
|
referenced. Fix compiler warning about signed/unsigned pointer
|
40 |
|
|
mismatch.
|
41 |
|
|
* src/sys/netinet/tcp_input.c (tcp_input):
|
42 |
|
|
* src/sys/netinet/tcp_output.c (tcp_output):
|
43 |
|
|
* src/sys/netinet/ip_encap.c (encap6_ctlinput):
|
44 |
|
|
* src/sys/netinet/udp_usrreq.c (udp_output, udp_connect): Fix
|
45 |
|
|
compiler warnings about variables that are set but not referenced.
|
46 |
|
|
Some are removed, others that are referenced in
|
47 |
|
|
conditionally-compiled code are marked with the "unused"
|
48 |
|
|
attribute.
|
49 |
|
|
[ Bugzilla 1001525 ]
|
50 |
|
|
|
51 |
|
|
2012-03-06 Grant Edwards
|
52 |
|
|
|
53 |
|
|
* cdl/freebsd_net.cdl:
|
54 |
|
|
* src/sys/netinet/in_pcb.c: Add CDL option
|
55 |
|
|
CYGOPT_NET_FREEBSD_FORCE_DIRECTED_BROADCAST that allows you to
|
56 |
|
|
control whether or not packets sent to 255.255.255.255 get
|
57 |
|
|
redirected to the interface's subnet broadcast address. By
|
58 |
|
|
default, this option is enabled (behavior is the same as
|
59 |
|
|
before this change). [ Bugzilla 1001508 ]
|
60 |
|
|
|
61 |
|
|
2012-03-06 Grant Edwards
|
62 |
|
|
|
63 |
|
|
* include/sys/param.h:
|
64 |
|
|
* src/sys/netinet6/ip6_input.c: Make ip6_init2() visible globally
|
65 |
|
|
as cyg_ip6_init2() so that it's possible to disable ipv6 support
|
66 |
|
|
at runtime by munging the net init table and replacing calls to
|
67 |
|
|
net_add_domain(&inet6domain) and ip6_init2() with calls to a noop
|
68 |
|
|
function. [ Bugzilla 1001502 ]
|
69 |
|
|
|
70 |
|
|
2012-02-29 Grant Edwards
|
71 |
|
|
|
72 |
|
|
* cdl/freebsd_net.cdl: Add -fno-strict-aliasing compiler flag to fix
|
73 |
|
|
compiler warnings from newer versions (4.6) of gcc. [ bugzilla 1001501 ]
|
74 |
|
|
|
75 |
|
|
2011-05-12 John Dallaway
|
76 |
|
|
|
77 |
|
|
* include/sys/param.h: Fix cyg_arc4random() extern. Issue reported by
|
78 |
|
|
Marwijn Hessel. [ Bugzilla 1001227 ]
|
79 |
|
|
|
80 |
|
|
2011-02-22 Kelvin Lawson
|
81 |
|
|
|
82 |
|
|
* src/sys/netinet/if_ether.c: Merge fix from FreeBSD CVS r1.108.
|
83 |
|
|
Prevents creation of reciprocal ARP cache entries for hosts not on
|
84 |
|
|
local subnet.
|
85 |
|
|
* cdl/freebsd_net.cdl:
|
86 |
|
|
* include/netinet/tcp_var.c:
|
87 |
|
|
* src/sys/netinet/tcp_subr.c:
|
88 |
|
|
* src/sys/netinet/tcp_input.c: Merge fix from FreeBSD CVS. Introduces
|
89 |
|
|
a maximum size for the TCP reassembly queue to limit network buffer
|
90 |
|
|
usage associated with reassembly. Enable CYGNUM_NET_TCP_REASS_DIVISOR
|
91 |
|
|
and set it to configure the maximum number of buffers usable for TCP
|
92 |
|
|
reassembly.
|
93 |
|
|
|
94 |
|
|
2010-09-18 John Dallaway
|
95 |
|
|
|
96 |
|
|
* doc/freebsd.sgml: No longer "recent".
|
97 |
|
|
|
98 |
|
|
2009-07-22 John Dallaway
|
99 |
|
|
|
100 |
|
|
* include/sys/cdefs.h: Silence undefined macro warning reported
|
101 |
|
|
by Jay Foster.
|
102 |
|
|
|
103 |
|
|
2008-02-01 Nick Garnett
|
104 |
|
|
|
105 |
|
|
* include/sys/cdefs.h: Add this file so that sysctl.h can be
|
106 |
|
|
used.
|
107 |
|
|
|
108 |
|
|
2008-01-06 Shaun Louie
|
109 |
|
|
|
110 |
|
|
* include/net/radix.h
|
111 |
|
|
* src/sys/net/radix.c
|
112 |
|
|
* src/sys/net/route.c
|
113 |
|
|
* src/sys/net/rtsock.c
|
114 |
|
|
* src/sys/netinet/if_ether.c
|
115 |
|
|
* src/sys/netinet6/icmp6.c
|
116 |
|
|
* src/sys/netinet6/nd6.c: Change Free to R_Free() so that it
|
117 |
|
|
corresponds to R_Malloc, and allows Free() wrappers in other
|
118 |
|
|
places.
|
119 |
|
|
|
120 |
|
|
2007-09-27 Gary Thomas
|
121 |
|
|
|
122 |
|
|
* src/sys/net/if.c (ifioctl): Add missing ioctl functions
|
123 |
|
|
(SIOCGIFSTATSUD, SIOCGIFSTATS) Reported by Emmanuel Coullien.
|
124 |
|
|
|
125 |
|
|
2007-09-11 Daniel Néri
|
126 |
|
|
|
127 |
|
|
* include/sys/socketvar.h: Fix very old and subtle macro bug. From
|
128 |
|
|
FreeBSD revision 1.141.2.3 (RELENG_6 branch): "correctly return an
|
129 |
|
|
error if M_NOWAIT is passed to sblock() and the operation might
|
130 |
|
|
block."
|
131 |
|
|
|
132 |
|
|
2007-07-08 Alexander Aganichev
|
133 |
|
|
|
134 |
|
|
* include/sys/param.h (log_): Really disable logging when
|
135 |
|
|
it is disabled.
|
136 |
|
|
|
137 |
|
|
2007-03-21 Jay Foster
|
138 |
|
|
|
139 |
|
|
* cdl/freebsd_net.cdl: Added option to enable BOOTP_COMPAT to
|
140 |
|
|
allow bootp to work.
|
141 |
|
|
|
142 |
|
|
2006-07-19 Philip Keller
|
143 |
|
|
|
144 |
|
|
* src/ecos/support.c (cyg_netint): Don't handle events that don't
|
145 |
|
|
have handlers registered. Fixes Bug 1000046, whereby an assertion
|
146 |
|
|
or crash resulted from an ARP package arriving before network
|
147 |
|
|
initialization was complete.
|
148 |
|
|
|
149 |
|
|
2006-06-14 Andy Jackson
|
150 |
|
|
|
151 |
|
|
* cdl/freebsd_net.cdl, src/ecos/support.c, src/ecos/support.c:
|
152 |
|
|
Changes to make stack sizes CDL configurable.
|
153 |
|
|
|
154 |
|
|
2006-05-19 Andrew Lunn
|
155 |
|
|
|
156 |
|
|
* tests/sysctl1.c: Use CYG_NELEM from infra.
|
157 |
|
|
|
158 |
|
|
2006-05-08 Andy Jackson
|
159 |
|
|
|
160 |
|
|
* src/ecos/support.c (cyg_net_show_mbufs): Use %p in diag_printf
|
161 |
|
|
to keep the compiler happy.
|
162 |
|
|
|
163 |
|
|
2005-10-24 Andrew Lunn
|
164 |
|
|
|
165 |
|
|
* include/sys/param.h: Include to stop warnings.
|
166 |
|
|
|
167 |
|
|
2005-10-23 Andrew Lunn
|
168 |
|
|
|
169 |
|
|
* include/sys/time.h (Removed): Use the isoinfra sys/time.h
|
170 |
|
|
* include/net/if.h: We do need sys/time.h for timeval.
|
171 |
|
|
* src/sys/kern/uipc_socket.c: include sys/time.h for timeval
|
172 |
|
|
* src/sys/kern/uipc_socket2.c: Ditto
|
173 |
|
|
* src/sys/netinet6/in6_pcb.c (in6_pcbdetach): remove lvalue cast
|
174 |
|
|
to keep gcc4.x happy.
|
175 |
|
|
|
176 |
|
|
2005-09-02 Sebastien Couret
|
177 |
|
|
|
178 |
|
|
* src/sys/kern/kern_sysctl.c: Silent compiler warning on lvalue
|
179 |
|
|
assignment
|
180 |
|
|
|
181 |
|
|
2005-07-29 Andrew Lunn
|
182 |
|
|
|
183 |
|
|
* src/sys/netinet/ip_output.c (ip_output): initialize len to 0.
|
184 |
|
|
* src/sys/net/if.c (ifioctl): Cast to keep compiler happy.
|
185 |
|
|
* src/ecos/support.c (_mask): Use the correct cast to keep the
|
186 |
|
|
compiler happy.
|
187 |
|
|
* include/sys/param.h: give proc0 the correct type so we don't
|
188 |
|
|
have to cast it and avoid a compiler warning.
|
189 |
|
|
* src/sys/kern/uipc_socket.c (soopt_mcopyout): Lefthand casts no
|
190 |
|
|
longer allowed with gcc4.
|
191 |
|
|
* src/sys/net/if_ethersubr.c (ether_resolvemulti): Cast to keep
|
192 |
|
|
compiler happy.
|
193 |
|
|
* src/sys/net/rtsock.c: Define routedomain consistently to avoid
|
194 |
|
|
compiler warnings.
|
195 |
|
|
|
196 |
|
|
2005-06-23 Gary Thomas
|
197 |
|
|
|
198 |
|
|
* include/netinet/if_ether.h: Adjust size of struct sockaddr_inarp
|
199 |
|
|
which needs to match struct sockaddr. This was broken when IPv6
|
200 |
|
|
was added and without this change, ARP can get confused. Tracked
|
201 |
|
|
down by Arnaud Chataignier
|
202 |
|
|
|
203 |
|
|
2005-06-17 Andrew Lunn
|
204 |
|
|
|
205 |
|
|
* src/sys/kern/uipc_socket.c (sodealloc): Fixed a race condition
|
206 |
|
|
when freeing the socket memory. Problem reported by Will Lent.
|
207 |
|
|
|
208 |
|
|
2005-03-27 Andrew Lunn
|
209 |
|
|
|
210 |
|
|
* src/sys/net/if.c (ifioctl): Fixed a compiler warning about
|
211 |
|
|
types to printf.
|
212 |
|
|
* src/sys/netinet/if_ether.c (in_arpinput): Ditto
|
213 |
|
|
* src/sys/net/if.c: Ditto
|
214 |
|
|
|
215 |
|
|
2005-03-10 Matt Jerdonek
|
216 |
|
|
|
217 |
|
|
* cdl/freebsd_net.cdl:
|
218 |
|
|
* src/sys/netinet/in_pcb.c: add option to randomly pick
|
219 |
|
|
source port. This option is useful when connecting
|
220 |
|
|
through firewalls.
|
221 |
|
|
|
222 |
|
|
2004-12-24 Motoya Kurotsu
|
223 |
|
|
|
224 |
|
|
* src/sys/kern/kern_sysctl.c: set mutex_init to one to prevent
|
225 |
|
|
mutex being initialized multiple times.
|
226 |
|
|
|
227 |
|
|
2004-08-18 Andrew Lunn
|
228 |
|
|
|
229 |
|
|
* src/ecos/support.c (show_net_times): Removed stats_in_cksum.
|
230 |
|
|
It does not exist in the FreeBSD stack. Pointed out by
|
231 |
|
|
Philip Keller.
|
232 |
|
|
|
233 |
|
|
2004-08-17 Andrew Lunn
|
234 |
|
|
|
235 |
|
|
* src/sys/kern/sockio.c (bsd_bind): Pass a copy of the sa into
|
236 |
|
|
bind so that the "kernel" code does not modify the "user" codes
|
237 |
|
|
version of the socket address.
|
238 |
|
|
|
239 |
|
|
2004-07-15 Oyvind Harboe
|
240 |
|
|
|
241 |
|
|
*cdl/freebsd_net.cdl:
|
242 |
|
|
*src/ecos/support.c: made memory pools default to current size,
|
243 |
|
|
but separately controllable from the cdl file. This is useful for
|
244 |
|
|
systems with tight memory budgets.
|
245 |
|
|
|
246 |
|
|
2004-06-01 Sandeep Kumar
|
247 |
|
|
|
248 |
|
|
* tests/sysctl1.c: Call CYG_TEST_EXIT at the end of the test.
|
249 |
|
|
|
250 |
|
|
2004-05-25 Gary Thomas
|
251 |
|
|
|
252 |
|
|
* src/sys/netinet/if_ether.c: Clean up some log messages - remove
|
253 |
|
|
extraneous ":" which caused incorrect printouts.
|
254 |
|
|
|
255 |
|
|
2004-04-30 Jonathan Larmour
|
256 |
|
|
|
257 |
|
|
* src/ecos/timeout.c (callout_reset): Clarify assert message on
|
258 |
|
|
expiry date from ages ago and also add comment explaining further.
|
259 |
|
|
|
260 |
|
|
2004-03-30 Horst Kronstorfer
|
261 |
|
|
|
262 |
|
|
* src/sys/kern/uipc_mbuf.c
|
263 |
|
|
* src/ecos/support.c
|
264 |
|
|
* include/sys/mbuf.h: Avoid blocking alloc from (empty) mbuf pool.
|
265 |
|
|
Freed mbufs are never returned to the pool, but to the mbuf
|
266 |
|
|
"free list". This can cause a deadlock situation.
|
267 |
|
|
Duplicated incrementing of mbuf statistics removed.
|
268 |
|
|
|
269 |
|
|
2004-03-27 Andrew Lunn
|
270 |
|
|
|
271 |
|
|
* src/ecos/support.c (_dumpentry): Don't skip routes which don't
|
272 |
|
|
have a netmask. These are seem to be valid host routes.
|
273 |
|
|
|
274 |
|
|
2004-02-18 Jonathan Larmour
|
275 |
|
|
|
276 |
|
|
* doc/freebsd.sgml: Import text from openbsd doc about use of __ECOS
|
277 |
|
|
, etc.
|
278 |
|
|
|
279 |
|
|
2004-01-17 Andrew Lunn
|
280 |
|
|
|
281 |
|
|
* src/sys/kern/sockio.c (bsd_connect): Set the sa_len field in
|
282 |
|
|
the sockaddr structure. Real FreeBSD does this.
|
283 |
|
|
|
284 |
|
|
2003-12-21 Nick Garnett
|
285 |
|
|
|
286 |
|
|
* include/sys/param.h: Restored MD5 function mappings. These were
|
287 |
|
|
accidentally removed earlier.
|
288 |
|
|
|
289 |
|
|
2003-12-16 Gary Thomas
|
290 |
|
|
|
291 |
|
|
* cdl/freebsd_net.cdl: Increase default memory pool size to
|
292 |
|
|
include at least enough space to allocate PCBs and SOCKETs.
|
293 |
|
|
Without this, if the number of open files was raised, the
|
294 |
|
|
memory pool was inadequate.
|
295 |
|
|
|
296 |
|
|
2003-12-10 Gary Thomas
|
297 |
|
|
|
298 |
|
|
* include/netinet/in.h: Prototype for inet_ntoa_r()
|
299 |
|
|
|
300 |
|
|
2003-11-22 Andrew Lunn
|
301 |
|
|
|
302 |
|
|
* include/net/if_gif.h include/net/if_sec.h include/net/zlib.h
|
303 |
|
|
include/netinet/ip_ecn.h include/netinet6/ah.h
|
304 |
|
|
include/netinet6/esp.h include/netinet6/esp_rijndael.h
|
305 |
|
|
include/netinet6/esp_twofish.h include/netinet6/in6_gif.h
|
306 |
|
|
include/netinet6/ipcomp.h include/netkey/key.h
|
307 |
|
|
include/netkey/key_debug.h include/netkey/keysock.h src/sys/netkey
|
308 |
|
|
src/sys/netinet/ip_ecn.c src/sys/netinet6/ah_core.c
|
309 |
|
|
src/sys/netinet6/ah_input.c src/sys/netinet6/ah_output.c
|
310 |
|
|
src/sys/netinet6/esp_core.c src/sys/netinet6/esp_input.c
|
311 |
|
|
src/sys/netinet6/esp_output.c src/sys/netinet6/esp_rijndael.c
|
312 |
|
|
src/sys/netinet6/esp_twofish.c src/sys/netinet6/in6_gif.c
|
313 |
|
|
src/sys/netinet6/ipcomp_core.c src/sys/netinet6/ipcomp_input.c
|
314 |
|
|
src/sys/netinet6/ipcomp_output.c src/sys/netinet6/ipsec.c:
|
315 |
|
|
Added back the original KAME FreeBSD IPSEC files.
|
316 |
|
|
* cdl/freebsd_net.cdl: CDl to control the compilation of IPSEC
|
317 |
|
|
* include/sys/malloc.h: New memory type needed by IPSEC
|
318 |
|
|
* include/sys/param.h: Name munging for IPSEC symbols
|
319 |
|
|
* src/ecos/support.c: read_random_unlimited() should return the
|
320 |
|
|
number of random bytes in the buffer.
|
321 |
|
|
* src/sys/kern/kern_sysctl.c: Added missing copyright header.
|
322 |
|
|
* src/sys/netinet/ip_output.c: Removed user() checks in IPSEC code.
|
323 |
|
|
* src/sys/netinet6/ip6_output.c: Compiler warning fixes.
|
324 |
|
|
|
325 |
|
|
2003-11-08 Andrew Lunn
|
326 |
|
|
|
327 |
|
|
* src/sys/kern/kern_sysctl.c (sysctl): Update the oldlen value at
|
328 |
|
|
the end of the sysctl call.
|
329 |
|
|
|
330 |
|
|
2003-10-28 Matt Jerdonek
|
331 |
|
|
|
332 |
|
|
* src/sys/netinet/tcp_output.c (tcp_setpersist): Use variable
|
333 |
|
|
tcp_rexmit_shift_max instead of TCP_MAXRXTSHIFT
|
334 |
|
|
* src/sys/netinet/tcp_subr.c (tcp_newtcpcb): Add FreeBSD
|
335 |
|
|
changes to control minimum retransmit time
|
336 |
|
|
* src/sys/netinet/tcp_timer.c : Use variable tcp_rexmit_shift_max
|
337 |
|
|
instead of TCP_MAXRXTSHIFT. Also add FreeBSD changes to control
|
338 |
|
|
minimum retransmit time
|
339 |
|
|
* include/netinet/tcp_timer.h : Add external declarations to
|
340 |
|
|
support above.
|
341 |
|
|
|
342 |
|
|
2003-10-15 Roland Cassebohm
|
343 |
|
|
|
344 |
|
|
* src/sys/net/if.c (ifinit): Change printf(...) to log(LOG_INIT,...) to
|
345 |
|
|
make it possible to disable output while initialization.
|
346 |
|
|
|
347 |
|
|
2003-09-17 Reinhard Jessich
|
348 |
|
|
|
349 |
|
|
* src/sys/kern/uipc_mbuf.c: Now using flags (how) argument in call to
|
350 |
|
|
cyg_net_mbuf_alloc, to avoid a (blocking) call to alloc method of mempool
|
351 |
|
|
during interrupts. This problem occurred under heavy IP traffic in case the
|
352 |
|
|
mempool became empty (alloc blocked).
|
353 |
|
|
* src/sys/net/if_ethersubr.c: Avoid dereferencing NULL pointer in case of
|
354 |
|
|
failing m_copy. Note that this problem was (at least sometimes) hidden
|
355 |
|
|
due to the bug in uipc_mbuf.c (described above).
|
356 |
|
|
|
357 |
|
|
2003-09-08 Andrew Lunn
|
358 |
|
|
|
359 |
|
|
* src/ecos/support.c (read_random): New function which is needed
|
360 |
|
|
when CYGSEM_NET_RANDOMID is enabled.
|
361 |
|
|
* include/sys/param.h: Prototype for new function.
|
362 |
|
|
|
363 |
|
|
2003-07-25 Andrew Lunn
|
364 |
|
|
|
365 |
|
|
* include/netinet/icmp_var.h
|
366 |
|
|
* include/netinet/igmp_var.h
|
367 |
|
|
* include/netinet/in_var.h
|
368 |
|
|
* include/netinet/udp_var.h
|
369 |
|
|
* include/netinet6/tcp6_var.h
|
370 |
|
|
* include/netinet6/udp6_var.h
|
371 |
|
|
* include/sys/socket.h
|
372 |
|
|
* src/sys/net/if.c
|
373 |
|
|
* src/sys/net/if_ethersubr.c
|
374 |
|
|
* src/sys/net/rtsock.c
|
375 |
|
|
* sys/netinet/if_ether.c
|
376 |
|
|
* sys/netinet/igmp.c
|
377 |
|
|
* src/sys/netinet/in.c
|
378 |
|
|
* src/sys/netinet/in_pcb.c
|
379 |
|
|
* src/sys/netinet/in_proto.c
|
380 |
|
|
* src/sys/netinet/in_rmx.c
|
381 |
|
|
* src/sys/netinet/ip_flow.c
|
382 |
|
|
* src/sys/netinet/ip_icmp.c
|
383 |
|
|
* src/sys/netinet/ip_input.c
|
384 |
|
|
* src/sys/netinet/ip_output.c
|
385 |
|
|
* src/sys/netinet/raw_ip.c
|
386 |
|
|
* src/sys/netinet/tcp_input.c
|
387 |
|
|
* src/sys/netinet/tcp_output.c
|
388 |
|
|
* src/sys/netinet/tcp_output.c
|
389 |
|
|
* src/sys/netinet/tcp_subr.c
|
390 |
|
|
* src/sys/netinet/tcp_timer.c
|
391 |
|
|
* src/sys/netinet/tcp_usrreq.c
|
392 |
|
|
* src/sys/netinet/udp_usrreq.c
|
393 |
|
|
* src/sys/netinet6/in6_proto.c
|
394 |
|
|
* src/sys/netinet6/in6_rmx.c
|
395 |
|
|
* src/sys/netinet6/nd6.c
|
396 |
|
|
* src/sys/netinet6/udp6_output.c
|
397 |
|
|
* sys/netinet6/udp6_usrreq.c: Added back the support for sysctl
|
398 |
|
|
which was removed in the port of the stack into eCos.
|
399 |
|
|
* include/sys/malloc.h (M_SYSCTL): SYSCTL types for malloc
|
400 |
|
|
* sys/kern/kern_sysctl.c (NEW): sysctl system call and support
|
401 |
|
|
functions
|
402 |
|
|
* include/sys/sysctrl.h (NEW): header file for sysctl.
|
403 |
|
|
* cdl/freebsd_net.cdl: CDL to enable/disable sysctl and a test case.
|
404 |
|
|
* tests/sysctl1.c (NEW): Test program for sysctl.
|
405 |
|
|
|
406 |
|
|
2003-07-25 Andrew Lunn
|
407 |
|
|
|
408 |
|
|
* include/sys/param.h: Fixed some compiler warnings.
|
409 |
|
|
* src/sys/netinet6/in6_ifattach.c: More fixes.
|
410 |
|
|
* src/sys/netinet6/in6.c: And some more.
|
411 |
|
|
* src/sys/netinet6/in6_pcb.c: YACW.
|
412 |
|
|
* include/netinet6/ip6protosw.h: Maybe the last one?
|
413 |
|
|
* include/netinet6/ip6protosw.h: Nope
|
414 |
|
|
* include/sys/param.h:
|
415 |
|
|
* sys/kern/uipc_socket.c: More warnings
|
416 |
|
|
* src/sys/netinet6/in6_pcb.c: rename errno to _errno to avoid conflict.
|
417 |
|
|
* src/sys/netinet6/in6_ifattach.c: Prototype for _show_ifp().
|
418 |
|
|
* src/sys/netinet6/in6.c: Prototype for _show_ifp().
|
419 |
|
|
|
420 |
|
|
2003-07-28 Jay Foster
|
421 |
|
|
|
422 |
|
|
* src/sys/kern/sockio.c:
|
423 |
|
|
Fixed memory leak in accept() call.
|
424 |
|
|
|
425 |
|
|
2003-07-24 Nick Garnett
|
426 |
|
|
|
427 |
|
|
* include/netinet/in.h:
|
428 |
|
|
* src/sys/kern/uipc_accf.c:
|
429 |
|
|
* src/sys/kern/uipc_socket.c:
|
430 |
|
|
* src/sys/net/route.c:
|
431 |
|
|
* src/sys/netinet/ip_icmp.c:
|
432 |
|
|
* src/sys/netinet/ip_input.c:
|
433 |
|
|
Fixed some compiler warnings.
|
434 |
|
|
|
435 |
|
|
2003-06-12 Motoya Kurotsu
|
436 |
|
|
|
437 |
|
|
* src/sys/netinet/ip_input.c(ip_reass):
|
438 |
|
|
ip_nfragpackets is increasing by dropping fragments due to mbuf
|
439 |
|
|
starvation and eventually exceeds ip_maxfragpackets, which
|
440 |
|
|
results in refusing all fragments later. On the other hand, nipq
|
441 |
|
|
and maxnipq can be used as a substitute for ip_nfragpackets and
|
442 |
|
|
ip_maxfragpackets. This fix is the collection of the fixes done
|
443 |
|
|
at the following revisions of freebsd main branch; 1.221, 1.222,
|
444 |
|
|
1.223 and 1.229.
|
445 |
|
|
|
446 |
|
|
2003-06-23 Michael Checky
|
447 |
|
|
|
448 |
|
|
* include/netinet/icmp_var.h: Changed icmpstat definition to a
|
449 |
|
|
declaration so stopping ld from generating a multiple symbol
|
450 |
|
|
definition error if combining of common symbols is disabled in the
|
451 |
|
|
toolchain.
|
452 |
|
|
* src/sys/netinet/ip_icmp.c: Added an icmpstat definition.
|
453 |
|
|
|
454 |
|
|
2003-06-23 Jay Foster
|
455 |
|
|
|
456 |
|
|
* src/ecos/support.c: Increase the stack size for the background
|
457 |
|
|
thread when IPv6 is enabled otherwise the stack overflows.
|
458 |
|
|
|
459 |
|
|
2003-06-09 Nick Garnett
|
460 |
|
|
|
461 |
|
|
* src/ecos/synch.c (spl_any): Put call to cyg_mutex_lock() into a
|
462 |
|
|
loop so that releases of the current thread do not get mistaken
|
463 |
|
|
for locks and trigger the asserts.
|
464 |
|
|
|
465 |
|
|
* include/sys/malloc.h (M_DEVBUF): Added this definition.
|
466 |
|
|
|
467 |
|
|
* include/netinet/in.h: Changed size of sockaddr_in.sin_zero[] to
|
468 |
|
|
24 bytes. This makes a sockaddr_in the same size as a sockaddr.
|
469 |
|
|
Otherwise the definitions of things like ifaliasreq and
|
470 |
|
|
in_aliasreq do not match when they should.
|
471 |
|
|
|
472 |
|
|
2003-05-12 Motoya Kurotsu
|
473 |
|
|
|
474 |
|
|
* src/ecos/timeout.c (do_timeout): The head of the linked list of
|
475 |
|
|
timers is timeout, not _timeout.
|
476 |
|
|
* src/ecos/timeout.c (timeout): Linear search the array for empty
|
477 |
|
|
entries and don't walk it like a linked list, because it is not.
|
478 |
|
|
* src/ecos/timeout.c (untimeout): Linear search is faster since
|
479 |
|
|
there are many entries in the linked list which are not in the
|
480 |
|
|
array.
|
481 |
|
|
|
482 |
|
|
2003-05-12 Andrew Lunn
|
483 |
|
|
|
484 |
|
|
* src/ecos/support.c (_show_ifp): Display the IPv6 flag
|
485 |
|
|
information.
|
486 |
|
|
|
487 |
|
|
2003-05-04 Gary Thomas
|
488 |
|
|
|
489 |
|
|
* src/ecos/support.c:
|
490 |
|
|
* cdl/freebsd_net.cdl: Add option to force initialization [debug]
|
491 |
|
|
messages to go to a serial console. This seems to be necessary
|
492 |
|
|
on some hardware as the init sequence can totally foul up a
|
493 |
|
|
network [debug] connection.
|
494 |
|
|
|
495 |
|
|
2003-04-28 Andrew Lunn
|
496 |
|
|
|
497 |
|
|
* src/ecos/support.c (cyg_net_malloc): Honour the flag M_ZERO,
|
498 |
|
|
otherwise we end up with junk where we don't want it.
|
499 |
|
|
|
500 |
|
|
2003-04-11 Michael Checky
|
501 |
|
|
|
502 |
|
|
* cdl/freebsd_net.cdl: Deleted the
|
503 |
|
|
'CYGPKG_NET_FREEBSD_STACK_BUILD_TESTS'
|
504 |
|
|
component because these tests are in the net.cdl component
|
505 |
|
|
'CYGPKG_NET_BUILD_TESTS' and selecting this option in freebsd_net.cdl
|
506 |
|
|
causes build errors.
|
507 |
|
|
|
508 |
|
|
2003-04-05 Andrew Lunn
|
509 |
|
|
|
510 |
|
|
* src/ecos/support.c (_show_ifp): Now understands IPv6
|
511 |
|
|
addresses and network masks and added a few more flags
|
512 |
|
|
* src/sys/net/route.c (rt_reinit_rtdelete): Only delete IPv4
|
513 |
|
|
routes so that DHCP and BOOTP works and leave IPv6 routes so IPv6
|
514 |
|
|
also keeps working.
|
515 |
|
|
|
516 |
|
|
2003-03-14 Nick Garnett
|
517 |
|
|
|
518 |
|
|
* src/ecos/support.c: Added function cyg_net_show_mbufs() and code
|
519 |
|
|
in cyg_net_mbuf_alloc() to accumulate and optionally display
|
520 |
|
|
information about the current set of mbufs. This is mostly a
|
521 |
|
|
debugging feature and is disabled by default.
|
522 |
|
|
|
523 |
|
|
* include/sys/mbuf.h: Added prototype for cyg_net_show_mbufs().
|
524 |
|
|
|
525 |
|
|
2003-03-14 Andrew Lunn
|
526 |
|
|
|
527 |
|
|
* src/sys/net/if.c (if_attach): Removed printf which causes the
|
528 |
|
|
ethernet device to become corrupt. At this point the app driver
|
529 |
|
|
has started but not completed taking over from the redboot
|
530 |
|
|
driver. It is unsafe for redboot to use the ethernet device.
|
531 |
|
|
|
532 |
|
|
2003-02-24 Jonathan Larmour
|
533 |
|
|
|
534 |
|
|
* cdl/freebsd_net.cdl: Fix doc link.
|
535 |
|
|
|
536 |
|
|
2003-02-18 Jonathan Larmour
|
537 |
|
|
|
538 |
|
|
* cdl/freebsd_net.cdl: Remove unused NBPFILTER and BRIDGE CDL options.
|
539 |
|
|
|
540 |
|
|
2003-02-14 Jonathan Larmour
|
541 |
|
|
|
542 |
|
|
* doc/freebsd.sgml: new_net template is now just "net".
|
543 |
|
|
|
544 |
|
|
2003-02-12 Jani Monoses
|
545 |
|
|
|
546 |
|
|
* src/sys/kern/sockio.c: bsd_getinfo/bsd_setinfo should have
|
547 |
|
|
void * args. Silences warnings.
|
548 |
|
|
* src/sys/kern/uipc_socket.c (sopoll): Use __FUNCTION__ correctly
|
549 |
|
|
for GCC 3.x.
|
550 |
|
|
* src/sys/net/if_ethersubr.c: Put comments for stuff after endifs
|
551 |
|
|
to silence warnings.
|
552 |
|
|
* src/sys/net/if_loop.c: Ditto.
|
553 |
|
|
|
554 |
|
|
2003-02-04 Gary Thomas
|
555 |
|
|
|
556 |
|
|
* include/sys/bsdtypes.h: Workaround when building with new
|
557 |
|
|
Linux compatability package (which over-defines some symols
|
558 |
|
|
defined in this module).
|
559 |
|
|
|
560 |
|
|
2002-12-03 Gary Thomas
|
561 |
|
|
|
562 |
|
|
* src/ecos/support.c (show_network_tables): New function to
|
563 |
|
|
print information about network tables (interfaces, routing).
|
564 |
|
|
|
565 |
|
|
2002-11-12 Gary Thomas
|
566 |
|
|
|
567 |
|
|
* src/ecos/timeout.c (callout_reset): Check for finding the
|
568 |
|
|
correct "delta" was wrong - only used with asserts enabled.
|
569 |
|
|
|
570 |
|
|
* include/sys/uio.h: Compatability wrapper to expose 'iovec'
|
571 |
|
|
functions - used by many network programs.
|
572 |
|
|
|
573 |
|
|
2002-11-04 Gary Thomas
|
574 |
|
|
|
575 |
|
|
* src/sys/net/if.c (if_attach): Moved check for ifq_maxlen to
|
576 |
|
|
this function since it can't be checked until the device comes
|
577 |
|
|
online, which may not be a sysinit time for PCMCIA devices.
|
578 |
|
|
|
579 |
|
|
2002-11-03 Gary Thomas
|
580 |
|
|
|
581 |
|
|
* src/sys/kern/sockio.c (bsd_getname): Fix error where getsockname()
|
582 |
|
|
was actually performing getpeername().
|
583 |
|
|
|
584 |
|
|
* include/sys/uio.h: New file - compatability wrapper.
|
585 |
|
|
|
586 |
|
|
2002-07-31 Gary Thomas
|
587 |
|
|
|
588 |
|
|
* src/sys/netinet/in_cksum.c: Fix problem on big endian machines.
|
589 |
|
|
|
590 |
|
|
2002-07-26 Gary Thomas
|
591 |
|
|
2002-07-26 Ken Cox
|
592 |
|
|
|
593 |
|
|
* src/ecos/support.c (ovbcopy): ovbcopy() must handle the case
|
594 |
|
|
where the src and dst regions are overlayed. memcpy() does not
|
595 |
|
|
handle this case, but memmove() does.
|
596 |
|
|
|
597 |
|
|
2002-07-10 Gary Thomas
|
598 |
|
|
|
599 |
|
|
* src/sys/netinet/udp_usrreq.c:
|
600 |
|
|
* src/sys/netinet/tcp_subr.c:
|
601 |
|
|
* src/sys/netinet/in_pcb.c: Rename 'errno' function parameter
|
602 |
|
|
since some compilers have problems with this.
|
603 |
|
|
|
604 |
|
|
2002-07-08 Gary Thomas
|
605 |
|
|
|
606 |
|
|
* include/sys/param.h: Need which may or may not be
|
607 |
|
|
already present, depending on configuration.
|
608 |
|
|
|
609 |
|
|
2002-06-20 Gary Thomas
|
610 |
|
|
|
611 |
|
|
* include/sys/param.h (sprintf): Map to diag_sprintf().
|
612 |
|
|
|
613 |
|
|
2002-06-14 Gary Thomas
|
614 |
|
|
|
615 |
|
|
* src/ecos/support.c:
|
616 |
|
|
Fix compile errors when CYGDBG_NET_TIMING_STATS enabled.
|
617 |
|
|
|
618 |
|
|
2002-06-05 Gary Thomas
|
619 |
|
|
|
620 |
|
|
* include/netinet/in.h: Rename 'ip_opts' field (using the same
|
621 |
|
|
name as the structure is illegal in C++).
|
622 |
|
|
|
623 |
|
|
2002-05-14 Jesper Skov
|
624 |
|
|
|
625 |
|
|
* include/netinet6/in6.h: Fixed warnings.
|
626 |
|
|
|
627 |
|
|
2002-04-22 Gary Thomas
|
628 |
|
|
|
629 |
|
|
* src/sys/netinet6/nd6.c: Make debug (on) default.
|
630 |
|
|
|
631 |
|
|
* include/netinet/tcp_debug.h: Fully conditionalize debug facility.
|
632 |
|
|
|
633 |
|
|
2002-04-17 Gary Thomas
|
634 |
|
|
|
635 |
|
|
* include/sys/socket.h: Remove definitions only used by sysctl
|
636 |
|
|
since their presence could be misleading.
|
637 |
|
|
|
638 |
|
|
* src/ecos/support.c (STACK_SIZE): Remove [debug/testing] bloat.
|
639 |
|
|
|
640 |
|
|
2002-03-30 Gary Thomas
|
641 |
|
|
|
642 |
|
|
* include/machine/types.h: [Placeholder] needed for some compilers.
|
643 |
|
|
|
644 |
|
|
2002-03-28 Gary Thomas
|
645 |
|
|
|
646 |
|
|
* src/sys/netinet/ip_icmp.c:
|
647 |
|
|
* include/sys/param.h:
|
648 |
|
|
* include/netinet/icmp_var.h: Export status structure for SNMP.
|
649 |
|
|
|
650 |
|
|
* cdl/freebsd_net.cdl: Augment log facilities to what SNMP uses.
|
651 |
|
|
|
652 |
|
|
2002-03-27 Gary Thomas
|
653 |
|
|
|
654 |
|
|
* include/sys/param.h (log): Remove warning.
|
655 |
|
|
|
656 |
|
|
2002-03-25 Gary Thomas
|
657 |
|
|
|
658 |
|
|
* src/ecos/support.c (zinit): Add more record keeping (and debug
|
659 |
|
|
prints) for zones.
|
660 |
|
|
|
661 |
|
|
* src/ecos/timeout.c (do_timeout): Don't reset ACTIVE when running
|
662 |
|
|
a timeout (since it confuses the TCP timer code).
|
663 |
|
|
|
664 |
|
|
2002-03-23 Gary Thomas
|
665 |
|
|
|
666 |
|
|
* src/sys/netinet/in_cksum.c (in_addword): Changed to use uint32 since
|
667 |
|
|
uint64 was wasteful (and failed on some architectures!)
|
668 |
|
|
|
669 |
|
|
2002-03-20 Gary Thomas
|
670 |
|
|
|
671 |
|
|
* include/sys/socket.h: Force struct sockaddr to be at least as
|
672 |
|
|
big as IPv4 or IPv6 sockets. Possibly this could be a little
|
673 |
|
|
cleaner, but at least now it's safe for programs to use sockaddr
|
674 |
|
|
variables in either environment.
|
675 |
|
|
|
676 |
|
|
2002-03-11 Hugo Tyson
|
677 |
|
|
|
678 |
|
|
[Case 107110]
|
679 |
|
|
|
680 |
|
|
* src/sys/netinet/in.c (in_control): SIOCSIFADDR switch entry
|
681 |
|
|
moved to before the scan for this same address being in the list
|
682 |
|
|
already, along with Add and Delete (SIOCAIFADDR,SIOCDIFADDR) arms.
|
683 |
|
|
It falls through into the same alloc-if-needed code anyway.
|
684 |
|
|
Thus repeatedly setting the same address does not leak store.
|
685 |
|
|
|
686 |
|
|
* src/sys/net/route.c (route_reinit): Rewrite to delete all routes
|
687 |
|
|
individually rather than en-masse (leaking store).
|
688 |
|
|
(rt_reinit_rtdelete): New function; callback for individual
|
689 |
|
|
deletion.
|
690 |
|
|
(rtioctl): Do not pass in a "route **" to return a pointer to the
|
691 |
|
|
route removed or added; this results in an extra reference, by the
|
692 |
|
|
returned pointer, and so a storeleak.
|
693 |
|
|
(rtrequest): RTM_DELETE arm: do not free a gateway route if the
|
694 |
|
|
gateway pointer is the same as the route itself - it gets freed
|
695 |
|
|
*again* at the end of the routine if you do. Just dec the refcnt.
|
696 |
|
|
|
697 |
|
|
2002-03-08 Gary Thomas
|
698 |
|
|
|
699 |
|
|
* src/sys/net/if_loop.c (loioctl): Force IFF_LOOPBACK setting.
|
700 |
|
|
|
701 |
|
|
* src/sys/kern/uipc_mbuf.c: Remove some warnings [from munging].
|
702 |
|
|
|
703 |
|
|
* src/ecos/support.c (cyg_net_init): Identify init messages.
|
704 |
|
|
|
705 |
|
|
* include/sys/param.h (nstab,nstab_end): These are not defined
|
706 |
|
|
within the network package and thus should not be munged.
|
707 |
|
|
|
708 |
|
|
* include/net/if.h: Add "IFF_LOOPBACK" to set of flags which
|
709 |
|
|
cannot be changed outside the kernel. Note: this is a change
|
710 |
|
|
from the "normal" BSD code. It was done to keep old code
|
711 |
|
|
working, but it may break some new code.
|
712 |
|
|
|
713 |
|
|
2002-03-07 Gary Thomas
|
714 |
|
|
|
715 |
|
|
* src/sys/kern/uipc_mbuf.c: Work over for the namespace changes.
|
716 |
|
|
|
717 |
|
|
* include/sys/param.h: Complete namespace munging; privatize
|
718 |
|
|
all kernel symbols via "cyg_" prefix.
|
719 |
|
|
|
720 |
|
|
2002-02-05 Hugo Tyson
|
721 |
|
|
|
722 |
|
|
* cdl/freebsd_net.cdl: Position this package below CYGPKG_NET
|
723 |
|
|
ie. the common networking package. Only affects the view in the
|
724 |
|
|
GUI CT, no big deal.
|
725 |
|
|
|
726 |
|
|
# ####GPLCOPYRIGHTBEGIN####
|
727 |
|
|
# -------------------------------------------
|
728 |
|
|
# This file is part of eCos, the Embedded Configurable Operating System.
|
729 |
|
|
# Copyright (C) 2000, 2001, 2002, 2010, 2011 Free Software Foundation, Inc.
|
730 |
|
|
#
|
731 |
|
|
# This program is free software; you can redistribute it and/or modify
|
732 |
|
|
# it under the terms of the GNU General Public License as published by
|
733 |
|
|
# the Free Software Foundation; either version 2 or (at your option) any
|
734 |
|
|
# later version.
|
735 |
|
|
#
|
736 |
|
|
# This program is distributed in the hope that it will be useful, but
|
737 |
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
738 |
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
739 |
|
|
# General Public License for more details.
|
740 |
|
|
#
|
741 |
|
|
# You should have received a copy of the GNU General Public License
|
742 |
|
|
# along with this program; if not, write to the
|
743 |
|
|
# Free Software Foundation, Inc., 51 Franklin Street,
|
744 |
|
|
# Fifth Floor, Boston, MA 02110-1301, USA.
|
745 |
|
|
# -------------------------------------------
|
746 |
|
|
# ####GPLCOPYRIGHTEND####
|