idelamer
629fad6f5f
Minor edits for for IPv6 compilation
15 years ago
goldsimon
2911c84a69
Fixed compilation error after converting sockaddr_aligned from struct to union
15 years ago
goldsimon
89a1420609
Fix compilation error when checking for hidden variable names ('s8_t i' was hidden in some case statements in nd6_input()).
15 years ago
goldsimon
e584557afe
- sockaddr_aligned: use a union instead of a manually aligned struct;
...
- fixed compilation for different configurations
15 years ago
goldsimon
2ed5413e24
use const char for name pointers in display functions
15 years ago
goldsimon
91532b2d5c
Removed unused static function
15 years ago
goldsimon
732cac1c0e
Moved static variable from inside the function to global scope
15 years ago
goldsimon
5b04860b8b
Moved common call to pbuf_header outside the switch()
15 years ago
goldsimon
5a674f419d
Restructured the code a bit to help my dump compiler not creating a jump table in ROM
15 years ago
goldsimon
d30246dc05
Fixed bug #33492 (fixed stats for IPv6 protocols)
15 years ago
goldsimon
af5a913019
Fixed compilation with LWIP_IPV6==0
15 years ago
goldsimon
604e69c7ae
- fixed bug #33485 (forgot '!' before SOCK_ADDR_MATCH*);
...
- fixed 'cast increases alignment' by casting via 'void*';
- introduced 'struct sockaddr_aligned' where the 'base' type is instantiated to make sure the alignment is correct;
15 years ago
goldsimon
d765c9de37
Fixed ipX_netif_get_local_ipX for LWIP_IPV6==0
15 years ago
goldsimon
98b6e2bcce
Fixed ip_2_ipX() and ip6_2_ipX() macros #if !LWIP_ALLOW_STATIC_FN_IN_HEADER
15 years ago
goldsimon
d80be7961c
use PCB_IS_IPV6(pcb) instead of pcb->isipv6 everywhere; fixed compilation with LWIP_IPV6==1 but LWIP_IGMP==0
15 years ago
goldsimon
2aec3a9789
use PCB_IS_IPV6(pcb) instead of pcb->isipv6 everywhere
15 years ago
goldsimon
ccd7dbe0e4
Added ipX versions for routing
15 years ago
goldsimon
92fcfd7a6f
Fixed two compilation errors with different opt.h settings
15 years ago
goldsimon
1b2b054139
Fixed bug #33337 (which is #32906 reappearing after adding IPv6 support)
15 years ago
goldsimon
853d1eac96
Fixed pointless conversion when checking TCP port range (bug #33398 )
15 years ago
goldsimon
2ef29d6839
Use conversion defines instead of casting IP addresses
15 years ago
goldsimon
6865806b55
Combined IPv4 and IPv6 code where possible, added defines to access IPv4/IPv6 in non-IP code so that the code is more readable.
15 years ago
goldsimon
9546e65617
Removed autoip_init() since it does nothing; minor coding style changes
15 years ago
goldsimon
5852993243
Removed files of old IPv6 implementation
15 years ago
goldsimon
90a03a77ad
Added new files for IPv6
15 years ago
goldsimon
4bfbe7ebeb
... and finally, we got a first working version of a dual-stack lwIP runnin IPv4 and IPv6 in parallel - big thanks to Ivan Delamer! (this is work in progress, so please beware, test a lot and report problems!)
15 years ago
goldsimon
f3c1686a40
replaced tab with spaces
15 years ago
goldsimon
33a587d97e
Added a test for fast-rexmit
15 years ago
goldsimon
a444ec5111
patch #7449 allow tcpip callback from interrupt with static memory message
15 years ago
kieranm
5ead1bf5c8
Update version numbers for 1.4.1 development
15 years ago
kieranm
3a267586f4
Update CHANGELOG and version numbers for 1.4.0 release
15 years ago
goldsimon
52271e0366
Used upper case 'L' instead of lower case 'l' for long constant for better readability
15 years ago
goldsimon
e4739da961
Fixed overflow in tcp_new_port() after changing port range to IANA "Dynamic and/or Private Ports" range
15 years ago
goldsimon
80b344e9fc
Fixed printf-format error (bug #33079 )
15 years ago
goldsimon
036cb26fa3
sys_arch_timeouts() is not needed any more.
15 years ago
goldsimon
33d6dcec5b
Fixed bug #33048 (Bad range for IP source port numbers) by using ports in the IANA private/dynamic range (49152 through 65535).
15 years ago
goldsimon
791505ab6e
Fixed tcp unit tests after introducing ip_addr_p_t and letting tcp_input check for broadcasts by using current_iphdr_dest.
15 years ago
goldsimon
88e1719d8e
Fixed etharp unit test after changing struct etharp_hdr
15 years ago
goldsimon
0885555521
Fixed broken VLAN support.
15 years ago
goldsimon
36c1750b8f
ethernet_input: check for minimum packet length to prevent assertions from firing.
15 years ago
goldsimon
11b1c9f19f
Fixed bug #32926 (TCP_RMV(&tcp_bound_pcbs) is called on unbound tcp pcbs) by checking if the pcb was bound (local_port != 0).
15 years ago
goldsimon
b5dd87b184
Fixed bug #32280 (ppp: a pbuf is freed twice)
15 years ago
goldsimon
b54c7bedfd
Fixed bug #32906 : lwip_connect+lwip_send did not work for udp and raw pcbs with LWIP_TCPIP_CORE_LOCKING==1.
15 years ago
goldsimon
783404d8d4
Move tcp_pcb_lists to const section.
15 years ago
goldsimon
3bad9f013e
Fixed bug #32820 (Outgoing TCP connections created before route is present never times out) by starting retransmission timer before checking route.
15 years ago
goldsimon
4495516497
Removed 'dataptr' from 'struct tcp_seg' and calculate it in tcp_zero_window_probe (the only place where it was used).
15 years ago
goldsimon
3f849848a4
Fixed bug #32648 (PPP code crashes when terminating a link) by only calling sio_read_abort() if the file descriptor is valid.
15 years ago
goldsimon
7203680146
fixed bug #31748 (Calling non-blocking connect more than once can render a socket useless) since it mainly involves changing "FATAL" classification of error codes: ERR_USE and ERR_ISCONN just aren't fatal.
15 years ago
goldsimon
d793ed3b9b
fixed bug #32769 (ESHUTDOWN is linux-specific) by fixing err_to_errno_table (ERR_CLSD: ENOTCONN instead of ESHUTDOWN), ERR_ISCONN: use EALRADY instead of -1
15 years ago
goldsimon
c6de17d1e5
netconn_accept: return ERR_ABRT instead of ERR_CLSD if the connection has been aborted by err_tcp (since this is not a normal closing procedure).
15 years ago