Commit Graph

  • faa9191191 Added commented about the signedness of pbuf_header() argument. likewise 2003-01-30 12:38:03 +00:00
  • 8560f6ef2b Fixed DHCP packet input filter. Added numerous comments. Code cleanup. likewise 2003-01-30 10:18:40 +00:00
  • b0c1e37364 Updated Makefiles to reflect new "contrib" directory for architecture specific code kieranm 2003-01-30 10:17:17 +00:00
  • bb0194cc0c Some macro's were not surrounded by brackets. Was dangerous when nesting macro's. likewise 2003-01-30 09:32:31 +00:00
  • 304dc9fd07 Moved msvc6 project files to contrib module. proff_fs 2003-01-29 16:34:56 +00:00
  • bcfdf4c1cf Removed the src/arch tree from the lwip module. (Now in seperate contrib module). likewise 2003-01-29 13:18:40 +00:00
  • 663b79ca72 ip_input() changed. A configured netif accepts any traffic and an unconfigured netif accepts only DHCP traffic. Fixes bug #2004. likewise 2003-01-28 18:24:25 +00:00
  • 4a720425b7 Rebinding an active pcb did not check the given address/port against other bound pcb's. likewise 2003-01-27 13:58:45 +00:00
  • 0e4d59541a Fixed assignment of pcb->flags if pcb was NULL in udp_new(). likewise 2003-01-27 12:35:16 +00:00
  • ba666295eb Nullified stray pointer for debugging purposes. likewise 2003-01-27 11:31:30 +00:00
  • d34851db91 Initial commit of snmp.h function prototypes. likewise 2003-01-27 09:29:07 +00:00
  • 7dfd162a34 Added source documenting comments. likewise 2003-01-27 08:50:28 +00:00
  • 6d0a8a85c7 Fix locking for disconnect operation (use post and fetch on the connection's mbox in the two threads like other operations).Make netconn_peer take a pointer to addr instead of pointer to pointer to addr.Addr is a 4 byte struct an IP address so use structure assignment not just pointer assignment when saving the peer.This way the address is really saved :fixes bug #1897 jani 2003-01-24 09:24:44 +00:00
  • 721d237120 Fixes so that UDP connect() works.Enable generation of ICMP destination unreachable when the port is unavailable jani 2003-01-23 16:46:01 +00:00
  • 46c575c038 Fix udp_bind to allow rebind for same socket (yesterday's commit broke that) and introduce connection info for UDP pcbs.New function netconn_disconnect, do_disconnect for deatching UDP from a remote addres.Fix #2240 jani 2003-01-22 16:18:05 +00:00
  • 16434f0d01 Don't allow multiple binds to the same UDP port/address pair.Closes bug #1896 jani 2003-01-21 14:09:31 +00:00
  • 39edc69514 When all entries are 0 due to the whole table changing since the last arp tick (past 10 seconds) there's no oldest entry and the new entry does not get a spot.Fix this (from Ed Sutter) jani 2003-01-18 16:05:24 +00:00
  • 2154ac3ecb Enhanced documentation on UDP PCB matchjng code. likewise 2003-01-17 15:16:33 +00:00
  • 42309b5d6f put a state field in listen PCBs to since they are often treated as normal pcbs. patch #922, bug #2114 PRE_ARCH_MOVE jani 2003-01-17 14:18:55 +00:00
  • 07af438a38 fix printing of recved packet.Discovered by Ed Sutter POST_REMOVE_ARCH jani 2003-01-16 13:09:19 +00:00
  • fa8f6cb204 Free incoming pbuf's in the TCP event macro if the recv callback is NULL. Fixes bug #2156. likewise 2003-01-14 12:54:02 +00:00
  • 049853362a ack duplicate segments too to prevent connection hanging when a single transmitted ACK gets lost jani 2003-01-14 09:38:10 +00:00
  • 3e6202f614 do not set rtime too many times to 0.it's enough to do it in tcp_output_segment jani 2003-01-14 08:37:01 +00:00
  • a993e962f5 fix compiler warnings in DEBUGF jani 2003-01-14 08:22:05 +00:00
  • 1ad5537c9b Fixed some typo's in the comments. likewise 2003-01-13 13:22:09 +00:00
  • ea0dc429a7 Added #include <string.h> for memset()/memcpy(). likewise 2003-01-13 13:14:45 +00:00
  • 8d7f09fa92 remove global ctime.Each entry's ctime is now absolute.This avoids wrapping and also solves naming clash reported on the list jani 2003-01-13 09:38:21 +00:00
  • 02a6a8a809 etharp_output_sent no longer exists jani 2003-01-11 15:10:12 +00:00
  • 2bba9bcd9f make rtime field u16_t like rto otherwise it won't catch rto if that goes beyond 255.When that happens there's trouble already since 255 ticks is over 2 minutes but still... jani 2003-01-10 15:46:58 +00:00
  • 4eebbdea0d print correct pcb->rtime value in debug statament.it does not directly depend on tcp_ticks jani 2003-01-10 15:41:02 +00:00
  • 4a2d03a517 seqno is u32_t so use %lu instead of %ld when printing it jani 2003-01-10 15:36:47 +00:00
  • 5212afdd8f remove already commented out function : memp_realloc jani 2003-01-10 09:42:27 +00:00
  • e196108931 fix debug messages in tcp_slowtmr to reflect the correct name of this function jani 2003-01-10 09:41:24 +00:00
  • a5e9b73703 Made hardware address length definable (was 6 bytes for Ethernet). likewise 2003-01-08 16:06:02 +00:00
  • 5e13d495f0 Merged patch #927 which fixes "needs modifiable lvalue" compile error in TCP_REG. likewise 2003-01-08 15:37:20 +00:00
  • a528a2323e More debugging in checksum routines. likewise 2003-01-08 15:36:25 +00:00
  • c786f238ef Output snd_buf size in debug message in tcp_enqueue(). likewise 2003-01-08 14:35:02 +00:00
  • d04f7aa4bc Added comments to the tcp_enqueue() function. adamdunkels 2003-01-08 14:11:24 +00:00
  • ced453a72b Moved ETHARP_ALWAYS_INSERT switch to lwipopts.h likewise 2003-01-08 11:03:54 +00:00
  • 0f3e8c19e8 Added check if ARP_QUEUEING is 1 for a queueing related debug statement. likewise 2003-01-08 10:49:16 +00:00
  • cc4df7100d Updated lwIP module copyright years to include 2003. Committers must check theirs. PRE_leon-dhcp likewise 2003-01-08 10:09:39 +00:00
  • 0bd02a5f7a Removed etharp_output_sent() as etharp.c no longer returns ARP packets to the driver. likewise 2003-01-08 09:24:06 +00:00
  • b311ab0d53 Allocate PBUF_RAW instead of PBUF_LINK type pbufs. Fixes bug #1890 for this driver. likewise 2003-01-08 09:09:35 +00:00
  • b6b905412e Patch #928 from Marc jani 2003-01-07 12:50:34 +00:00
  • 2c2fec1b0e remove bcopy & bzero from archs jani 2002-12-19 10:37:07 +00:00
  • f946abd86b Simplify pbuf allocation for TCP packets in two places by replacing pbuf_alloc + pbuf_header with an equivalent pbuf_alloc.When we know we'll have to adjust the payload for the TCP header just alloc it like that from the start. jani 2002-12-19 09:50:53 +00:00
  • 156d2c866f sizeof(u8_t) is 1 at temperatures > 0 K jani 2002-12-19 09:04:58 +00:00
  • ef68392388 renamed (hopefully everywhere) stats to lwip_stats.closes bug #1901 jani 2002-12-18 12:49:01 +00:00
  • 51006824f9 remove tcpdump.c jani 2002-12-18 12:26:14 +00:00
  • 9eebc135ce Removed dummy variable from "struct mem" and handled all MEM_ALIGNMENT cases Fixes bug #1912 kieranm 2002-12-18 12:01:24 +00:00
  • af0d6bc881 Removed tcpdump.c from Makefile - it seems to have disappeared kieranm 2002-12-18 12:00:14 +00:00
  • 771fb0f2cd Removed "static" from declaration of netif in ip_forward and ip_output (Bug #1909) kieranm 2002-12-18 11:53:26 +00:00
  • 3984e521ad Move tcpdump.h to unix arch.BTW: as with tcpdump.c no CVS history is lost here. jani 2002-12-18 10:51:33 +00:00
  • 95c1bca3f1 Moved tcpdump to unix arch since it's specific to that. jani 2002-12-18 10:48:51 +00:00
  • 4c1069c38b use memset and memcpy instead of bzero and bcopy throughout lwIP core code.Archs need to update.Bug #1899 jani 2002-12-18 10:40:01 +00:00
  • 219266b7de replace bcopy and bzero with memcpy memset in tapif.Alloc PBUF_RAW instead of PBUF_LINK on input now that the meaning of PBUF_LINK has changed. jani 2002-12-18 10:36:43 +00:00
  • f037bfad1e check for NO_SYS consistently using #if.Closes bug #1910 jani 2002-12-18 10:03:33 +00:00
  • c0a8ef6f6f Use C style comments.In debug stataments cast various struct pointers to void* to avoid printf warnings.misc warnings in etharp. jani 2002-12-17 09:41:16 +00:00
  • a071cbf86c Allocate PBUF_POOL_BUFSIZE at once not harcoded 128.Init MTU for slip - 1500 for now needs a SLIP_MTU in opts (later).Add prototypes for low level sio callbacks. jani 2002-12-17 09:39:10 +00:00
  • 6dd350348d fix 'conflicting type for strncmp' warning on linux by including string.h jani 2002-12-17 09:36:50 +00:00
  • 5472d94b73 Added comment to ip_input() packet filter. likewise 2002-12-11 00:21:12 +00:00
  • 40abd14884 Make tmr in tcp_pcb u32_t to ensure it wraps at the same time as tcp_ticks (Bug #1838) kieranm 2002-12-05 09:52:59 +00:00
  • cac01f7a89 Fixed compiler warnings when ARP_QUEUEING is not defined. kieranm 2002-12-05 09:41:52 +00:00
  • 7ea512e7fa Added #include <stdlib.h> to ensure abort() is known kieranm 2002-12-05 09:41:04 +00:00
  • 8bd53b5be8 Added netbuf_copy_partial declaration kieranm 2002-12-05 09:40:19 +00:00
  • 96610c9c20 Fixed compiler warning - DEBUGF statement with too many arguments kieranm 2002-12-05 09:38:25 +00:00
  • 6972e81ac0 Zero pcb->acked if ack does not acknowledge new data - prevents the sent function being called multiple times when no new data has been acknowledged kieranm 2002-12-03 10:45:47 +00:00
  • ac46dbacfa Fixed wrong assertion condition. likewise 2002-12-02 16:08:09 +00:00
  • ea3b0fc477 Fixed missing end-of-comment. likewise 2002-12-02 13:11:04 +00:00
  • 99dfbfeef0 Clarified debug messages where the timers are set. likewise 2002-12-02 12:23:37 +00:00
  • dcce504ade First attempt to stylize and document DHCP sources. likewise 2002-12-01 19:49:45 +00:00
  • dfa0369678 More complete ARP protocol implementation. likewise 2002-11-29 16:02:11 +00:00
  • 1d341bae31 Initial commit of C16x/ST10 arch files and CS8900a Ethernet driver. likewise 2002-11-29 10:59:34 +00:00
  • 0ed4fd6741 Documented ( *output)() and ( *linkoutput)() better for upcoming ARP changes. likewise 2002-11-28 15:03:07 +00:00
  • 6fc6acf295 Fixed typo: ETHARP_DEGUG likewise 2002-11-28 14:55:10 +00:00
  • bda378bb9f All ARP queueing code is now conditionally compiled-in. likewise 2002-11-28 09:26:18 +00:00
  • 4619bbc3ea Changed dhcp_init() to NULL the client_list (on re-inits). likewise 2002-11-25 22:36:25 +00:00
  • c73606309f Fixed argument type compiler warnings of the bcopy() call using type casting. likewise 2002-11-24 22:27:10 +00:00
  • 0442c1e228 new file ip_frag for IP SAR.reassembly code moved from ip.c and fixed jani 2002-11-22 15:46:50 +00:00
  • b0500b7b5a add ip frag switches defaulting to on and increase pbuf pool size for unix demo jani 2002-11-22 15:35:33 +00:00
  • 38581aad65 include slipif in the objects and widlcard ipv4 so it will include everything in there jani 2002-11-22 15:24:34 +00:00
  • 53148943bd add new header file jani 2002-11-22 13:18:01 +00:00
  • cfab6dc28b initialize tapif's mtu to 1500 jani 2002-11-22 12:53:05 +00:00
  • a57c91404f add MTU (maximum transmission unit) field to struct netif jani 2002-11-22 12:52:04 +00:00
  • 8210edfeea fix pbuf_alloc for layer PBUF_LINK jani 2002-11-22 08:32:31 +00:00
  • c9bd32d12b Added SNMP call-outs for monitoring of default SNMP status items for TCP/IP. likewise 2002-11-21 10:32:19 +00:00
  • dfe1ab7438 Added debug messages for corner cases of TCP states. likewise 2002-11-21 10:29:51 +00:00
  • e26a3e347b change tapif 'MTU' to be 1500 just like the linux tap's MTU jani 2002-11-19 10:20:19 +00:00
  • 29f5968c23 Conditionally have ARP queue outgoing pbufs. likewise 2002-11-18 10:30:02 +00:00
  • 1b798ed6d3 Added PBUF_REF (payload external, copied on queueing). likewise 2002-11-18 09:51:48 +00:00
  • dbac2ff0b3 Move etharp packed structures to the header file. jani 2002-11-18 08:41:31 +00:00
  • f2fbcdf00a typo fixes.The unterminated comment already got two bugreports so it was time. jani 2002-11-18 07:36:29 +00:00
  • b8972f5701 forgot to delete 'return' in the last commit jani 2002-11-18 06:51:53 +00:00
  • 8b9a303e21 pack the fields in dhcp_msg.This way DHCP works on non-byte aligned archs too. jani 2002-11-15 15:12:49 +00:00
  • 6ef24c4e48 make it call etharp_output_sent() in tapif_output.This is to prevent the recently discovered memory leak. jani 2002-11-15 15:08:21 +00:00
  • 428293a69b make lwip_write() use lwip_send() and avoid code duplication.return copylen in lwip_recvfrom since it has already been chosen as the minimum of len and buflen. jani 2002-11-15 15:05:06 +00:00
  • 1dd7e81df7 DHCP cleanup redux (patch #654). likewise 2002-11-15 12:44:50 +00:00
  • 4beff6c2cf ETHARP_SNOOP_UPDATES made externally configurable. likewise 2002-11-15 12:41:59 +00:00
  • 58d748a8ad take out the msvc pragmas that cancel each other.leave only one pair around 3 structs. jani 2002-11-15 12:32:47 +00:00
  • 43a06e8e37 The code that increased the retransmission time was commented out for some reason. This has been fixed. Also removed some old, out-commented, code. adamdunkels 2002-11-15 09:40:05 +00:00