fbernon
|
e54cd23ecb
|
stats.h, stats.c, msg_in.c: Stats counters can be change to u32_t if necessary with the new option LWIP_STATS_LARGE. If you need this option, define LWIP_STATS_LARGE to 1 in your lwipopts.h. More, unused counters are not defined in the stats structs, and not display by stats_display(). Note that some options (SYS_STATS and RAW_STATS) are defined but never used. Fix msg_in.c with the correct #if test for a stat display.
|
2007-03-22 16:36:45 +00:00 |
|
fbernon
|
bb34d8cfd1
|
api_msg.c, igmp.c, igmp.h: Fix C++ style comments
|
2007-03-21 14:47:52 +00:00 |
|
fbernon
|
a880469d7d
|
Remove obsolete include from my port.
|
2007-03-21 13:57:45 +00:00 |
|
kieranm
|
e5147d5562
|
* netif.c, netif.h: Apply patch#4197 with some changes (originator: rireland@hmgsl.com).
Provides callback on netif up/down state change.
|
2007-03-21 13:24:20 +00:00 |
|
kieranm
|
7294cb080b
|
* Fix all uses of pbuf_header to check the return value. In some
cases just assert if it fails as I'm not sure how to fix them, but
this is no worse than before when they would carry on regardless
of the failure.
|
2007-03-21 12:55:00 +00:00 |
|
kieranm
|
b422864d5d
|
sockets.c, igmp.c, igmp.h, memp.h: Fix C++ style comments and
comment out missing header include in icmp.c
|
2007-03-21 12:50:04 +00:00 |
|
fbernon
|
eab3667b61
|
memp.h, stats.c: Fix stats_display function where memp_names table wasn't synchronized with memp.h
|
2007-03-20 18:12:06 +00:00 |
|
kieranm
|
b290f0442d
|
udp.c: Only try and use pbuf_header() to make space for headers if
not a ROM or REF pbuf.
|
2007-03-20 16:58:08 +00:00 |
|
goldsimon
|
3bb13829fe
|
checked in patch #5796: pbuf_alloc: len field claculation caused memory corruption.
|
2007-03-11 20:07:37 +00:00 |
|
fbernon
|
1af676385c
|
Add igmp.h and igmp.c inside tree :
src/core/ipv4/igmp.c
src/include/ipv4/lwip/igmp.h
|
2007-03-11 19:45:32 +00:00 |
|
fbernon
|
a24a170b84
|
New configuration option LWIP_IGMP to enable IGMP processing. Based on only one filter per all network interfaces. Declare a new function in netif to enable to control the MAC filter (to reduce lwIP traffic processing).
Mace Gael for the upper layers, Steve Reynolds for lower ones...
|
2007-03-11 19:16:38 +00:00 |
|
fbernon
|
5c65d4733b
|
Keepalive values can be configured at run time with LWIP_TCP_KEEPALIVE, but don't change this unless you know what you're doing (default are RFC1122 compliant). Note that TCP_KEEPIDLE and TCP_KEEPINTVL have to be set in seconds.
Old TCP_KEEPALIVE can always be used, and its only difference with TCP_KEEPIDLE is this last use seconds and not milliseconds with setsockopt.
Some documentation (not perfect, but...):
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.commtechref/doc/commtrf2/setsockopt.htm
|
2007-03-11 15:53:43 +00:00 |
|
goldsimon
|
41a84ef1d3
|
Fixed bug #11400-2: New etharp queueing introduced bug: memp_memory was allocated too small.
|
2007-03-09 07:15:04 +00:00 |
|
fbernon
|
fdcb87db19
|
Implement LWIP_SO_RCVTIMEO configuration option to enable/disable SO_RCVTIMEO on UDP sockets/netconn.
|
2007-03-08 20:58:46 +00:00 |
|
goldsimon
|
5eabd4591a
|
SNMP UDP ports can be configured at compile time
|
2007-03-08 10:32:29 +00:00 |
|
goldsimon
|
91afefa61a
|
Reverted pbuf_alloc() to REV 1.82
|
2007-03-07 15:47:54 +00:00 |
|
fbernon
|
7cda728469
|
Fix some "little" build problems, and a redundancy call to "lwip_stats.link.recv++;" in low_level_input() & ethernetif_input().
If LINK_STATS was defined, tcpip.c couldn't be build.
Even if IP_FRAG or IP_REASSEMBLY were set, ip_frag.c functions are not build.
|
2007-03-06 19:31:49 +00:00 |
|
fbernon
|
7fd37d4e87
|
Implement SO_RCVTIMEO on UDP sockets/netconn.
|
2007-03-06 16:41:02 +00:00 |
|
goldsimon
|
874bfe19d2
|
Reduce code size: don't include code in those files if IP_FRAG == 0 and IP_REASSEMBLY == 0
|
2007-03-06 15:27:58 +00:00 |
|
goldsimon
|
7b54ddd828
|
Corrected patch to bug #19168
|
2007-03-04 17:21:43 +00:00 |
|
goldsimon
|
9da7afb345
|
Fixed buf #19168 based on patch by Dmitry Potapov
|
2007-03-04 12:45:58 +00:00 |
|
goldsimon
|
1f544e087b
|
Fix BUG#11400 - don't corrupt existing pbuf chain when enqueuing multiple pbufs to a pending ARP request
|
2007-03-04 12:12:42 +00:00 |
|
fbernon
|
e1b6a4cb21
|
udp.c: remove obsolete line "static struct udp_pcb *pcb_cache = NULL;"
Its is static, and never used in udp.c except udp_init().
|
2007-03-03 17:00:44 +00:00 |
|
kieranm
|
527d18a526
|
2007-02-28 Kieran Mansley (based on patch from Simon Goldschmidt)
* api_lib.c, tcpip.c, memp.c, memp.h: make API msg structs allocated
on the stack and remove the API msg type from memp
|
2007-02-28 14:15:43 +00:00 |
|
kieranm
|
5ace5976a1
|
* pbuf.c: Fix BUG#17645 - ensure pbuf payload pointer is not moved
outside the region of the pbuf by pbuf_header()
|
2007-02-28 13:45:35 +00:00 |
|
jifl
|
f4f2bfe379
|
Ensure the size of each pbuf in the pool meets alignment constraints
|
2007-02-27 16:50:05 +00:00 |
|
christiaans
|
11f2e8d1a6
|
Added MEM_LIBC_MALLOC option as workaround for failing mem_malloc().
|
2006-12-04 08:24:25 +00:00 |
|
christiaans
|
36e6c26545
|
Included xid to some DEBUGFs.
|
2006-12-01 13:52:07 +00:00 |
|
christiaans
|
9a68f74857
|
Fixed false triggers of request_timeout.
|
2006-11-30 16:25:43 +00:00 |
|
christiaans
|
b96c15890c
|
Disabled alignment fix. Stepping back, #17922 fix fails on my target, DHCP won't start, I don't understand.
|
2006-11-28 13:29:05 +00:00 |
|
christiaans
|
5a6b26d69e
|
In netif_add() fixed clearing of ip_addr, netmask, gw and flags.
|
2006-11-28 13:12:15 +00:00 |
|
christiaans
|
a3d912a801
|
Fixed uninitalized variable warnings (using gcc 4.1.1)
|
2006-11-27 15:37:44 +00:00 |
|
christiaans
|
b4f1deaa46
|
Accepted patch #5493 IP frag/reass config item tweak.
|
2006-11-27 14:48:21 +00:00 |
|
christiaans
|
976bce4c7f
|
Changed heap to use naturally aligned start address and added near-fit case to #17922 fix.
|
2006-11-27 14:23:24 +00:00 |
|
christiaans
|
77e0f77850
|
Added snmp_send_trap() parameter, caller must pass enterprise id for enterprise secific traps.
|
2006-11-27 08:43:10 +00:00 |
|
christiaans
|
a885cbf8ed
|
Removed mem_dump() reference.
|
2006-11-22 09:56:39 +00:00 |
|
christiaans
|
b6af5d9bda
|
Initial attempt at fixing bug #17922, calling for reviewers. This seems to work for me, more or less, but it looks like it breaks TCP.
|
2006-11-22 08:27:38 +00:00 |
|
christiaans
|
b72677c3ce
|
Added missing NULL return checks for snmp_mib_lrn_alloc() and trimmed whitespace at line ends.
|
2006-11-17 11:07:25 +00:00 |
|
christiaans
|
5e44122552
|
Trimmed whitespace at line ends.
|
2006-11-17 11:05:26 +00:00 |
|
christiaans
|
d4b6471d39
|
Replaced tabs with space.
|
2006-11-17 10:51:13 +00:00 |
|
christiaans
|
2f41e2b0ec
|
Made ip_id static again, fixing bug #18065. This is required when outputting IP fragments.
|
2006-11-01 09:33:14 +00:00 |
|
christiaans
|
4e583dab2e
|
Again, fixed decoding of negative integers in snmp_asn1_dec_s32t(), tnx to though testing by Sander.
|
2006-10-13 13:45:06 +00:00 |
|
christiaans
|
bc182cab7c
|
Removed EXPERIMENTAL status.
|
2006-10-13 12:00:35 +00:00 |
|
christiaans
|
f6f6f11838
|
Fixed decoding of negative integers in snmp_asn1_dec_s32t(), removed EXPERIMENTAL status.
|
2006-10-13 11:59:45 +00:00 |
|
christiaans
|
b5f4672155
|
Partially accepted patch #5449 for ANSI C compatibility / build fixes. Fixed bug #17574 corrected UDP-Lite protocol identifier.
|
2006-10-11 12:04:04 +00:00 |
|
christiaans
|
2539b5cf61
|
Fixed up mib_external_node support, snmpwalk works for external objects.
|
2006-10-06 08:41:24 +00:00 |
|
christiaans
|
f7881e58bb
|
Improved message parse robustness. Rejecting 'error requests'. Removed invalid genError return on varbindlist parse error, changed badValue into noSuchName error for non-writeable objects.
|
2006-10-04 09:15:23 +00:00 |
|
christiaans
|
25ed4e9d16
|
Fixed clearing of head and tail pointers in snmp_mib_node_delete().
|
2006-10-03 10:41:48 +00:00 |
|
christiaans
|
cfb082a20b
|
Added external mibnode panic closure functions, tobe called for error responses.
|
2006-10-02 10:13:04 +00:00 |
|
christiaans
|
e440590c37
|
Fixed snmp_mib_node_insert() to return 2, for node present (not inserted). Also solves invalid rootnode count for this case.
|
2006-09-29 13:34:38 +00:00 |
|