]>
rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/log
goldsimon [Tue, 20 Sep 2011 05:21:19 +0000 (07:21 +0200)]
fixed bug #34337 (possible NULL pointer in sys_check_timeouts)
Simon Goldschmidt [Sun, 11 Sep 2011 17:30:28 +0000 (19:30 +0200)]
splitted ppp.h to an internal and external header file to get a clear separation of which functions an application or port may use (task #11281)
Simon Goldschmidt [Sun, 11 Sep 2011 11:44:08 +0000 (13:44 +0200)]
nd6: use a static buffer to process RA options instead of using mem_malloc()
Simon Goldschmidt [Sun, 11 Sep 2011 11:13:26 +0000 (13:13 +0200)]
use pcb->mss instead of TCP_MSS for preallocate mss-sized pbufs (bug #34019)
Simon Goldschmidt [Sun, 11 Sep 2011 10:44:01 +0000 (12:44 +0200)]
Added a config option to randomize initial local TCP/UDP ports (so that different port ranges are used after a reboot; bug #33818; this one added tcp_init/udp_init functions again);
fixed a possible endless loop in tcp_new_port() if the number of active PCBs exceeds the number of available ports;
Simon Goldschmidt [Fri, 9 Sep 2011 21:20:34 +0000 (23:20 +0200)]
lwip_accept: fixed warning about accessing uninitialized 'port' when SOCKETS_DEBUG is enabled
Simon Goldschmidt [Fri, 9 Sep 2011 20:28:01 +0000 (22:28 +0200)]
Fixed typo: TCP_SNDQUEUELOWAT must be less than TCP_SND_QUEUELEN (as checked in init.c), not greater
Simon Goldschmidt [Fri, 9 Sep 2011 20:25:59 +0000 (22:25 +0200)]
fixed bug #34072: UDP broadcast is received from wrong UDP pcb if udp port matches
Simon Goldschmidt [Sat, 3 Sep 2011 20:27:30 +0000 (22:27 +0200)]
Make LWIP_RAND optional (useful for small targets)
Simon Goldschmidt [Sat, 3 Sep 2011 20:27:06 +0000 (22:27 +0200)]
DHCP uses LWIP_RAND() for xid's (bug #30302)
Simon Goldschmidt [Sat, 3 Sep 2011 19:57:26 +0000 (21:57 +0200)]
fixed bug #33952 PUSH flag in incoming packet is lost when packet is aggregated and sent to application
Simon Goldschmidt [Sat, 3 Sep 2011 19:25:51 +0000 (21:25 +0200)]
unit tests: correctly handle small PBUF_POOL_BUFSIZE settings, prevent NULL-pointer-deref. (ooseq test is still not running correctly...)
Simon Goldschmidt [Sat, 3 Sep 2011 19:24:06 +0000 (21:24 +0200)]
netconn_alloc(): return on invalid protocol instead of initializing mbox size to 0
Simon Goldschmidt [Thu, 1 Sep 2011 20:25:03 +0000 (22:25 +0200)]
fixed bug #31809 LWIP_EVENT_API in opts.h is inconsistent compared to other options
Simon Goldschmidt [Thu, 1 Sep 2011 19:01:38 +0000 (21:01 +0200)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/lwip
Simon Goldschmidt [Thu, 1 Sep 2011 19:00:11 +0000 (21:00 +0200)]
fixed bug #34111 RST for ACK to listening pcb has wrong seqno
goldsimon [Tue, 30 Aug 2011 11:15:10 +0000 (13:15 +0200)]
Fixed bogus IPH_V/HL and IPH_VHL_SET endianess dependency
Simon Goldschmidt [Wed, 24 Aug 2011 20:00:10 +0000 (22:00 +0200)]
added netif remove callback (bug #32397)
Simon Goldschmidt [Wed, 24 Aug 2011 19:40:09 +0000 (21:40 +0200)]
fixed bug #34124 struct in6_addr does not conform to the standard
Simon Goldschmidt [Wed, 24 Aug 2011 19:12:12 +0000 (21:12 +0200)]
fixed bug #33956 Wrong error returned when calling accept() on UDP connections
Simon Goldschmidt [Wed, 24 Aug 2011 18:22:21 +0000 (20:22 +0200)]
fixed bug #34057 socklen_t should be a typedef
Simon Goldschmidt [Wed, 24 Aug 2011 18:18:47 +0000 (20:18 +0200)]
fixed bug #34112 Odd check in pbuf_alloced_custom (typo)
Simon Goldschmidt [Wed, 24 Aug 2011 18:12:23 +0000 (20:12 +0200)]
fixed bug #34122 dhcp: hostname can overflow
Simon Goldschmidt [Wed, 24 Aug 2011 17:52:06 +0000 (19:52 +0200)]
fixed bug #34121 netif_add/netif_set_ipaddr fail on NULL ipaddr
Simon Goldschmidt [Mon, 22 Aug 2011 16:52:27 +0000 (18:52 +0200)]
fixed bug #33962 TF_FIN not always set after FIN is sent. (This merely prevents nagle from not transmitting fast after closing.)
Ivan Delamer [Fri, 12 Aug 2011 15:04:29 +0000 (09:04 -0600)]
Initialize recvmbox size for undefined netconn type, to supress
compiler warning.
Change-Id: I14c3f1786a8ca3513b5d4cf375c4951e4c09ebd6
Ivan Delamer [Tue, 9 Aug 2011 19:55:40 +0000 (13:55 -0600)]
Add cast to IP6_ADDR_BLOCKx
Ivan Delamer [Thu, 4 Aug 2011 22:36:44 +0000 (16:36 -0600)]
Use target address as source address in IPv6 neighbour advertisement
messages.
Change-Id: I06d28eb2903c539de0b51bd7420a81ebf4f28963
Ivan Delamer [Thu, 4 Aug 2011 20:18:33 +0000 (14:18 -0600)]
Fixed bug in serialization of IPv6 addresses.
Change-Id: Ib63540123803317ec25f7cbf580c5159e4100222
Simon Goldschmidt [Thu, 28 Jul 2011 19:59:28 +0000 (21:59 +0200)]
Fixed complier error for CHECKSUM_CHECK_TCP==0
Simon Goldschmidt [Tue, 26 Jul 2011 19:55:32 +0000 (21:55 +0200)]
adapted unit tests to changes after adding IPv6 support
Simon Goldschmidt [Tue, 26 Jul 2011 19:03:27 +0000 (21:03 +0200)]
ETHARP_SUPPORT_VLAN: add support for an external VLAN filter function instead of only checking for one VLAN (define ETHARP_VLAN_CHECK_FN)
Simon Goldschmidt [Tue, 26 Jul 2011 18:55:32 +0000 (20:55 +0200)]
IPv4: splitted IPv4 header fields version/len and tos, made macros depend on BYTE_ORDER to prevent unnecessary calls to htons()
Simon Goldschmidt [Tue, 26 Jul 2011 18:21:33 +0000 (20:21 +0200)]
Prevent non-static function that is not declared in header file
Simon Goldschmidt [Sun, 24 Jul 2011 15:19:17 +0000 (17:19 +0200)]
Fixed some C compiler warnings
Simon Goldschmidt [Sun, 24 Jul 2011 15:18:55 +0000 (17:18 +0200)]
Removed commas from the end of enum lists
Simon Goldschmidt [Fri, 22 Jul 2011 20:05:24 +0000 (22:05 +0200)]
fixed bug #31084 (socket API returns always EMSGSIZE on non-blocking sockets if data size > send buffers) -> now lwip_send() sends as much as possible for non-blocking sockets and only returns EWOULDBLOCK if the buffers are full
Simon Goldschmidt [Fri, 22 Jul 2011 19:59:16 +0000 (21:59 +0200)]
init.c: changed some checks from runtime to compiletime (had to adapt some defines in ip.h for that)
Simon Goldschmidt [Fri, 22 Jul 2011 19:07:09 +0000 (21:07 +0200)]
forgot CHANGELOG: freeing ooseq pbufs when the pbuf pool is empty implemented for NO_SYS==1: when not using sys_check_timeouts(), call PBUF_CHECK_FREE_OOSEQ() at regular intervals from main level.
Simon Goldschmidt [Fri, 22 Jul 2011 19:05:10 +0000 (21:05 +0200)]
freeing ooseq pbufs when the pbuf pool is empty implemented for NO_SYS==1: when not using sys_check_timeouts(), call PBUF_CHECK_FREE_OOSEQ() at regular intervals from main level.
Simon Goldschmidt [Thu, 21 Jul 2011 19:47:25 +0000 (21:47 +0200)]
bug #33634 ip_forward() have a faulty behaviour: Added pbuf flags to mark incoming packets as link-layer broadcast/multicast. Also added code to allow ip_forward() to forward non-broadcast packets to the input netif (set IP_FORWARD_ALLOW_TX_ON_RX_NETIF==1).
Simon Goldschmidt [Thu, 21 Jul 2011 19:16:04 +0000 (21:16 +0200)]
correctly prefix all functions with 'etharp_' (also static functions)
Simon Goldschmidt [Thu, 21 Jul 2011 18:47:29 +0000 (20:47 +0200)]
ETHARP_STATE_STABLE_REREQUESTING: no need for member 'netif' in 'struct etharp_entry' if we re-request only from etharp_output() and use etharp_tmr() to reset the state of such entries to ETHARP_STATE_STABLE: that way, we also only send one ARP request per ARP_TMR_INTERVAL, but only if the entry is really still used.
Simon Goldschmidt [Thu, 21 Jul 2011 18:40:30 +0000 (20:40 +0200)]
ETHARP_SUPPORT_STATIC_ENTRIES: don't need the member 'static_entry' on struct etharp_entry, we can use 'state' to mark them as static
Simon Goldschmidt [Thu, 21 Jul 2011 18:28:18 +0000 (20:28 +0200)]
fixed bug #33551 (ARP entries may time out although in use) by sending an ARP request when an ARP entry is used in the last minute before it would time out.
Simon Goldschmidt [Thu, 21 Jul 2011 18:15:39 +0000 (20:15 +0200)]
(bug #30185): added LWIP_FIONREAD_LINUXMODE that makes ioctl/FIONREAD return the size of the next pending datagram.
Simon Goldschmidt [Wed, 20 Jul 2011 04:56:20 +0000 (06:56 +0200)]
Fixed bug #33804 LWIP_IPV6_MLD #define missing from mld6.c
Simon Goldschmidt [Tue, 19 Jul 2011 19:56:19 +0000 (21:56 +0200)]
Fixed bug #33801 Corruption of nd6 tables
Simon Goldschmidt [Tue, 19 Jul 2011 19:52:40 +0000 (21:52 +0200)]
Fixed bug #33802 tcpip: tcpip_callbackmsg_new sets msg->type to wrong type
goldsimon [Wed, 6 Jul 2011 07:18:06 +0000 (07:18 +0000)]
Fixed wrong endianess of port in bind() and connect() broken with the last commit
goldsimon [Wed, 6 Jul 2011 07:13:45 +0000 (07:13 +0000)]
Include opt.h so that LWIP_ERROR works correctly
goldsimon [Tue, 5 Jul 2011 19:42:23 +0000 (19:42 +0000)]
Fixed bug #33561 bugs in recvfrom() and sendto()
goldsimon [Mon, 4 Jul 2011 19:39:16 +0000 (19:39 +0000)]
Fixed invalid SOCK_ADDR_TYPE_MATCH check in lwip_sendto()
goldsimon [Mon, 4 Jul 2011 19:33:33 +0000 (19:33 +0000)]
Fixed documentation after changing sys arch prototypes for 1.4.0
goldsimon [Mon, 4 Jul 2011 19:10:49 +0000 (19:10 +0000)]
No need to pass 'acc' as u16_t since the _base functions are internal (we save one AND op when passing as u32_t)
goldsimon [Wed, 29 Jun 2011 19:54:33 +0000 (19:54 +0000)]
Fixed bug #33672 (checksum calculate error!!!) by folding 'acc' to u16_t before calling checksum_pseudo_*_base functions
goldsimon [Wed, 29 Jun 2011 19:46:21 +0000 (19:46 +0000)]
Fixed bug #33653 (ip_data.current_ip_header_tot_len calculation errors!) introduced while mergin IPv4 and IPv6
goldsimon [Sun, 26 Jun 2011 17:53:45 +0000 (17:53 +0000)]
Slightly reorderd fields of struct tcp_pcb to plug holes introduced by member alignment (to reduce RAM usage)
goldsimon [Sun, 26 Jun 2011 17:51:55 +0000 (17:51 +0000)]
Init checks: LWIP_RAND is needed for IPv6, too
goldsimon [Sun, 26 Jun 2011 17:37:09 +0000 (17:37 +0000)]
fixed bug #31723 (tcp_kill_prio() kills pcbs with the same prio) by updating its documentation only.
goldsimon [Sun, 26 Jun 2011 17:31:10 +0000 (17:31 +0000)]
fixed bug #33545: With MEM_USE_POOLS==1, mem_malloc can return an unaligned pointer.
goldsimon [Sun, 26 Jun 2011 17:13:57 +0000 (17:13 +0000)]
Fixed bug #33544 (warning in mem.c in lwip 1.4.0 with NO_SYS=1)
goldsimon [Sun, 26 Jun 2011 17:07:13 +0000 (17:07 +0000)]
Added some more asserts to check that pcb->state != LISTEN
goldsimon [Sun, 26 Jun 2011 16:51:04 +0000 (16:51 +0000)]
Cleaned up usage of sys.h a bit
goldsimon [Sun, 26 Jun 2011 16:50:28 +0000 (16:50 +0000)]
Provide a default for SNMP_GET_SYSUPTIME() based on sys_now()
goldsimon [Sat, 25 Jun 2011 18:39:37 +0000 (18:39 +0000)]
- changed "struct ip_addr" to "ip_addr_t";
- tcp_accepted(): added a note to call this on the listening pcb, not the connection pcb;
- tcp_write(): change last parameter from "copy" to "apiflags", documented the apiflags
idelamer [Wed, 22 Jun 2011 12:14:58 +0000 (12:14 +0000)]
Don't forward IPv6 packets that are larger than outgoing MTU, send ICMPv6 message back for Path MTU discovery.
idelamer [Fri, 17 Jun 2011 11:06:06 +0000 (11:06 +0000)]
Process IPv6 packets arriving from non-Ethernet links.
idelamer [Fri, 17 Jun 2011 11:05:38 +0000 (11:05 +0000)]
Allow routing IPv6 packets to neighbours with manually-configured non-link-local addresses.
idelamer [Fri, 17 Jun 2011 11:04:47 +0000 (11:04 +0000)]
Allow IPv6 addresses with arbitrary prefix.
idelamer [Fri, 17 Jun 2011 11:03:15 +0000 (11:03 +0000)]
Minor edits for for IPv6 compilation
goldsimon [Sun, 12 Jun 2011 11:57:34 +0000 (11:57 +0000)]
Fixed compilation error after converting sockaddr_aligned from struct to union
goldsimon [Wed, 8 Jun 2011 16:31:55 +0000 (16:31 +0000)]
Fix compilation error when checking for hidden variable names ('s8_t i' was hidden in some case statements in nd6_input()).
goldsimon [Tue, 7 Jun 2011 19:36:05 +0000 (19:36 +0000)]
- sockaddr_aligned: use a union instead of a manually aligned struct;
- fixed compilation for different configurations
goldsimon [Tue, 7 Jun 2011 19:32:20 +0000 (19:32 +0000)]
use const char for name pointers in display functions
goldsimon [Tue, 7 Jun 2011 19:19:24 +0000 (19:19 +0000)]
Removed unused static function
goldsimon [Tue, 7 Jun 2011 19:10:55 +0000 (19:10 +0000)]
Moved static variable from inside the function to global scope
goldsimon [Tue, 7 Jun 2011 19:10:10 +0000 (19:10 +0000)]
Moved common call to pbuf_header outside the switch()
goldsimon [Tue, 7 Jun 2011 19:07:00 +0000 (19:07 +0000)]
Restructured the code a bit to help my dump compiler not creating a jump table in ROM
goldsimon [Tue, 7 Jun 2011 19:05:22 +0000 (19:05 +0000)]
Fixed bug #33492 (fixed stats for IPv6 protocols)
goldsimon [Mon, 6 Jun 2011 16:04:06 +0000 (16:04 +0000)]
Fixed compilation with LWIP_IPV6==0
goldsimon [Mon, 6 Jun 2011 16:00:06 +0000 (16:00 +0000)]
- 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;
goldsimon [Sat, 28 May 2011 09:32:42 +0000 (09:32 +0000)]
Fixed ipX_netif_get_local_ipX for LWIP_IPV6==0
goldsimon [Sat, 28 May 2011 09:32:07 +0000 (09:32 +0000)]
Fixed ip_2_ipX() and ip6_2_ipX() macros #if !LWIP_ALLOW_STATIC_FN_IN_HEADER
goldsimon [Sat, 28 May 2011 09:30:43 +0000 (09:30 +0000)]
use PCB_IS_IPV6(pcb) instead of pcb->isipv6 everywhere; fixed compilation with LWIP_IPV6==1 but LWIP_IGMP==0
goldsimon [Sat, 28 May 2011 09:28:18 +0000 (09:28 +0000)]
use PCB_IS_IPV6(pcb) instead of pcb->isipv6 everywhere
goldsimon [Thu, 26 May 2011 15:46:44 +0000 (15:46 +0000)]
Added ipX versions for routing
goldsimon [Thu, 26 May 2011 14:47:28 +0000 (14:47 +0000)]
Fixed two compilation errors with different opt.h settings
goldsimon [Wed, 25 May 2011 17:40:42 +0000 (17:40 +0000)]
Fixed bug #33337 (which is #32906 reappearing after adding IPv6 support)
goldsimon [Wed, 25 May 2011 17:22:56 +0000 (17:22 +0000)]
Fixed pointless conversion when checking TCP port range (bug #33398)
goldsimon [Wed, 25 May 2011 17:22:13 +0000 (17:22 +0000)]
Use conversion defines instead of casting IP addresses
goldsimon [Wed, 25 May 2011 17:16:35 +0000 (17:16 +0000)]
Combined IPv4 and IPv6 code where possible, added defines to access IPv4/IPv6 in non-IP code so that the code is more readable.
goldsimon [Sat, 21 May 2011 16:01:19 +0000 (16:01 +0000)]
Removed autoip_init() since it does nothing; minor coding style changes
goldsimon [Tue, 17 May 2011 19:56:08 +0000 (19:56 +0000)]
Removed files of old IPv6 implementation
goldsimon [Tue, 17 May 2011 19:54:40 +0000 (19:54 +0000)]
Added new files for IPv6
goldsimon [Tue, 17 May 2011 19:35:14 +0000 (19:35 +0000)]
... 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!)
goldsimon [Mon, 16 May 2011 18:45:51 +0000 (18:45 +0000)]
replaced tab with spaces
goldsimon [Sat, 14 May 2011 15:26:43 +0000 (15:26 +0000)]
Added a test for fast-rexmit
goldsimon [Sat, 14 May 2011 12:23:10 +0000 (12:23 +0000)]
patch #7449 allow tcpip callback from interrupt with static memory message
kieranm [Fri, 6 May 2011 09:07:38 +0000 (09:07 +0000)]
Update version numbers for 1.4.1 development