goldsimon
|
505dd10d3c
|
Fixed bug #29979 (lwip_sendto did not check parameter "to" != NULL)
|
2010-06-12 18:46:19 +00:00 |
|
goldsimon
|
ddd2b69f27
|
bug #29976: forgot some places using the changed IP address (copy vs. pointer)
|
2010-06-12 18:37:41 +00:00 |
|
goldsimon
|
66b57f89df
|
Fixed bug #30038: dhcp_network_changed doesn't reset AUTOIP coop state
|
2010-06-12 17:14:00 +00:00 |
|
goldsimon
|
69bd5a29d9
|
Fixed a possible NULL-pointer deref before checking it
|
2010-06-12 17:05:54 +00:00 |
|
goldsimon
|
f7479781c1
|
bug #27352: removed packing from ip_addr_t, the packed version is now only used in protocol headers. Added global storage for current src/dest IP address while in input functions.
|
2010-05-22 21:11:02 +00:00 |
|
goldsimon
|
9bfeb4e5af
|
Minor: added some spaces for indentation
|
2010-05-22 21:01:38 +00:00 |
|
goldsimon
|
d3e5ade2da
|
Correctly NULL-terminate h_addr_list
|
2010-05-17 12:36:45 +00:00 |
|
goldsimon
|
3833dd86aa
|
Added LWIP_DEBUGF warning if dns_send returns an error
|
2010-05-17 12:29:31 +00:00 |
|
goldsimon
|
25f33c8444
|
struct etharp_hdr: split _hwlen_protolen into two u8_t's to prevent using htons on little-endian platforms
|
2010-05-16 16:26:12 +00:00 |
|
goldsimon
|
dae247809b
|
Add preprocessor-macros for compile-time htonl calculation (and use them throughout the stack where applicable)
|
2010-05-16 15:57:42 +00:00 |
|
goldsimon
|
81df8bdabd
|
Added PP_HTONx/PP_NTOHx macros that can be calculated by the preprocessor (used for constants only)
|
2010-05-16 15:55:45 +00:00 |
|
goldsimon
|
03e4eb4de8
|
changed the semantics of LWIP_PREFIX_BYTEORDER_FUNCS to prevent "symbol already defined" i.e. when linking to winsock
|
2010-05-16 15:09:55 +00:00 |
|
goldsimon
|
290bd400c3
|
No need to call pppoe_init any more (since the linked list is implicitly initialized to zero by the loader)
|
2010-05-16 14:35:03 +00:00 |
|
goldsimon
|
5d0785e47a
|
PPPoE now uses its own MEMP pool instead of the heap (moved struct pppoe_softc from ppp_oe.c to ppp_oe.h)
|
2010-05-16 14:34:16 +00:00 |
|
goldsimon
|
16434568b0
|
Use a simple linked list (next pointer) instead of sys/queue.h (from BSD)
|
2010-05-16 14:24:40 +00:00 |
|
goldsimon
|
c0e7d54e37
|
Removed 2 mem_mallocs: error string can be a global variable, include memory for sc_ac_cookie in struct pppoe_softc; commented out unused code (sc_service_name/sc_concentrator_name)
|
2010-05-16 14:11:53 +00:00 |
|
goldsimon
|
ccb53d9e7d
|
DNS_LOCAL_HOSTLIST_IS_DYNAMIC uses its own MEMP pool instead of the heap
|
2010-05-16 14:06:46 +00:00 |
|
goldsimon
|
03bd61c799
|
DNS_LOCAL_HOSTLIST_IS_DYNAMIC uses its own MEMP pool instead of the heap
|
2010-05-16 13:36:51 +00:00 |
|
goldsimon
|
6ffd29507c
|
Free recv_data when TF_RXCLOSED is set
|
2010-05-16 13:12:15 +00:00 |
|
goldsimon
|
a880709776
|
Let FIN come through although TF_RXCLOSED is set, send RST when data is received although TF_RXCLOSED is set, added TCP_EVENT_CLOSED for clearer code
|
2010-05-15 18:12:37 +00:00 |
|
goldsimon
|
874d1641df
|
Fix compilation for LWIP_EVENT_API==1 (unused args)
|
2010-05-15 18:10:55 +00:00 |
|
goldsimon
|
d8d964d09e
|
udp_input/SO_REUSE_RXTOALL: only call pbuf_header if there is a 2nd pcb to pass the data to
|
2010-05-15 17:11:41 +00:00 |
|
goldsimon
|
46b3cb580d
|
Removed unused SOF_* flags, ip_pcb.so_options can now be an u8_t instead of an u16_t (saves 3 bytes per pcb on a 32-bit platform)
|
2010-05-15 17:10:08 +00:00 |
|
goldsimon
|
02f5e19420
|
udp_input: use SO_REUSE && SO_REUSE_RXTOALL to copy incoming (broad-/multicast) data to additional pcbs
|
2010-05-15 16:46:53 +00:00 |
|
goldsimon
|
a945bf07af
|
SO_REUSE: tcp_input: correctly handle multiple pcbs listening on the same port (but different address): first search for a specific address an only pass to ANY if no specific address has been found listening
|
2010-05-15 16:45:43 +00:00 |
|
goldsimon
|
7e5b0a9eb6
|
SO_REUSE: tcp_listen/tcp_connect: make sure that the 5-tuple is unique
|
2010-05-15 16:44:09 +00:00 |
|
goldsimon
|
a56795c149
|
Added new option SO_REUSE_RXTOALL to pass received UDP broadcast/multicast packets to more than one pcb
|
2010-05-15 14:52:39 +00:00 |
|
goldsimon
|
baeb41f5f4
|
SO_REUSEADDR / SO_REUSE is implemented and safe to use
|
2010-05-12 22:34:06 +00:00 |
|
goldsimon
|
d0348e0c60
|
task #6995: Implement SO_REUSEADDR (correctly)
|
2010-05-12 22:29:58 +00:00 |
|
goldsimon
|
ef0a7ecbcd
|
Remove uused SOF_* flags, define inherited flags in ip.h, not in tcp_in.c
|
2010-05-12 22:26:06 +00:00 |
|
goldsimon
|
778c65d27c
|
CHECKSUM_GEN_IP_INLINE: Use defines to access the u32_t part of an IP address
|
2010-05-12 08:11:45 +00:00 |
|
goldsimon
|
f3face9f0c
|
Fix printf-formatter for sio_fd_t/size_t
|
2010-05-12 07:48:30 +00:00 |
|
goldsimon
|
2edd5230c9
|
auth_withpeer_fail(): call lcp_close(), like pppd 2.4.5 does
|
2010-05-11 18:11:46 +00:00 |
|
goldsimon
|
1551bb702d
|
Fixed bug #29855: PPP: Backport a bugfix in LcpSendEchoRequest from pppd
|
2010-05-11 16:53:41 +00:00 |
|
goldsimon
|
d656e9f28e
|
Added option LWIP_ARP_FILTER_NETIF to use multiple IPs on one hardware interface (by using multiple netifs, each with its own IP)
|
2010-05-10 14:10:46 +00:00 |
|
goldsimon
|
597764e35b
|
Minor: source code layout
|
2010-05-10 14:02:52 +00:00 |
|
goldsimon
|
f9f77876a1
|
.. and deleted NAT again as Christian obviously didn't have the copyright on the code he sent us... THANKS!!!
|
2010-05-05 19:49:40 +00:00 |
|
goldsimon
|
67d8c7999a
|
Free NAT entries on remove (fixes a memory leak)
|
2010-05-05 19:39:29 +00:00 |
|
goldsimon
|
a7fdb67e8f
|
task #7506: added NAT support
|
2010-05-05 19:34:23 +00:00 |
|
goldsimon
|
4d1ff2418e
|
Fixed bug #29271 (Application can't re-use pbufs) by updating the doc to not allow reusing pbufs after passing them to a send function
|
2010-05-04 19:36:49 +00:00 |
|
goldsimon
|
71f5fdef42
|
Fixed bug #29769 (sys_check_timeouts: sys_now() may overflow)
|
2010-05-04 19:27:42 +00:00 |
|
goldsimon
|
abc36471d9
|
Fixed bug #29763 (CHECKSUM_GEN_IP_INLINE), added macro LWIP_MAKE_U16() that's improved for endianess
|
2010-05-04 18:59:52 +00:00 |
|
goldsimon
|
4b7288e8f4
|
use checksum-on-copy for sending UDP data for LWIP_NETIF_TX_SINGLE_PBUF==1
|
2010-05-02 17:25:33 +00:00 |
|
goldsimon
|
108ed3c81a
|
struct netbuf: reorder members to save some space
|
2010-05-02 09:10:58 +00:00 |
|
goldsimon
|
f98e5717e5
|
task #6849: added udp_send(_to/_if) functions that take a precalculated checksum, added pbuf_fill_chksum() to copy data into a pbuf and at the same time calculating the checksum for that data
|
2010-04-30 20:39:45 +00:00 |
|
goldsimon
|
3685bc4828
|
fixed a type
|
2010-04-30 20:37:22 +00:00 |
|
goldsimon
|
72c580236e
|
Create overridable macros for copying 2-byte-aligned IP addresses and MAC addresses
|
2010-04-29 04:57:31 +00:00 |
|
goldsimon
|
01d2a87f5d
|
Inline generating IP checksum to save a function call
|
2010-04-28 19:36:51 +00:00 |
|
goldsimon
|
51061fb61e
|
Fixed bug #29617 (sometime cause stall on delete listening connection)
|
2010-04-21 19:59:40 +00:00 |
|
goldsimon
|
49e8e28cf6
|
Check that tcp_abort/tcp_abandon isn't called for listen-pcbs
|
2010-04-21 19:55:14 +00:00 |
|