Commit Graph

  • b938154f6b Removed unused netif flag for DHCP Ivan Delamer 2015-02-19 16:22:19 -07:00
  • e312ebcb57 Removed unused netif flag for point to point connections Ivan Delamer 2015-02-19 16:19:29 -07:00
  • 02cf50063e PPP, PPPoX, added warnings about functions in headers which should not be called from lwIP user application Sylvain Rochet 2015-02-18 23:12:23 +01:00
  • f511bec26c PPP, PPPoS, only check PPPoS PCB pointer if PPPoS is not the only enabled lower protocol Sylvain Rochet 2015-02-18 23:12:06 +01:00
  • 9f93c16bbf PPP, CORE, beautified auth protocols debug Sylvain Rochet 2015-02-18 22:22:16 +01:00
  • 892e75ca92 PPP, CORE, removed useless include of chap-new.h Sylvain Rochet 2015-02-18 22:15:44 +01:00
  • 5e73068e09 PPP, CORE, Removed (*datainput) from struct protent if not used Sylvain Rochet 2015-02-18 21:59:08 +01:00
  • b71d9ce3f6 PPP, CORE, Removed useless enabled_flag from struct protent Sylvain Rochet 2015-02-18 21:32:58 +01:00
  • 730529353d fixed bug #37958 "netconn API doesn't handle correctly connections half-closed by peer" sg 2015-02-18 22:21:26 +01:00
  • 101f57d5e0 tcp_alloc() prefers killing CLOSING/LAST_ACK over active connections (see bug #39565) (tcp_kill_prio(): back to old implementation) sg 2015-02-18 21:30:45 +01:00
  • 2cfc9e286e "Not connected" shouldn't be fatal (as opposed to "closed") sg 2015-02-18 20:39:20 +01:00
  • 998ed99288 Fixed select not reporting received FIN as 'readable' in certain rare cases (bug #43779: select(), close(), and TCP retransmission error) sg 2015-02-18 20:38:42 +01:00
  • 9048a7f021 fixed compiler warning in dhcp.c goldsimon 2015-02-18 09:02:37 +01:00
  • 1c91bb5a20 PPP, PPPoS, fixed warnings with PPPDEBUG disabled Sylvain Rochet 2015-02-18 00:59:27 +01:00
  • b957a81ea5 PPP, modified CHANGELOG about the previous large PPP rework Sylvain Rochet 2015-02-17 23:25:10 +01:00
  • 19fdeae4ba PPP, chained returns up to ppp_free() Sylvain Rochet 2015-02-17 23:09:18 +01:00
  • 50ecd2c12c PPP, CORE, removed useless st variable in ppp_close() Sylvain Rochet 2015-02-17 23:07:38 +01:00
  • 07f9212799 PPP, chained returns up to ppp_open() Sylvain Rochet 2015-02-17 23:06:18 +01:00
  • 8a8cba75a2 PPP, lower protocols, chained returns from local functions to callback caller Sylvain Rochet 2015-02-17 23:02:18 +01:00
  • 1ae3808e13 PPP, CORE, prepared for lower protocols callbacks returning state Sylvain Rochet 2015-02-17 22:57:42 +01:00
  • ee2936ffbf PPP, all protocols, uniformised naming Sylvain Rochet 2015-02-17 22:51:35 +01:00
  • 5b29f1cdec PPP, CORE, Fixed warning with PPP_PROTOCOLNAME enabled Sylvain Rochet 2015-02-17 22:43:07 +01:00
  • bce29ac353 PPP, CORE, code cleaning Sylvain Rochet 2015-02-17 22:35:03 +01:00
  • f7584fa883 PPP, CORE, fixed callbacks return value Sylvain Rochet 2015-02-17 22:14:19 +01:00
  • 18074ff98f PPP, PPPoE, improved removal from linked list Sylvain Rochet 2015-02-17 21:32:24 +01:00
  • 4ad60b477c PPP, PPPoS, structure size optimisation Sylvain Rochet 2015-02-17 21:01:52 +01:00
  • 69469496e2 PPP, PPPoS, moved out_accm from PPP core to PPPoS Sylvain Rochet 2015-02-17 00:48:33 +01:00
  • baaa2592a6 PPP, PPPoS, removed xmit_accm, almost duplicate of out_accm Sylvain Rochet 2015-02-17 00:36:17 +01:00
  • ecb8aa6fc1 PPP, PPPoS, merged ppp(os)_pcb_rx to pppos_pcb Sylvain Rochet 2015-02-17 00:16:10 +01:00
  • 34210901bf PPP, PPPoS, moved ppp.rx to pppos.rx Sylvain Rochet 2015-02-17 00:05:45 +01:00
  • 7132893863 PPP, PPPoS, re-enabled PPPCTLG_FD Sylvain Rochet 2015-02-16 23:22:00 +01:00
  • cfe04d4453 PPP, PPPoS, using PPPoS PCB pointer on VJ and pppos_ configuration functions Sylvain Rochet 2015-02-16 23:14:42 +01:00
  • f98f2890f3 PPP, PPPoS, check if PPPoS configuration functions are used on PPPoS Sylvain Rochet 2015-02-16 22:44:23 +01:00
  • d93c21349f PPP, PPPoS, fixed build with PPP_FCS_TABLE=1 Sylvain Rochet 2015-02-16 22:20:56 +01:00
  • 9358dbbd99 PPP, PPPoS, various static and const added Sylvain Rochet 2015-02-16 22:14:09 +01:00
  • 2b9d304816 PPP, PPPoS, renamed *sc pointer to *pppos, renamed *pcb pointers to *pppos and *ppp Sylvain Rochet 2015-02-16 22:03:02 +01:00
  • e6465a6f44 PPP, PPPoS, moved VJ from PPP core to PPPoS Sylvain Rochet 2015-02-16 00:24:17 +01:00
  • 4aa9244b92 PPP, PPPoS moved fd from ppp_pcb to pppos_pcb Sylvain Rochet 2015-02-15 22:56:28 +01:00
  • 1ac4d1b793 PPP, PPPoS needs vj.h Sylvain Rochet 2015-02-15 22:48:07 +01:00
  • ea205f2fcd PPP, add PPPoS CB for PPPoS private data Sylvain Rochet 2015-02-15 22:44:57 +01:00
  • 9c15ffbb74 PPP: Moved PPPoS from ppp.c to pppos.c Sylvain Rochet 2015-02-15 22:12:39 +01:00
  • 09b4485870 PPP, generalized callbacks calls from PPP core, removed all PPPoE and PPPoL2TP references Sylvain Rochet 2015-02-15 11:44:01 +01:00
  • 19282d6d6c PPP, moved low level protocol connect init to low level protocol files Sylvain Rochet 2015-02-15 11:25:37 +01:00
  • ee85aaccd2 PPP, removed low level create functions from PPP core Sylvain Rochet 2015-02-15 11:15:07 +01:00
  • 0afc34f6fc PPP, moved ppp_write and ppp_netif_output low level protocols functions to respective low level protocol files Sylvain Rochet 2015-02-15 11:04:09 +01:00
  • 45bfccfddc PPP, prepare new callbacks for low level protocols Sylvain Rochet 2015-02-15 10:35:59 +01:00
  • f8501478f6 PPP: prepared callbacks from PPP core to low level protocols Sylvain Rochet 2015-02-15 10:18:02 +01:00
  • a5582e0960 PPP: re-order functions in the common sense API order Sylvain Rochet 2015-02-15 10:15:41 +01:00
  • b4fe72c4a2 PPP: removed duplicated code in ppp_close() Sylvain Rochet 2015-02-15 00:48:37 +01:00
  • 48f7678771 PPP: re-order prototypes, ppp_init before ppp_new Sylvain Rochet 2015-02-15 00:38:55 +01:00
  • 808098413c PPP: removed PPPoE and PPPoL2TP callback status notifier Sylvain Rochet 2015-02-15 00:35:45 +01:00
  • 74fd2dc9ad PPP: moved ppp_new() to low level protocol init for PPPoE and PPPoL2TP Sylvain Rochet 2015-02-14 23:50:38 +01:00
  • 443b2551c7 PPP: moved duplicated init code from ppp_over_X_create() to ppp_new() Sylvain Rochet 2015-02-14 22:47:38 +01:00
  • 7b681bc94a PPP: re-order functions in the common sense API order Sylvain Rochet 2015-02-14 22:35:29 +01:00
  • bd29f7168c PPP: ppp_init() is not a public function, moving it in private part Sylvain Rochet 2015-02-14 22:31:22 +01:00
  • c8c0dc2f53 PPP: using a macro for ppp_set_default() instead of a function Sylvain Rochet 2015-02-14 22:27:32 +01:00
  • 17c6be6a9b PPP: removed ppp_delete(), merged with ppp_free() Sylvain Rochet 2015-02-14 22:22:08 +01:00
  • 318e752fd6 PPP: removed ppp_new(), merged with ppp_over_X_create() Sylvain Rochet 2015-02-14 22:10:28 +01:00
  • 3dcfd7ba41 PPP: moved netif out of PPP control block Sylvain Rochet 2015-02-14 20:51:35 +01:00
  • 604a92dc3d fixed bug #38853 "connect() use a wrong errno": return ERR_ALREADY/EALRADY during connect, ERR_ISCONN/EISCONN when already connected sg 2015-02-17 22:10:23 +01:00
  • b146ae96a7 sockets.c: removed LWIP_TCPIP_CORE_LOCKING hack in lwip_sendto(): since all functions are static when LWIP_NETCONN==0, the speedup gained by this hack should now be minimal and not worth the duplicate code. sg 2015-02-17 21:26:40 +01:00
  • 0963e91c34 api_msg_c: fixed compiler warning (added brackets in if statement) goldsimon 2015-02-17 09:38:20 +01:00
  • 5d13b5a2fb fixed bug #37614 "Errors from ipX_output are not processed". Now tcp_output(_segment) checks for the return value of ipX_output and does not try to send more on error. A netif driver can call tcp_txnow() (from tcpip_thread!) to try to send again if TX buffers are available again. goldsimon 2015-02-17 08:02:34 +01:00
  • 90db821036 patch #8361 "Add support for NTP option in DHCP" (slighly modified) sg 2015-02-16 21:23:06 +01:00
  • 99d1fdd270 snmp: syntax error fix on endif comment Sylvain Rochet 2015-02-14 19:36:37 +01:00
  • 10ab72855d opt: fix build without SNMP_COMMUNITY_EXT Sylvain Rochet 2015-02-14 19:34:01 +01:00
  • 0d18516af8 added support for write-access community and dedicated community for sending traps sg 2015-02-14 15:44:32 +01:00
  • e22c815444 patch by Freddie Chopin: SNMP: const-correctness around snmp traps and enterprise sg 2015-02-14 15:11:44 +01:00
  • e579e98469 minor coding style fix: tab -> spaces sg 2015-02-14 15:05:12 +01:00
  • 723eaa1f40 Fixed compiler warning in snmp.h introduced by last patches sg 2015-02-14 15:04:55 +01:00
  • 4ebeeaf1e0 msg_in.c, msg_in.c: add snmp_get_community() and snmp_set_community() accessors Freddie Chopin 2014-02-03 13:05:17 +01:00
  • 2c9ceea3cf msg_in.c, snmp_msg.h: convert snmp_community to a modifiable pointer Freddie Chopin 2014-02-03 12:52:22 +01:00
  • c289872ab7 msg_in.c, msg_out.c, snmp_msg.h: rename snmp_publiccommunity to snmp_community, update descriptions Freddie Chopin 2014-02-03 12:44:12 +01:00
  • 9469bdc93e msg_in.c, snmp_msg.h: don't hardcode size of community string Freddie Chopin 2014-02-03 12:38:21 +01:00
  • 9b4564d7f3 snmp_trap_header_sum(): use strlen() to get the length of community string Freddie Chopin 2014-02-03 12:36:03 +01:00
  • b5b5844119 added hook LWIP_HOOK_MEMP_AVAILABLE() to get informed when a memp pool was empty and an item is now available sg 2015-02-13 21:53:55 +01:00
  • 6ef7563f53 Added the option PBUF_LINK_ENCAPSULATION_HLEN to allocate additional header space for TX on netifs requiring additional headers sg 2015-02-13 21:42:04 +01:00
  • e3e3200f95 fixed bug #22070 "MIB_OBJECT_WRITE_ONLY not implemented in SNMP" sg 2015-02-13 21:12:23 +01:00
  • 7a0f814043 introduce sys_timeouts_sleeptime (returns the time left before the next timeout is due, for NO_SYS==1) sg 2015-02-12 22:14:28 +01:00
  • 80b62df0a9 fixed bug #36403 "ip4_input() and ip6_input() always pass inp to higher layers": now the accepting netif is passed up, but the input netif is available through ip_current_input_netif() if required. sg 2015-02-12 22:04:10 +01:00
  • 81d4e201bb include the memp struct list once before actually using it chrysn 2013-05-27 07:15:51 +02:00
  • 8155b8cfb3 patch #7702 "Include ability to increase the socket number with defined offset" sg 2015-02-11 23:05:52 +01:00
  • 276e35ecfb Fixed a bug in linger-closing when LWIP_TCPIP_CORE_LOCKING==1 sg 2015-02-11 22:53:19 +01:00
  • 7d8657287e patch #8362 Add defines for well known ethernet packet types sg 2015-02-11 21:59:48 +01:00
  • f7905582db More tiny code cleanups... sg 2015-02-11 21:53:12 +01:00
  • f12e6837be LWIP_PLATFORM_DIAG: check if LWIP_PLATFORM_DIAG is defined as needed. -- LWIP_STATS and LWIP_DEBUG require this macro Fred Baksik 2014-01-24 03:10:30 +00:00
  • 3870031c6e LWIP_ASSERT: check for LWIP_PLATFORM_ASSERT if LWIP_NOASSERT is not defined. -- add comment about usage of LWIP_NOASSERT Fred Baksik 2014-01-24 03:05:16 +00:00
  • 060a1fc727 patch #8481 Fix a couple of c&p mistakes in the error prints sg 2015-02-11 21:39:45 +01:00
  • 28783abbe2 fixed bug #43094 "The function tcpip_input() forget to handle IPv6" sg 2015-02-11 21:36:46 +01:00
  • 974a853f40 patch #8423 "arch/perf.h" should be made an optional item sg 2015-02-11 21:25:47 +01:00
  • 7ff9825f55 started to implement fullduplex sockets/netconns (note that this is highly unstable yet!) sg 2015-02-11 21:18:15 +01:00
  • 04b4971d8c Added comment that sys_thread_new must not fail (ports have to assert this!) sg 2015-02-11 21:12:49 +01:00
  • 6c3f6cfd89 netconn/socket api: fixed bug #44225 "closing TCP socket should time out eventually", implemented task #6930 "Implement SO_LINGER": closing TCP sockets times out after 20 seconds or after the configured SND_TIMEOUT or depending on the linger settings; fixed that netconn_close/netconn_delete still used message passing for LWIP_TCPIP_CORE_LOCKING==1 sg 2015-02-10 22:15:54 +01:00
  • ee833ea594 changed comment in struct linger sg 2015-02-10 21:40:27 +01:00
  • 338feef70e memp: also export memp_sizes[] if MEMP_USE_CUSTOM_POOLS==1 goldsimon 2015-02-10 15:18:14 +01:00
  • ec68aaf43b fixed that SHUT_RD followed by SHUT_WR was different to SHUT_RDWR, fixed return value of lwip_netconn_do_close on unconnected netconns sg 2015-01-27 21:28:39 +01:00
  • 24df78bcbc fixed that lwip_netconn_do_delconn() did not set msg->err on success (just introduced that bug this weekend...) goldsimon 2015-01-20 14:01:16 +01:00
  • e926a93568 tcp_kill_prio(): prefer nearly-closed connections (waiting for the last ACK only) over established connections when out of tcp pcbs goldsimon 2015-01-20 12:45:26 +01:00
  • 28476e3b7b Fixed bug #38315 tcp_eff_send_mss_impl() always subtract the difference in IPv6 header size sg 2015-01-18 14:08:11 +01:00
  • 05aa0ad114 netconn_delete(): check for errors returned by lwip_netconn_do_delconn() and don't call netconn_free() on error sg 2015-01-17 21:54:17 +01:00