jani
441e9b8431
add tcpip_callback patch from Marc
23 years ago
davidhaas
f9f21934ab
Fix to last fix for bug 2826: find_arp_entry() was now not finding any
...
entries unless there was an attached buffer. Fixed so that it finds entries
without attached buffer.
Also: Now attaching buffer to arp queue before sending arp request. For
Coldfire, where ethernet receive is done under interrupts arp response was
received before buffer was attached, thus causing attached frame to never get
transmitted.
23 years ago
davidhaas
2673568cfd
Added default settings for DBG_MIN_LEVEL and definitions for the possible
...
levels.
23 years ago
likewise
45c13ad08f
Fixed bug #2826 (re-use of oldest ARP entry with queued packet leaks pbuf). Only if ARP_QUEUEING == 1.
23 years ago
likewise
76d395c8de
Fixed bug #2841 (etharp.c packet queueing always picks table entry 6).
23 years ago
likewise
090b4087fc
Using a negated unsigned value as func. arg. fails for Keil C166 compilers.
23 years ago
likewise
7ece19c474
pbuf_unfold_reply() lost memory if already unfold.
...
dhcp_stop() leaked memory if a unfold reply was still in existance.
23 years ago
likewise
dbdd0f520f
Added source comments.
23 years ago
likewise
d47ef79c04
Moved DBG_MIN_LEVEL out of here to lwipopts.h
23 years ago
likewise
400ff200ee
Added comments on some ARP options.
23 years ago
likewise
daeb21b3b9
Include "netif.h" for ntohl and friends.
23 years ago
likewise
7e36c58529
Make sure that BYTE_ORDER is actually defined. Panic with #error if not.
23 years ago
likewise
aa84869fdb
Fixed cyclic dependency by including netif.h. Not sure if this breaks other compilers?
23 years ago
likewise
bd6b1a0237
DBG_TYPES_ON added (must be overridden in lwipopts.h).
23 years ago
likewise
adf088e575
DBG_TYPES_ON removed (must be in lwipopts.h instead).
23 years ago
jani
8613f2a48e
factor out netif_set_addr so address of netif can be changed
23 years ago
jani
f308f7cc80
Add sys_untimeout stub in case of NO_SYS
23 years ago
jani
eb1a41f3c9
socket functions use socklen_t, patch from floriZ.Also set/getsockopt use void * instead of char * as fourth arg
23 years ago
davidhaas
ee2c049518
Fixed build for coldfire after last debug.h and opt.h changes.
23 years ago
jani
0ba9a45d32
icmp messages need only PBUF_IP layer
23 years ago
jani
bcfc7173f3
default value for NO_SYS
23 years ago
jani
d390ca7056
cleaned up opt.h a bit, added more option defaults ad changed SYS_LIGHTWEIGHT_PROT to be a 0/1 define.The same for COMPAT_SOCKET
23 years ago
jani
18df3961e9
byte-order handling functions are in inet.c now and the uperrcase counterparts are gone. opt.h has all the
...
configurable items debug does not need to be directly included.
23 years ago
jani
d372121d6e
dhcp.h and ip.h declare struct netif and don't include netif.h to avoid warnings.
23 years ago
jani
8e9aa84070
do not directly include lwipopts.h but lwip/opt.h instead
23 years ago
jani
6319ffbcb8
delete ethernetif.h
23 years ago
likewise
d1c03cbd69
Fixed some issues open after merging 'leon-dhcp'.
23 years ago
likewise
37629fc1b6
Fixed some issues open after merging 'leon-dhcp'. Added new debugging.
23 years ago
jani
cc31bb9358
make netif->init return err_t instead of void.Patch from David Le Corfec
23 years ago
jani
35ef1e1b86
fix compiler error
23 years ago
likewise
d8d787545e
Merged with leon-dhcp branch. Tagged as POST_leon-dhcp afterwards.
23 years ago
likewise
0a51d72098
Removed Id: fields as they give conflicts while merging to leon-dhcp branch.
23 years ago
davidhaas
e13c78820f
Fixed SYS_ARCH_PROTECT macros when NO_SYS is not defined.
...
Added documentation for lightweight protection.
Fixed debug statement in ip.c.
Removed tabs in files I changed.
23 years ago
davidhaas
7f1becc682
Allow minimal unix target to build in cygwin (but not necessarily run).
...
Applied a patch from Marc Boucher which has the following changes:
1) Fixed sys_arch.txt documentation to have new return type from
sys_thread_new.
2) Removed unnecessary casts on calling sys_timeout() in certain files.
3) Removed some unnecessary break statements after return statements.
4) Changed sys_timeout_remove() to sys_untimeout().
5) Added some forgotten #ifndef SYS_LIGHTWEIGHT_PROT to memp.c
6) Changed LWIP_DIAG and LWIP_PLATFORM_ASSERT to have do while().
23 years ago
likewise
1660e800e0
Made UDP flag defines unsigned (by adding the U suffix).
23 years ago
jani
da40fbd054
move FD_SET defines to sockets.h from arch.h .Last arg of select is not a const according to linux and openBSD manpages
23 years ago
likewise
90bc698a40
Lightweight protection macros were not defined if NO_SYS was defined.
23 years ago
likewise
cb6cec0404
Disabled too restrictive behaviour in _bind() and _connect(). Reimplementation pending.
23 years ago
davidhaas
de29a0818e
By request: moved lightweight protection to macros.
23 years ago
davidhaas
4fc309b1dd
Made sys_arch_prot() interface more generic by returning sys_prot_t instead
...
of u32_t.
23 years ago
davidhaas
353478180d
Fix some compile issues with both coldfire and unix builds.
23 years ago
jani
ea66eb6c23
one more C++ comment changed two prototypes added for the SNMP = 1 case
23 years ago
davidhaas
7b3e158c92
sys_thread_new() now returns the thread (request from Marc Boucher).
...
Removed some unused .h files in coldfire port.
Support LWIP_DIAG and LWIP_ASSERT in coldfire (sort of).
Fix to last api fix to make sure select() is triggered, even when there has
been a FIN.
Allow build of unixsim from cygwin by specifying "make ARCH=cygwin" or from
linux by specifying "make ARCH=linux".
23 years ago
jani
848dea2058
Only access non-NULL pbufs on some paths where they can be NULL in newly introduced callback code
23 years ago
jani
f2d35751ca
fix doxygen comment for netif_add
23 years ago
jani
16833de1cf
remove list.h
23 years ago
likewise
0cb0cd6611
C instead of C++ style comments.
23 years ago
davidhaas
dc49999124
Fixed some build issues regarding snmp.h
23 years ago
likewise
daebdd1d77
Removed my #error.
23 years ago
likewise
c68ee2b2ed
SNMP functions are now unconditionally called and defined empty if LWIP_SNMP == 0
...
This removes a lot of #if #endif cluttering the source code.
23 years ago