Commit Graph

  • 8ce49499ae tcpip_priv.h: More API improvements Dirk Ziegelmeier 2016-04-25 21:21:16 +02:00
  • 5a123a3405 tcpip_priv.h: More flexible API by including return value in API_VAR_ALLOC macro Dirk Ziegelmeier 2016-04-25 21:00:28 +02:00
  • 0d0b935d3d tcpip_priv.h: Add helper macros for APIs that use private mempools Dirk Ziegelmeier 2016-04-25 20:51:26 +02:00
  • 2be86fbc3e Fix compile of api_lib.c when LWIP_MPU_COMPATIBLE is enabled Dirk Ziegelmeier 2016-04-25 20:50:14 +02:00
  • bb908366a5 More PPP cleanups Dirk Ziegelmeier 2016-04-25 20:08:21 +02:00
  • 73d8f14ebd Fix compile when PPP is not enabled Dirk Ziegelmeier 2016-04-25 19:55:53 +02:00
  • ffa340a68c task #13907: PPP cleanups: Move PPP mempools out of lwIP core to PPP code Dirk Ziegelmeier 2016-04-25 19:52:07 +02:00
  • b8b83c2994 Move some definitions from tcpip_priv.h to better places since they are of "public interest" (LWIP core locking mode, watchdog trigger) Dirk Ziegelmeier 2016-04-23 10:24:17 +02:00
  • 4d1a2e6699 Fix projects without PPP do not compile any more Dirk Ziegelmeier 2016-04-22 06:24:01 +02:00
  • 15fbfb7363 PPP, remove useless ppp_init function Sylvain Rochet 2016-04-21 23:25:48 +02:00
  • 54f7cae12c PPP, fix reserved identifier violation (removed leading underscores from header include guards) Sylvain Rochet 2016-04-21 23:15:49 +02:00
  • 76d25befb4 Work on task #13907 PPP cleanups: Move PPP options from opt.h to dedicated ppp_opts.h file Dirk Ziegelmeier 2016-04-21 22:28:14 +02:00
  • 749f7fae1a Move PPP API files to netif/ppp subdir Dirk Ziegelmeier 2016-04-21 21:47:26 +02:00
  • 61d07f88f0 Fix bug #47749: #define ETHARP_TRUST_IP_MAC does not compile Dirk Ziegelmeier 2016-04-21 21:21:56 +02:00
  • 8ac1b4825a udp: use netif addr as src for multicast sockets Joel Cunningham 2016-03-17 14:38:14 -05:00
  • 87354abf0f snmpv3_mbedtls.c: snmpv3_crypt() is only needed when LWIP_SNMP_V3_CRYPTO is enabled Dirk Ziegelmeier 2016-04-14 08:26:29 +02:00
  • 0b6370b9b8 SNMPv3: Make receiving DES encrypted frames work, sending still fails because of broken padding Dirk Ziegelmeier 2016-04-11 22:04:28 +02:00
  • 92f5da8412 two minor fixes in snmpv3_mbedtls.c Dirk Ziegelmeier 2016-04-07 06:58:58 +02:00
  • 309e072238 Create new IP_IS_V4 macros and use them at instead of !IP_IS_V6 - since we now have an IPADDR_ANY_TYPE, just checking for !V6 does not mean it is V4 Dirk Ziegelmeier 2016-04-06 22:31:31 +02:00
  • ab2c65549d Avoid divisions / module in SNMP code on stupid compilers Dirk Ziegelmeier 2016-04-06 11:16:54 +02:00
  • ca1b8288de prepare for overriding current timeout implementation: all stack-internal caclic timers are avaliable in the lwip_cyclic_timers array sg 2016-04-05 23:01:57 +02:00
  • 8c7f513f4d patch #8358: allow more combinations of listening PCB for IPv6 sg 2016-04-05 22:04:19 +02:00
  • 16c70dd60e fixed bug# 43739 (Accept not reporting errors about aborted connections): netconn_accept() returns ERR_ABRT (sockets: ECONNABORTED) for aborted connections, ERR_CLSD (sockets: EINVAL) if the listening netconn is closed, which better seems to follow the standard sg 2016-04-05 21:42:10 +02:00
  • 03e9c88488 fixed bug #47625 (Error in compilation of C++ source using netifapi macros) by changing NULL define for __cplusplus sg 2016-04-05 21:04:06 +02:00
  • 0731eda0b3 make autoip_supplied_address() take a const pointer, too sg 2016-04-05 20:38:11 +02:00
  • 083c6123d6 snmpv3_dummy.c: Add newline at end of file Dirk Ziegelmeier 2016-04-05 13:18:54 +02:00
  • 12a4cae404 Apply [patch #8969] from Freddie Chopin: Constify netif in dhcp_supplied_address() Dirk Ziegelmeier 2016-04-05 13:18:27 +02:00
  • 3a26e8b6cc Fix build when snmpv3 is not available. One more thanks, Erik :-) Dirk Ziegelmeier 2016-04-04 22:10:59 +02:00
  • 28652d4d51 Fix build when mbedtls is not available :-) Thanks Erik! Dirk Ziegelmeier 2016-04-04 22:07:50 +02:00
  • b67427bd3b Commit Elias Oenal's SNMPv3 work, with some restructuring: - The abstraction from crypto framework was not well suitable to MBEDTLS, so I decided to move everything into an own file. - I removed several #defines and created function prototypes instead - this is more type-safe, and users don't need to reinvent the function signatures. - Header files were splitted into a public and a private part. - Only SNMPv3 authentication was tested, privacy not yet. Dirk Ziegelmeier 2016-04-04 18:55:32 +02:00
  • 3a7c998f91 Fix bug #47592: pppapi_do_ppp_set_notify_phase_callback has invalid parameter type ... and one more I missed in my conversion yesterday Dirk Ziegelmeier 2016-04-01 10:38:27 +02:00
  • 141aeaab3d Fix shadowing warning (when compiling in C++) in TCPIP call API. Reported by Freddie Chopin. Dirk Ziegelmeier 2016-03-31 19:52:20 +02:00
  • c8b65f6c1d Fix #define IPADDR_STRLEN_MAX in IPv6 only and dual-stack case Dirk Ziegelmeier 2016-03-30 11:20:54 +02:00
  • d70d9bf866 SNTP: Add function to get SNTP enabled state Dirk Ziegelmeier 2016-03-30 11:20:16 +02:00
  • 4bd57882b0 Fix SNMP compile on Win32 due to missing #includes Dirk Ziegelmeier 2016-03-29 16:51:33 +02:00
  • 52fdc6bb3e Partly apply Elias Oenal's SNMP V3 patch, part 2: Add SNMPv3 support routines. Crypto does not work yet. Dirk Ziegelmeier 2016-03-29 10:24:20 +02:00
  • d0c3baf340 Partly apply Elias Oenal's SNMP V3 patch. There is more to come, the work is incomplete at the moment and does not compile when LWIP_SNMP_V3 is enabled. Dirk Ziegelmeier 2016-03-29 10:16:17 +02:00
  • 6f43057662 Update changelog Dirk Ziegelmeier 2016-03-29 09:52:36 +02:00
  • d8784a77b7 Fix bug #47556: snmp agent uses wrong err 'ERR_ABRT' - use ERR_ARG as old code. Was tested to be != ERR_OK only, so actual code did not matter Dirk Ziegelmeier 2016-03-28 16:57:36 +02:00
  • 27f03798b9 Fixed possible problems with tcp_backlog_delayed/tcp_backlog_accepted sg 2016-03-25 16:19:39 +01:00
  • 5b0a47ca87 removed unused return values of tcp_listen_input & tcp_timewait_input; fixed unused variable warning goldsimon 2016-03-24 15:06:31 +01:00
  • 9b0a0841e9 Fix compile of snmp/snmp_mib2.c - don't know why I didn't notice yesterday... Dirk Ziegelmeier 2016-03-24 14:31:33 +01:00
  • 0b4bc5ea31 minor whitespace change only goldsimon 2016-03-24 07:15:27 +01:00
  • cab341976e SNMP: Reduce #includes of snmp_mib2.c Dirk Ziegelmeier 2016-03-23 22:36:02 +01:00
  • 52a3bf5d43 SNMP: Cleanups after my last changes Dirk Ziegelmeier 2016-03-23 22:32:06 +01:00
  • 63c2dc926e SNMP: Move MIB2 ip subtree to separate file to get snmp_mib2.c smaller Dirk Ziegelmeier 2016-03-23 22:21:30 +01:00
  • cc477361ad SNMP: Move MIB2 system subtree to separate file to get snmp_mib2.c smaller Dirk Ziegelmeier 2016-03-23 22:12:28 +01:00
  • 377885581f SNMP: Move MIB2 interfaces subtree to separate file to get snmp_mib2.c smaller Dirk Ziegelmeier 2016-03-23 22:04:45 +01:00
  • 7321420d8c SNMP: Move MIB2 ICMP subtree to separate file to get snmp_mib2.c smaller Dirk Ziegelmeier 2016-03-23 21:56:29 +01:00
  • 9466d64a9a SNMP: Move MIB2 TCP subtree to separate file to get snmp_mib2.c smaller Dirk Ziegelmeier 2016-03-23 21:50:32 +01:00
  • d929a4b17e SNMP: Move MIB2 UDP subtree to separate file to get snmp_mib2.c smaller Dirk Ziegelmeier 2016-03-23 21:45:29 +01:00
  • 945607e094 SNMP: Move MIB2 SNMP subtree to separate file to get snmp_mib2.c smaller Dirk Ziegelmeier 2016-03-23 21:32:51 +01:00
  • 7721b20179 call accept-callback with ERR_MEM when allocating a pcb fails on passive open to inform the application about this error; ATTENTION: applications have to handle NULL pcb in accept callback! sg 2016-03-23 21:57:38 +01:00
  • c6b742812d fixed bug #38203: DHCP options are not recorded in all DHCP ack messages (patch by Florent Matignon) sg 2016-03-23 21:06:52 +01:00
  • 85d5fbdc7f lwip_accept: fixed returning EOPNOTSUPP instead of -1 (EOPNOTSUPP is set as socket error) goldsimon 2016-03-23 14:27:40 +01:00
  • 449fc98a55 tcp_alloc(): Remove superfluous initialization for pcb->keep_cnt_sent Axel Lin 2016-03-20 11:06:39 +08:00
  • 7e7f2f31ff Cleanup and simplify tcpip_api_call() implementation a bit Dirk Ziegelmeier 2016-03-22 21:52:11 +01:00
  • a1fc91afa8 Fix newly introduced tcpip_api_call did not return correct return value Dirk Ziegelmeier 2016-03-22 21:34:05 +01:00
  • c39ef75cb3 ... and another compiler error: tcp_nagle_enable() must stay at tcpflags_t, not using u16_t goldsimon 2016-03-22 15:58:00 +01:00
  • 7bda462031 fixed wrong commit: compatibility-define tcp_accepted() was accidentally commented-out goldsimon 2016-03-22 15:54:14 +01:00
  • f97bf85fd6 udp.c: Allow udp_connect() on a dual-stack UDP PCB (type IPADDR_TYPE_ANY). This may be useful in some applications - no need to keep separate storage for target IP. Dirk Ziegelmeier 2016-03-22 15:12:16 +01:00
  • a9c7ead6b7 Update git ignore list for LwipMibCompiler Dirk Ziegelmeier 2016-03-22 15:06:45 +01:00
  • dd80759bb9 tcp: changed accept handling to be done internally: the application does not have to call tcp_accepted() any more. Instead, when delaying accept (e.g. sockets do), call tcp_backlog_delayed()/tcp_backlog_accepted() (fixes bug #46696) sg 2016-03-22 07:30:44 +01:00
  • a1c78ea7bf ignore dns response parsing errors, only abort resolving for correct responses or error responses from correct server (bug #47459) sg 2016-03-22 07:22:17 +01:00
  • 5794ac2340 tcp_alloc(): remove explicit =0 already done by memset(0) sg 2016-03-18 22:05:17 +01:00
  • 44e1a2d8e2 define tcp_backlog_set() as dummy-define when backlog feature is disable sg 2016-03-18 20:05:04 +01:00
  • 3a62a45bcd Fix year in recent CHANGELOG entries Joel Cunningham 2016-03-18 10:09:25 -05:00
  • 149bb36805 fixed bug #47448 (netconn/socket leak if RST is received during close) sg 2016-03-17 21:49:01 +01:00
  • 93ccba9bcb don't fail closing a socket/netconn when failing to allocate the FIN segment; blocking the calling thread for a while is better than risking leaking a netconn/socket (see bug #46701) Joel Cunningham 2016-03-17 21:00:18 +01:00
  • b24e5cd1c8 fixed compiling netconn_write_partly with LWIP_SO_SNDTIMEO==1 after recent api implementation changes (bug #47436, patch by William Hayes) sg 2016-03-17 20:15:22 +01:00
  • 7fbb5fc82a Fix netconn API in core locking mode Dirk Ziegelmeier 2016-03-17 09:31:50 +01:00
  • 464a8c9794 Delete script to compile MOBA MIB Dirk Ziegelmeier 2016-03-17 08:27:45 +01:00
  • 7aea739f87 PPPAPI: Don't return garbage in *_create calls in case tcpip_api_call() fails; Let some functions return err_t instead of void because tcpip_api_call() may fail Dirk Ziegelmeier 2016-03-16 23:01:05 +01:00
  • 852d5b9c80 Optimize tcp_output runtime by not calling ip_route() for every segment sent sg 2016-03-16 22:31:33 +01:00
  • b4d7238eb8 tcp_output_segment: don't count retransmitted segments in mib2.tcpoutsegs by detecting p->payload != tcphdr pointer; don't try to retransmit segments where p->ref != 1 (as it is invalid to mess up p->len/p->payload when we don't have exclusive access to the pbuf) sg 2016-03-16 22:22:20 +01:00
  • ee87d28252 Rename tcpip_apimsg to netconn_apimsg (better suits naming convention in api_lib.c) Dirk Ziegelmeier 2016-03-16 22:02:47 +01:00
  • 6ffe12cede Readd struct protoype in api.h Dirk Ziegelmeier 2016-03-16 21:56:57 +01:00
  • d6adc1f6cb Rename tcpip_send_api_msg to tcpip_send_msg_wait_sem (hopefully a little bit clearer name) Dirk Ziegelmeier 2016-03-16 21:54:38 +01:00
  • 5f8b5cbb20 reset rto timer on fast retransmission (see task #13757, patch by Joel Cunningham) sg 2016-03-16 21:49:37 +01:00
  • 7b9cb98bbb LWIP_TCPIP_CORE_LOCKING_INPUT is not experimental any more, as well sg 2016-03-16 21:48:47 +01:00
  • 222eb25eb5 Accidentally committed my MIB compiler test, sorry! Dirk Ziegelmeier 2016-03-16 21:38:22 +01:00
  • dbfdb13166 LwipMibCompiler: Set MIB compiler as startup project instead of MIB viewer Dirk Ziegelmeier 2016-03-16 21:34:39 +01:00
  • d38cdccbcd netconn API: Remove api_msg wrapper struct, it is not needed any more Dirk Ziegelmeier 2016-03-16 21:31:19 +01:00
  • 2575c7fb5f netconn API: Cleanup, remove lots of #defines, take advantage of new tcpip_send_api_msg function feature to abstract core locking away Dirk Ziegelmeier 2016-03-16 20:16:06 +01:00
  • ea174560b1 tcpip.c tcpip_send_api_msg: Handle core locking case internally Dirk Ziegelmeier 2016-03-16 20:14:52 +01:00
  • bc51dddcaf Add some comments to functions and #defines. According to Simon, LWIP core locking is not experimental any more. Dirk Ziegelmeier 2016-03-16 17:46:06 +01:00
  • f09dec5fb7 ethernetif.c: implement SNMP counters, simplify input function: no need to check ethType, ethernet_input() already does this sg 2016-03-16 21:26:31 +01:00
  • 8e8571da6a fixed bug #46384 Segment size calculation bug with MSS != TCP_MSS sg 2016-03-16 16:56:15 +01:00
  • 0d576aa521 Fix bug #47426 incorrect typecast in pppapi.c Dirk Ziegelmeier 2016-03-16 12:37:08 +01:00
  • 0e1b401abe sntp: fixed constness for SNTP_SERVER_DNS==1 goldsimon 2016-03-14 14:29:26 +01:00
  • bf7fc41e0f LwipMibCompiler: Add windows command line example Dirk Ziegelmeier 2016-03-14 12:13:44 +01:00
  • 90bc1da434 LwipMibCompiler: Don't generate empty root nodes Dirk Ziegelmeier 2016-03-14 12:13:24 +01:00
  • dc98e31e4d LwipMibCompiler: MibTree: Adapt coding style to the rest of the C# project Dirk Ziegelmeier 2016-03-14 12:13:05 +01:00
  • 1d7996dc47 tcpip API calls: Implement LWIP_NETCONN_SEM_PER_THREAD support for ALL API calls Dirk Ziegelmeier 2016-03-13 19:43:49 +01:00
  • 2b3db52c70 pppol2tp.c: Avoid an #ifdef - there is a new UDP API function that can be used here Dirk Ziegelmeier 2016-03-12 12:26:23 +01:00
  • b65a22b32a LwipMibCompiler: Don't preserve upper case on generated variables Jan Breuer 2016-03-09 20:55:08 +01:00
  • b849e52c17 LwipMibCompiler: preserve upper case in comments Jan Breuer 2016-03-09 19:56:49 +01:00
  • 588b11185a LwipMibCompiler: Remove false positive root entities Jan Breuer 2016-03-10 09:17:10 +01:00
  • dfc963880a LwipMibCompiler: Fix generating SnmpScalarArrayNode callbacks Jan Breuer 2016-03-09 20:16:35 +01:00
  • 00975769a0 Minor TCPIP API call functions cleanup Dirk Ziegelmeier 2016-03-08 21:56:32 +01:00