sg
8dfd5e82cb
first 'app': added SNTP client from contrib (unmodified from 196cbae376dfd484b4833503dd43057b4c3462fa, 28.08.2015)
11 years ago
goldsimon
65efeec4e9
fixed bug #46145 tcp_send_empty_ack() uses wrong netif with LWIP_HOOK_IP4_ROUTE_SRC (patch by Milan Cermak)
11 years ago
goldsimon
15bb334e81
SNMP: use PBUF_RAM for sending, PBUF_POOL is mostly used for RX only (if this isn't followed, tcp can get stuck when ACKs don't come through - unless some PBUF_POOL pbufs are reserved for such RX)
11 years ago
goldsimon
77f906376e
minor: fixed coding style (lwip style)
11 years ago
goldsimon
9b22f167f1
minor: mib2: removed some blocks by defining common variables above the switch
11 years ago
goldsimon
b401f42520
minor: fixed coding style (lwip style)
11 years ago
goldsimon
2949449e25
minor: SNMP: fixed coding style (lwip style)
11 years ago
sg
2b971400fa
minor: coding style
11 years ago
sg
22df34fc70
minor/coding style: removed spaces before line ending (from file header)
11 years ago
sg
490581a0eb
minor/coding style: removed spaces before line ending
11 years ago
goldsimon
0737cfb84e
Fixed bug #46128 (patch by Kerem Hadimli)
11 years ago
Erik Ekman
58895c3cf6
PPP: Fix shadowing of global declaration 'sha1'
...
lwip/src/netif/ppp/mppe.c: In function `mppe_rekey':
lwip/src/netif/ppp/mppe.c:74:15: error: declaration of`sha1' shadows a global declaration [-Werror=shadow]
lwip/src/include/netif/ppp/polarssl/sha1.h:88:6: error: shadowed declaration is here [-Werror=shadow]
11 years ago
Erik Ekman
7fb832aa4e
PPP: Fix shadowing of global declaration
...
Older compilers don't like variables with the same name as
global functions. md5.h contains a function md5(), rename
md5 variable in magic.c to md5_ctx.
11 years ago
Erik Ekman
673c6505ae
PPP: Fix shadowing of global declaration
...
Older compilers don't like variables with the same name as
global functions. md5.h contains a function md5(), rename
md5 variable in magic.c to md5_ctx.
lwip/src/netif/ppp/magic.c: In function `magic_churnrand':
lwip/src/netif/ppp/magic.c:105:15: error: declaration of `md5' shadows a global declaration [-Werror=shadow]
lwip/src/include/netif/ppp/polarssl/md5.h:88:6: error: shadowed declaration is here [-Werror=shadow]
lwip/src/netif/ppp/magic.c: In function `magic_random_bytes':
lwip/src/netif/ppp/magic.c:165:15: error: declaration of `md5' shadows a global declaration [-Werror=shadow]
lwip/src/include/netif/ppp/polarssl/md5.h:88:6: error: shadowed declaration is here [-Werror=shadow]
11 years ago
Erik Ekman
1fef434f01
PPP: Fix shadowing of global declaration
...
Older compilers (GCC 4.6) don't like variables with the same name as
global functions:
lwip/src/netif/ppp/lcp.c: In function 'lcp_received_echo_reply':
lwip/src/netif/ppp/lcp.c:2685:11: error: declaration of 'magic' shadows a global declaration [-Werror=shadow]
lwip/src/include/netif/ppp/magic.h:101:7: error: shadowed declaration is here [-Werror=shadow]
magic.h contains a function named magic(), so rename the variable.
11 years ago
Sylvain Rochet
495fc61a34
Documentation: SNMP: update to recent changes
...
Remove snmp_init(), it is called by lwip_init().
Remove snmp_inc_sysuptime() and snmp_add_sysuptime(), they do not exist
anymore, MIB2 is now using sys_now().
11 years ago
Erik Ekman
f80d0dab08
Remove old comments about DHCP setting netif up
11 years ago
sg
fb1ac8d766
snmp mib2: more const
11 years ago
Dirk Ziegelmeier
bc47bd28ab
snmp mib2: more nodes can be const
11 years ago
Dirk Ziegelmeier
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)
11 years ago
sg
8891b277c6
snmp: hopefully fixed all alignment warnings introduced today. unfortunately, gcc does not warn about them when compiling for x86
11 years ago
goldsimon
e4abd4234d
removed comma before }
11 years ago
goldsimon
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)
11 years ago
goldsimon
bf75ace695
snmp: combine oid and node pointers in array entries
11 years ago
goldsimon
5b1b430403
sockets ERR_TO_ERRNO_TABLE_SIZE: use LWIP_ARRAYSIZE()
11 years ago
goldsimon
424bd7e38c
def.h: added LWIP_ARRAYSIZE() macro
11 years ago
goldsimon
180ed573a5
snmp_trap_dst_ip_set: ip_addr_t pointer can be const
11 years ago
goldsimon
a9b6b5b704
adapt init.c to moved declaration of snmp_init
11 years ago
goldsimon
064d171332
snmp: moved agent initialization from snmp_msg.h to snmp.h
11 years ago
goldsimon
30445712a5
snmp: make mib_scalar_node a "derived" struct like all other nodes
11 years ago
goldsimon
91b6d45178
struct netif->hostname can be a const pointer
11 years ago
sg
3312983b27
Make LWIP_DNS_SECURE and its possible values known in opt.h, remove default initialization of DNS server
11 years ago
sg
fecd1bde83
ip4_route: fixed checking twice for a valid default_netif, fixed checking loopback traffic before checking for a valid default netif
11 years ago
goldsimon
0176e03e36
mib2: one more '};' -> '}'
11 years ago
goldsimon
8c35429ba3
add last change to CHANGELOG
11 years ago
Dirk Ziegelmeier
9957cd4a2a
fixed bug #46089 : snmp: race condition on length change between get_object_def() and get_value()
11 years ago
Dirk Ziegelmeier
ae7eeda88a
dns_found_callback should take const IP addr
11 years ago
Dirk Zigelmeier
3f4d75c8d6
netif_get_ip6_addr_match/netif_add_ip6_address must take a const ip6addr to be usable
11 years ago
goldsimon
1bcd361456
adapt CHANGELOG to last change
11 years ago
Dirk Ziegelmeier
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
11 years ago
goldsimon
59002d5081
mib2: only export 'internet', all other variables can be static
11 years ago
goldsimon
ce883d2041
minor: mib2.c: sys_tem_* -> system_* for everything but 'sys_tem' (without suffix)
11 years ago
goldsimon
96847c1199
snmp: added helper functions to encode/decode BITS pseudo type, added define for Counter64 type, minor layout changes
11 years ago
goldsimon
df1f12778f
snmp: moved noleafs_get/set functions from mib2.c to mib_structs.c, where they belong
11 years ago
goldsimon
dff234112b
minor: removed superfluous comma after '}' in mib2.c; removed superfluous comment on get-functions that follow a function typedef
11 years ago
goldsimon
e18e08ff08
minor: removed superfluous comma after '}' in msg_out.c
11 years ago
goldsimon
f3ed562983
minor: removed superfluous comma after '}' in dns.c
11 years ago
goldsimon
969fb4c981
minor: removed some trailing spaces in tcp.c
11 years ago
Erik Ekman
82fcc307ef
mld6: Simplify join/leavegroup()
...
Use netif_get_ip6_addr_match() helper to shorten the code.
11 years ago
goldsimon
1fdab5ac0e
Added/changed header of dhcp.c/.h
11 years ago