goldsimon
|
2f53df93e8
|
Removed printf formatter warning introduced by last check-in (changed local variable from u32_t to u16_t)
|
2007-04-02 20:34:18 +00:00 |
|
fbernon
|
996d5fda69
|
ip.c: if IP_REASSEMBLY is set to 1, don't set the IP_DF ("Don't fragment") flag in the IP header in IP output packets.
|
2007-03-30 13:30:42 +00:00 |
|
fbernon
|
4208bcd8d1
|
Fix on NETIF_FLAG_ETHARP test (test inverted)
|
2007-03-30 09:25:41 +00:00 |
|
fbernon
|
5368a760cf
|
most of files: prefix all debug.h define with "LWIP_" to avoid any conflict with others environment defines (these were too "generic").
|
2007-03-30 08:47:04 +00:00 |
|
fbernon
|
c1fe7517ec
|
opt.h, netif.h, dhcp.h, dhcp.c: New configuration option LWIP_NETIF_HOSTNAME allow to define a hostname in netif struct (this is just a pointer, so, you can use a hardcoded string, point on one of your's ethernetif field, or alloc a string you will free yourself). It will be used by DHCP to register a client hostname, but can also be use when you call snmp_set_sysname.
|
2007-03-28 09:39:12 +00:00 |
|
fbernon
|
cd1c96db56
|
netif.h, netif.c: A new NETIF_FLAG_ETHARP flag is defined in netif.h, to allow to initialize a network interface's flag with. It tell this interface is an ethernet device, and we can use ARP with it to do a "gratuitous ARP" (RFC 3220 "IP Mobility Support for IPv4" section 4.6) when interface is "up" with netif_set_up().
|
2007-03-28 09:23:35 +00:00 |
|
goldsimon
|
4aee4c1ac7
|
Free pbuf if pbuf_header() fails
|
2007-03-26 19:27:11 +00:00 |
|
goldsimon
|
7aea2cd6f1
|
Remove warnings: "converting from 'u32_t' to 'u16_t': possible loss of data": check that received timeout values fit into u16_t.
|
2007-03-26 18:52:52 +00:00 |
|
goldsimon
|
028d707077
|
Remove warning in netif_add(): "converting from 's16' to 'u8_t': possible loss of data" (static variable netifnum)
|
2007-03-26 17:19:12 +00:00 |
|
goldsimon
|
c9df03d1a9
|
Remove warnings: "comparision between signed and unsigned" and "converting from 'unsigned long' to 'u8_t': possible loss of data"
|
2007-03-26 17:15:23 +00:00 |
|
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 |
|