Commit Graph

  • 5cf4771397 snmp: eliminiate mib_ram_array_node (it is not necessary: to the agent, the nodes may be const since the actual mib implementation knows the structures behind the nodes which do not have to be const) Dirk Ziegelmeier 2015-10-03 20:27:49 +02:00
  • 8891b277c6 snmp: hopefully fixed all alignment warnings introduced today. unfortunately, gcc does not warn about them when compiling for x86 sg 2015-10-02 21:59:40 +02:00
  • e4abd4234d removed comma before } goldsimon 2015-10-02 13:26:11 +02:00
  • fe33fd6d86 snmp: cleaned up mib_* structs: "base" class 'struct mib_node' only needs the type, get/set functions are not used on array/external nodes (only on scalar/listroot nodes) goldsimon 2015-10-02 12:33:45 +02:00
  • bf75ace695 snmp: combine oid and node pointers in array entries goldsimon 2015-10-02 10:53:17 +02:00
  • 5b1b430403 sockets ERR_TO_ERRNO_TABLE_SIZE: use LWIP_ARRAYSIZE() goldsimon 2015-10-02 10:07:45 +02:00
  • 424bd7e38c def.h: added LWIP_ARRAYSIZE() macro goldsimon 2015-10-02 10:05:32 +02:00
  • 180ed573a5 snmp_trap_dst_ip_set: ip_addr_t pointer can be const goldsimon 2015-10-02 09:58:31 +02:00
  • a9b6b5b704 adapt init.c to moved declaration of snmp_init goldsimon 2015-10-02 09:57:15 +02:00
  • 064d171332 snmp: moved agent initialization from snmp_msg.h to snmp.h goldsimon 2015-10-02 09:56:37 +02:00
  • 30445712a5 snmp: make mib_scalar_node a "derived" struct like all other nodes goldsimon 2015-10-02 09:56:00 +02:00
  • 91b6d45178 struct netif->hostname can be a const pointer goldsimon 2015-10-02 09:42:49 +02:00
  • 3312983b27 Make LWIP_DNS_SECURE and its possible values known in opt.h, remove default initialization of DNS server sg 2015-10-01 21:38:39 +02:00
  • fecd1bde83 ip4_route: fixed checking twice for a valid default_netif, fixed checking loopback traffic before checking for a valid default netif sg 2015-10-01 21:17:59 +02:00
  • 0176e03e36 mib2: one more '};' -> '}' goldsimon 2015-10-01 10:21:52 +02:00
  • 8c35429ba3 add last change to CHANGELOG goldsimon 2015-10-01 10:09:34 +02:00
  • 9957cd4a2a fixed bug #46089: snmp: race condition on length change between get_object_def() and get_value() Dirk Ziegelmeier 2015-10-01 10:08:23 +02:00
  • ae7eeda88a dns_found_callback should take const IP addr Dirk Ziegelmeier 2015-09-30 22:07:03 +02:00
  • 3f4d75c8d6 netif_get_ip6_addr_match/netif_add_ip6_address must take a const ip6addr to be usable Dirk Zigelmeier 2015-09-30 20:55:08 +02:00
  • 1bcd361456 adapt CHANGELOG to last change goldsimon 2015-09-30 17:54:43 +02:00
  • 7962b21c00 snmp: fixed ugly inheritance implementation by aggregating the "base class" (struct mib_node) in all derived node classes to get more type-safe code Dirk Ziegelmeier 2015-09-30 17:54:25 +02:00
  • 59002d5081 mib2: only export 'internet', all other variables can be static goldsimon 2015-09-30 17:42:19 +02:00
  • ce883d2041 minor: mib2.c: sys_tem_* -> system_* for everything but 'sys_tem' (without suffix) goldsimon 2015-09-30 17:39:32 +02:00
  • 96847c1199 snmp: added helper functions to encode/decode BITS pseudo type, added define for Counter64 type, minor layout changes goldsimon 2015-09-30 17:24:53 +02:00
  • df1f12778f snmp: moved noleafs_get/set functions from mib2.c to mib_structs.c, where they belong goldsimon 2015-09-30 17:19:08 +02:00
  • dff234112b minor: removed superfluous comma after '}' in mib2.c; removed superfluous comment on get-functions that follow a function typedef goldsimon 2015-09-30 17:13:05 +02:00
  • e18e08ff08 minor: removed superfluous comma after '}' in msg_out.c goldsimon 2015-09-30 17:09:04 +02:00
  • f3ed562983 minor: removed superfluous comma after '}' in dns.c goldsimon 2015-09-30 17:01:57 +02:00
  • 969fb4c981 minor: removed some trailing spaces in tcp.c goldsimon 2015-09-30 17:00:57 +02:00
  • 82fcc307ef mld6: Simplify join/leavegroup() Erik Ekman 2015-09-30 15:50:51 +02:00
  • 1fdab5ac0e Added/changed header of dhcp.c/.h goldsimon 2015-09-30 16:33:48 +02:00
  • 389831218e Finished task #13731: fix usage of "snmp_inc_*" goldsimon 2015-09-30 15:54:43 +02:00
  • 7b5ef3ae58 implement/remove missing IP counters in stats_mib2 (see task #13731) goldsimon 2015-09-30 15:05:52 +02:00
  • 9d28549f32 minor: fixed coding style in mld6.c goldsimon 2015-09-30 14:48:25 +02:00
  • 6cdea62638 Add functions to join/leave v6 multicast group by netif Erik Ekman 2015-09-30 09:55:18 +02:00
  • 3dd0977635 minor: fixed coding style in igmp.c goldsimon 2015-09-30 14:37:37 +02:00
  • ba71ac78d9 Add functions to join/leave IGMP group by netif Erik Ekman 2015-09-28 16:38:31 +02:00
  • 373714c02f dns: improved handling 2nd server if first failed goldsimon 2015-09-30 14:22:39 +02:00
  • 927b72abd2 fixed bug #46072: ip4addr_aton() does not check the number range of all address parts goldsimon 2015-09-30 14:15:36 +02:00
  • f89e859415 minor: fixed coding style in ip4addr_aton() goldsimon 2015-09-30 14:13:05 +02:00
  • dae73e21b8 minor: fixed coding style in ip4addr_aton() goldsimon 2015-09-30 14:11:50 +02:00
  • f950bf4362 ipaddr_aton(): favour ':' over '.' to decide for IPv6 first (since IPv6 mapped IPv4 addresses might contain both ':' and '.') goldsimon 2015-09-30 14:06:44 +02:00
  • 0621e8d1b1 ip6addr_aton(): fail on three successive colons in an IPv6 address string goldsimon 2015-09-30 14:05:13 +02:00
  • 5a185a0fbd minor: fixed coding style in ip6addr_aton() goldsimon 2015-09-30 13:55:09 +02:00
  • 45fd622491 Fixed bug #46071 Logic error in line 1473 in dns.c goldsimon 2015-09-30 13:36:13 +02:00
  • 5e7a74e2e7 fixed bug #46064: ip_set_v6() must set pcb ip address types as well goldsimon 2015-09-28 09:36:36 +02:00
  • 94625a8fa8 MIB2_STATS: moved netif related mib2 counters into a struct (defined in stats.h), added ifInErrors/ifInUnkownProtos (now handled in etharp.c) and ifOutErrors goldsimon 2015-09-28 08:50:21 +02:00
  • dbe703cfb0 netdb: fixed warning about pointless comparison goldsimon 2015-09-28 08:10:53 +02:00
  • bc30899168 fixed compiler warnings where passing variable instance to ip_addr_isany goldsimon 2015-09-28 07:56:52 +02:00
  • ce98bc9437 test: etharp: Fixed const warning Sylvain Rochet 2015-09-27 22:59:15 +02:00
  • d39f929675 PPP: magic: don't truncate sys_jiffies() return value Sylvain Rochet 2015-09-27 17:15:31 +02:00
  • b589864144 sys.h: fixed comment, sys_msleep() is in ms, not in jiffies Sylvain Rochet 2015-09-27 00:05:58 +02:00
  • 9e0202b38f PPP, PPP_MAXIDLEFLAG is now in ms instead of jiffies Sylvain Rochet 2015-09-26 23:01:15 +02:00
  • ba41685353 PPP: include "ppp_settings.h" if PPP_INCLUDE_SETTINGS_HEADER is defined to be able to silence some warnings in PPP code only (at least msvc needs this since PPP produces more warnings than the rest) sg 2015-09-24 22:04:48 +02:00
  • bb91bd2279 fixed coding style: use more () sg 2015-09-24 21:04:20 +02:00
  • 8b2c73de4e ip4: routing: check peer for point to point interfaces Sylvain Rochet 2015-09-13 20:00:45 +02:00
  • 715d8d3881 simplify FDSETSAFESET()/FDSETSAFEGET(): p is not required goldsimon 2015-09-24 15:34:54 +02:00
  • 5ad743e182 FD_SET: dump NULL-check that hides usage error, dump non-standard FD_SET_VAL goldsimon 2015-09-24 15:21:03 +02:00
  • b0917d987a Cleaned up using struct netif.ip_addr by creating API functions for it goldsimon 2015-09-24 14:57:16 +02:00
  • 99d2e5233d struct udp_pcb.multicast_ip must be an ip_addr_t, too, to completely avoid temporary storage goldsimon 2015-09-24 14:55:55 +02:00
  • e11e12f01d Fixed ETHARP_TRUST_IP_MAC after changing struct netif.ip_addr/netmask to ip_addr_t goldsimon 2015-09-24 14:46:29 +02:00
  • c71723101a Removed ip_2_ip4/6_c const macros again now that ip_2_ip4/6 macros keep the original const'ness goldsimon 2015-09-24 14:38:52 +02:00
  • 262a641396 eliminate temporary storage when using netif addresses for ip_addr_t* now that they have the correct type (ATTENTION: ip6_select_source_address() and ip4_netif_get_local_ip() now return ip_addr_t*!) goldsimon 2015-09-24 14:34:24 +02:00
  • 4d2f4ce78c udp: don't use ip4_2_ip() where not required goldsimon 2015-09-24 10:39:13 +02:00
  • 51ce505d7d Simplify ip_2_ip6/4(_c) macros (and removed LWIP_ALLOW_STATIC_FN_IN_HEADER) -> now the *_c versions should not be required any more goldsimon 2015-09-24 10:13:45 +02:00
  • f85737bf29 Fixed const warning in lwip_writev goldsimon 2015-09-24 09:30:00 +02:00
  • ed4130bd2f Fixed const errors after changing netif_ip4_addr/netif_ip6_addr to return cont pointers goldsimon 2015-09-24 08:06:50 +02:00
  • 0fbdd5e56e fixed compiling LWIP_HAVE_LOOPIF after changing struct netif.ip6_addr to ip_addr_t goldsimon 2015-09-24 07:58:29 +02:00
  • cc4d09423a Add writev function Joel Cunningham 2015-09-22 08:36:27 -05:00
  • db76671d4d task #13729: Convert netif addresses (IPv4 & IPv6) to ip_addr_t (so they can be used without conversion/temporary storage) sg 2015-09-23 22:09:37 +02:00
  • 05e6f06b62 Fixed IP_ADDR6 macro for IPv6 only sg 2015-09-23 22:07:34 +02:00
  • f36adac8ab fixed compiling udp.c for IPv6-only sg 2015-09-23 22:07:14 +02:00
  • 121268d320 Added ip_addr_set_zero_ip4() to explicitly set the type to IPv4 for dual-stack sg 2015-09-23 21:56:34 +02:00
  • e6b6543c33 igmp: use netif_ip4_addr() instead of directly accessing struct netif member goldsimon 2015-09-23 16:26:56 +02:00
  • e00e4a6c13 make netif_ip4_* get accessors return const pointers Dirk Ziegelmeier 2015-09-23 13:19:56 +02:00
  • e588dfdbce documentation: savannah: updated for Git Sylvain Rochet 2015-09-22 21:52:44 +02:00
  • 2f40d19193 trivial CVS to Git renaming Sylvain Rochet 2015-09-22 21:09:57 +02:00
  • 7a485b1a71 README: replaced CVS references to Git Sylvain Rochet 2015-09-22 20:37:32 +02:00
  • abc74464a0 Revert "make netif_ip4_addr/netmask/gw macros return constant IP address pointers" goldsimon 2015-09-22 11:42:41 +02:00
  • 9882dd5eff documentation: rawapi: more syntax fixes Sylvain Rochet 2015-09-22 00:27:56 +02:00
  • bb92a059b6 documentation: rawapi: syntax fixes Sylvain Rochet 2015-09-22 00:20:49 +02:00
  • 47a579f54f documentation: rawapi: improved documentation on multithreading state Sylvain Rochet 2015-09-21 23:54:16 +02:00
  • 6746f1d13c documentation: rawapi: update to current lwIP design Sylvain Rochet 2015-09-21 23:19:18 +02:00
  • 74939c20c4 doc: contrib: CVS -> Git, punctuation fixes Sylvain Rochet 2015-09-21 22:40:56 +02:00
  • b9b31a5e72 make netif_ip4_addr/netmask/gw macros return constant IP address pointers Dirk Ziegelmeier 2015-09-21 20:32:14 +02:00
  • 8eab90418a PPP, auth, code cleaning: removed useless variables on stack Sylvain Rochet 2015-09-18 22:51:32 +02:00
  • 83cddd8941 PPP: more const and mixed u_char/char types fixes Sylvain Rochet 2015-09-18 20:11:09 +02:00
  • e8c0ba2a47 Fix tests after ip4_current_header() made const Erik Ekman 2015-09-18 09:31:37 +02:00
  • cb6adc643b PPP: more const fixes sg 2015-09-17 22:20:12 +02:00
  • 0454950564 fixed compiling for various config combinations sg 2015-09-17 22:19:37 +02:00
  • 4f9bcc5ecc fixed compiler warnings reported by mingw-64 sg 2015-09-17 22:00:16 +02:00
  • 39e32ea7c1 fixed const warning for !IPV6_FRAG_COPYHEADER sg 2015-09-17 21:59:54 +02:00
  • 2f3dcf7a16 fixed compiling lwip_sendmsg for LWIP_NETIF_TX_SINGLE_PBUF && LWIP_CHECKSUM_ON_COPY sg 2015-09-17 21:36:25 +02:00
  • 6f0dceee09 fixed some printf formatters (mainly for window scaling code) sg 2015-09-17 21:33:25 +02:00
  • 9614c60cf6 fixed constness for DNS_LOCAL_HOSTLIST_IS_DYNAMIC sg 2015-09-17 21:32:11 +02:00
  • cca758d332 Fixed using wrong sockaddr type in lwip_getaddrinfo when IPv6 is enabled Dirk Ziegelmeier 2015-09-17 20:55:44 +02:00
  • 52a4ca99a8 pbuf_take: make it comply with API specifications Robert Szewczyk 2015-09-16 16:50:35 -07:00
  • 72b3f3f612 Hook up TCP cachehit stat Joel Cunningham 2015-09-17 09:07:52 -05:00
  • f62022cdf3 Compiler warning fixes (mostly constness in dual-stack configurations) Dirk Ziegelmeier 2015-09-17 13:59:52 +02:00
  • 726af89168 minor compiler warning fixes and coding style goldsimon 2015-09-17 11:00:21 +02:00