1641 Commits (8cb3ea1398306246fed5e514b780351f99f29f07)

Author SHA1 Message Date
goldsimon 8cb3ea1398 Reworked the code that parses DHCP options: parse them once instead of parsing for every option. This also removes the need for mem_malloc from dhcp_recv and makes it possible to correctly retrieve the BOOTP file. 16 years ago
goldsimon 8712deb0b2 Don't call the link-callback from netif_set_up/down() since 16 years ago
goldsimon 2e8de4f601 Updated comment about recv_bufsize 16 years ago
goldsimon c22d3b4c98 Use SYS_LIGHTWEIGHT_PROT instead of a semaphore to protect the sockets array since the protection time is short 16 years ago
goldsimon f8c22c7428 Moved freeing a socket to its own function (free_socket, like alloc_socket 16 years ago
goldsimon 855dcadf7a Added except set support in select (patch #6860) 16 years ago
goldsimon 9c41e1eea3 Replaced tabs with spaces 16 years ago
goldsimon c70c3eac62 Added function-like macro for struct netconn::non_blocking 16 years ago
goldsimon e58f4c567a Add non-blocking support for connect (partly from patch #6860) plus many cleanups in socket & netconn API 16 years ago
goldsimon 1dd8300e69 Added comments 16 years ago
goldsimon 5fa0347e64 Cleanly separate the portability file inet.h and its contents from the stack: moved htonX- functions to def.h (and the new def.c - they are not ipv4 dependent), let inet.h depend on ip_addr.h and not the other way round. This fixes bug #28732. 16 years ago
goldsimon 32c16fad42 igmp related: renamed netif pointers from 'interface' to 'netif' to not use keywords (or at least my editor highlights it as one...) 16 years ago
goldsimon ea3b8f52d5 renamed netif pointer in struct igmp from 'interface' to 'netif' to not use keywords (or at least my editor highlights it as one...); minor layout change 16 years ago
kieranm 95445fc328 Ensure ssthresh >= 2*MSS 16 years ago
goldsimon 21e3cde95c Added missing casts (bug #28659) 16 years ago
goldsimon d587940801 Keep 'const' of varius snmp structs the same throughout 'derived structs' 16 years ago
goldsimon 04a8b0f85d Added TCP_SNDQUEUELOWAT corresponding to TCP_SNDLOWAT and added tcp_sndqueuelen() - this fixes bug #28605 16 years ago
goldsimon 853e33bdb4 snmp_recv: don't peek the UDP header, p->tot_len does the same; no need for the extra checks at the beginning; don't use so many if/else but if/return instead to make the code more readable 16 years ago
goldsimon 0644c4c08e Fixed bug #27871: Calling tcp_abort() in recv callback can lead to accessing unallocated memory. As a consequence, ERR_ABRT means the application has called tcp_abort()! 16 years ago
goldsimon 606fed8896 Use memp pools for snmp instead of the heap; added 4 new pools. 16 years ago
goldsimon a5463f0400 Moved missing include 16 years ago
goldsimon 96338314f1 Partly fixed bug #22070 (MIB_OBJECT_WRITE_ONLY not implemented in SNMP): write-only or not-accessible are still returned by getnext (though not by get) 16 years ago
goldsimon 5d3cab0042 Added one more missing cast 16 years ago
goldsimon e678e1bdcb bug #28659: Missing casts 16 years ago
goldsimon ef31aa12e2 Renamed the private mib node from 'private' to 'mib_private' to *not* use reserved C/C++ keywords, added comments, added init-define for private MIB 16 years ago
goldsimon 9dd6c28523 bug #26523: Compiler Warnings 16 years ago
goldsimon 61e5301d49 bug #26523: Compiler Warnings 16 years ago
goldsimon 408829bcf6 Fixed compilation for LWIP_TCPIP_CORE_LOCKING 16 years ago
goldsimon dbcce3a4be bug #26523: Compiler Warnings 16 years ago
goldsimon 426dd9bfad Fixed bug #28716: select() returns 0 after waiting for less than 1 ms 16 years ago
goldsimon 82318c0ef1 Fixed bug #28651 (tcp_connect: no callbacks called if tcp_enqueue fails) both in raw- and netconn-API 16 years ago
goldsimon 60696a8485 Removed unused function declaration for netbuf_len (is a macro now) 16 years ago
goldsimon 7044385d8e Fixed netconn_err() macro 16 years ago
goldsimon a7139ef06b Added missing include 16 years ago
goldsimon 52389fc09a Fixed bug #27316 (netconn: Possible deadlock in err_tcp) by using sys_mbox_trypost in err_tcp 16 years ago
goldsimon 972ca9e6c1 reorganised PPP sourcecode to 2.3.11 including some bugfix backports from 2.4.x. 16 years ago
goldsimon e0c5c4de88 Fixed bug #28679: mem_realloc calculates mem_stats wrong and added test case for it 16 years ago
goldsimon 149f21dc58 Only check for LWIP_RAND() if IGMP is used, for now 16 years ago
goldsimon 9632632b85 Minor: source code layout 16 years ago
goldsimon cc1e9370af Minor: fixed argument casts for mbox_fetch parameters (to fix compiler warnings) 16 years ago
goldsimon 34139606ca task #10102: "netconn: clean up conn->err threading issues" by adding error return value to struct api_msg_msg 16 years ago
goldsimon 3e1cca65bd task #10102: "netconn: clean up conn->err threading issues" by adding error return value to struct api_msg_msg 16 years ago
goldsimon 0e3c256667 Added comment 16 years ago
goldsimon 618355f5a7 Minor: source code layout 16 years ago
goldsimon ca11baf1cd Changed netconn_recv() and netconn_accept() to return err_t (bugs #27709 and #28087) 16 years ago
goldsimon 7ede02ca8b Fixed bug #27856: PPP: Set netif link- and status-callback by adding ppp_set_netif_statuscallback()/ppp_set_netif_linkcallback() 16 years ago
goldsimon 2d4e76874c Using typedefs for function prototypes and -pointers throughout the stack for clarity 16 years ago
goldsimon b463562241 Use protocol definition from tcp.h, not from sockets.h 16 years ago
goldsimon 04f17c4709 Improved includes in snmp 16 years ago
goldsimon 97f797e859 do_connect(): set conn->err to an error if conn->pcb is NULL 16 years ago