Commit Graph

  • ac6b64cf66 Implement a more readable fix for pbuf_memcmp than my last fix Dirk Ziegelmeier 2016-08-31 20:24:37 +02:00
  • b944ceb89d Fix compile when LWIP_NUM_NETIF_CLIENT_DATA == 0 and AUTOIP or DHCP are enabled Dirk Ziegelmeier 2016-08-31 20:17:04 +02:00
  • ab8a1a0430 netbuf: Fixup a copule LWIP_ERROR messages Axel Lin 2016-08-31 17:49:19 +08:00
  • 4325aca0f7 Fix pbuf_memcmp() implementation by using pbuf_try_get_at() instead of pbuf_get_at(). Payload out-of-bounds access was not handled correctly. Dirk Ziegelmeier 2016-08-31 10:35:42 +02:00
  • 23147b0e21 added more out of range checks to dns_recv() (see bug #48924) sg 2016-08-30 22:17:36 +02:00
  • 9078f31544 Minor: memcpy -> MEMCPY / SMEMCPY Dirk Ziegelmeier 2016-08-30 21:51:05 +02:00
  • a08ed9148d added pbuf_try_get_at() (much like pbuf_get_at() but can return out-of-pbuf error) sg 2016-08-30 21:31:00 +02:00
  • 8d45162a59 Fix usage of uninitialized data in dhcp.c by checking pbuf_copy_partial() return value Dirk Ziegelmeier 2016-08-30 21:33:43 +02:00
  • f5135b05d9 Minor coding style fixes in mdns.c Dirk Ziegelmeier 2016-08-30 21:21:32 +02:00
  • 2137f49d32 Fix usage of uninitialized data in nd6.c because of unchecked pbuf_copy_partial() return value Dirk Ziegelmeier 2016-08-30 21:20:58 +02:00
  • aef3d2cb87 Minor coding style fix in pbuf.c Dirk Ziegelmeier 2016-08-30 21:08:12 +02:00
  • 840d1e60fa Fix bug #48924: Potential out of bound reads in DNS codes of lwip project by adding checks for pbuf_copy_partial() return values. Add some comments to clarify handling of untrusted network data handling. Dirk Ziegelmeier 2016-08-30 21:07:37 +02:00
  • 198fa5dbfa Remove duplicated include for lwip/inet_chksum.h Axel Lin 2016-08-30 15:42:27 +08:00
  • ef827e85b8 apps/mdns: Fixup LWIP_ERROR message in mdns_build_host_domain Axel Lin 2016-08-30 10:05:42 +08:00
  • e545262d98 Remove superfluous parameter from mdns_domain_debug_print() Dirk Ziegelmeier 2016-08-29 19:32:39 +02:00
  • fb62e9350f Fix wrong sizeof() and remove superfluous NULL pointer check in MDNS Dirk Ziegelmeier 2016-08-29 19:15:22 +02:00
  • db6aa82a10 memp: Fix comment for memp_overflow_check_element_overflow/underflow Axel Lin 2016-08-26 23:13:05 +08:00
  • c9dff6b5aa Correct TCP_OOSEQ_MAX_* opt.h documentation Joel Cunningham 2016-08-26 09:33:14 -05:00
  • 4b45baee10 Add some dual-stack notes to documentation Dirk Ziegelmeier 2016-08-26 15:58:18 +02:00
  • 05a6d82fa1 Let comment in pbuf.h be consistent with provided example function Dirk Ziegelmeier 2016-08-26 15:39:15 +02:00
  • 0d510dd66d Add API macros for netif client data handling and update documentation accordingly Dirk Ziegelmeier 2016-08-26 11:21:49 +02:00
  • 537bd836c9 Minor: More documentation updates Dirk Ziegelmeier 2016-08-25 22:23:11 +02:00
  • 57468b8a30 Minor: Several documentation updates Dirk Ziegelmeier 2016-08-25 22:04:04 +02:00
  • 452f5d6296 fix tcpip.c for LWIP_TIMERS==0 sg 2016-08-25 21:15:26 +02:00
  • 2980a12373 Fix ntohs -> htons in ethernet.c Dirk Ziegelmeier 2016-08-25 14:25:16 +02:00
  • 89aa4e7d79 fixed bug #47921: link-local prefix in router advertisement must not be processes for SLAAC (patch by abhishek ambure) goldsimon 2016-08-25 14:20:40 +02:00
  • 3e23eb764b fixed compiling TCP_OOSEQ_MAX_BYTES || TCP_OOSEQ_MAX_PBUFS (local variable 'p' was hidden) goldsimon 2016-08-25 14:20:15 +02:00
  • aeb3834219 Add debug assert to my last commit and improve comment in opt.h Dirk Ziegelmeier 2016-08-25 14:12:49 +02:00
  • 475d49440c Fix handling of LWIP_HOOK_VLAN_SET(). Previous implementation supplied uninitialized arguments to the macro (struct eth_hdr). Change macro signature to be universal: netif, pbuf, src, dst, eth_type - whatever the user needs to decide about VLAN header. Return value <0 means "no VLAN header", 0 <= return_value <= 0xFFFF -> value is prio_vid of header. Clean up ethernet_output function to be more readable. Dirk Ziegelmeier 2016-08-25 14:07:35 +02:00
  • a2ca85a260 tcp: Make tcp_state_str/tcp_backoff/tcp_persist_backoff static Axel Lin 2016-08-25 10:50:24 +08:00
  • 4c390ad39c update netif address change triggers to tpc & udp to work with IPv6, too sg 2016-08-24 20:51:05 +02:00
  • a1db05c11e Fix const argument warning in netif_ip6_addr_set Erik Ekman 2016-08-24 14:41:48 +02:00
  • bf5866b27d tcp: Prevents a 0 sized (invalid) backlog Axel Lin 2016-08-24 16:49:03 +08:00
  • 298ec340e5 set netif IPv6 address & state via function to implement change triggers (task #13517) goldsimon 2016-08-24 09:19:53 +02:00
  • 1ba0e17157 ip6_addr: a valid address is either preferred or deprecated, no need to reserve 3 bits for that goldsimon 2016-08-24 09:06:48 +02:00
  • 43ddf6eee6 Fix debug strings in ethernet_output Dirk Ziegelmeier 2016-08-24 08:46:32 +02:00
  • 8426dfa14d Remove misleading comments from udp_send() and raw_send(). A pbuf may be added automatically in front of the chain to be able to send PBUF_REFs Dirk Ziegelmeier 2016-08-24 08:45:37 +02:00
  • 6fc7f84497 Minor: documentation updates Dirk Ziegelmeier 2016-08-24 08:19:51 +02:00
  • 831b7fc7d3 Add note to pbuf_type about correct TX/RX type selection Dirk Ziegelmeier 2016-08-24 08:09:03 +02:00
  • d9b0236525 Fix MDNS did not allocate TX packets from RAM but from POOL Dirk Ziegelmeier 2016-08-24 08:04:04 +02:00
  • e78bc41116 Document ethernet level functions Dirk Ziegelmeier 2016-08-24 08:01:36 +02:00
  • c719c466b3 Remove SIZEOF_ETHARP_PACKET_TX #define, it is not needed any more after my last cleanups Dirk Ziegelmeier 2016-08-23 20:41:37 +02:00
  • 31778193da Work on bug #48868: Cleanup etharp.c not to use struct eth_hdr: Cleanup etharp_input() to use ethernet_output() Dirk Ziegelmeier 2016-08-23 17:23:21 +02:00
  • 6caa7b9927 Cleanup etharp_arp_input() signature to match the sig of other input functions (pbuf, netif). Rename to etharp_input() Dirk Ziegelmeier 2016-08-23 17:03:51 +02:00
  • 979bee386c Work on bug #48868: Cleanup etharp.c not to use struct eth_hdr: Cleanup etharp_raw() to use ethernet_output() Dirk Ziegelmeier 2016-08-23 16:58:17 +02:00
  • d2f52e19d5 Fix doxygen comment in ethernet.c Dirk Ziegelmeier 2016-08-23 16:09:32 +02:00
  • 56dc574bed Fix comment in pbuf layer description Dirk Ziegelmeier 2016-08-23 16:07:48 +02:00
  • e4c74109cd fixed bug #47652: there is always a delay to send the first Neighbor Solicitation for the new add INCOMPLETE state neighbor entry goldsimon 2016-08-23 15:50:48 +02:00
  • fd5b34ae43 ip4_forward(): fixed compiling IP_FORWARD_ALLOW_TX_ON_RX_NETIF==1 goldsimon 2016-08-23 15:26:05 +02:00
  • 306171c93b DHCP: fixed compiling LWIP_DHCP_BOOTP_FILE==1 goldsimon 2016-08-23 15:25:39 +02:00
  • d99d91dae9 removed ETHARP_TRUST_IP_MAC since it is insecure and we don't need it any more after implementing unicast ARP renewal towards arp entry timeout goldsimon 2016-08-23 13:00:15 +02:00
  • fc54556d80 Code beautification in LWIP_HOOK_UNKNOWN_ETH_PROTOCOL usage Dirk Ziegelmeier 2016-08-23 12:55:21 +02:00
  • 0d5eea288c Clarify LWIP_HOOK_UNKNOWN_ETH_PROTOCOL in opt.h Dirk Ziegelmeier 2016-08-23 12:54:29 +02:00
  • 4456c7d230 Fix regression in etharp.c: Allocate correct pbuf layer Dirk Ziegelmeier 2016-08-23 12:32:57 +02:00
  • f170dde1c6 Work on bug #48824: ethernet.c extensions: Implement hook for unknown ethernet protocols Dirk Ziegelmeier 2016-08-23 10:48:38 +02:00
  • bae4d6398c Fix some comments to reference ethernet_output now Dirk Ziegelmeier 2016-08-23 10:23:59 +02:00
  • 18136c047b Work on bug #48824: ethernet.c extensions: Implement ethernet_output(); Fixes bug #48862: ethip6 does not support setting vlan Dirk Ziegelmeier 2016-08-23 10:15:03 +02:00
  • d9eaf6f310 docs: Remove link to example ports again, this should rather go to lwIP wiki... Dirk Ziegelmeier 2016-08-23 09:34:14 +02:00
  • 42c193821c netbuf: Use memset to zero the allocated memory for netbuf_new Axel Lin 2016-08-22 22:08:34 +08:00
  • 1c5c96a50a pbuf: Use SYS_ARCH_INC in pbuf_ref() Axel Lin 2016-08-22 23:09:57 +08:00
  • 40f2bed5c4 mem: Simplify the code for try bigger pool in mem_malloc Axel Lin 2016-08-19 19:08:08 +08:00
  • 21c99b6ebb Add documentation page about example lwIP ports. Start with FreeRTOS from Pavel Pisa. Dirk Ziegelmeier 2016-08-20 09:23:29 +02:00
  • a032ccafe7 mem: Fix trivial comment typo about using custom pools Axel Lin 2016-08-19 20:54:25 +08:00
  • 4f4d16260f minor: fixed typo goldsimon 2016-08-19 15:40:36 +02:00
  • 6b1e1af3d1 combine MAC filter actions for IGMP and MLD6 (IGMP has compatibility defines for old code, MLD6 filter functions must be adapted) goldsimon 2016-08-19 13:54:14 +02:00
  • b3bae1b44c memp: Fix unused variable build error when MEMP_SANITY_REGION_BEFORE/AFTER is 0 Axel Lin 2016-08-19 16:34:12 +08:00
  • 730080f20e Fix doxygen comment in lwip/prot/igmp.h Dirk Ziegelmeier 2016-08-19 13:15:23 +02:00
  • a189941da6 make igmp/mld6 filter actions an enum and define them in netif.h where the callback function prototypes are defined goldsimon 2016-08-19 13:10:19 +02:00
  • f93a6e3310 Rename lwip/prot/arp.h to lwip/prot/etharp.h for consistence Dirk Ziegelmeier 2016-08-19 13:09:58 +02:00
  • 5e36815867 init.c: Implement check for correct implementation of struct packing in lwip port Dirk Ziegelmeier 2016-08-19 13:05:51 +02:00
  • 01d8e5013f Add missing include in prot/igmp.h Dirk Ziegelmeier 2016-08-19 13:02:17 +02:00
  • 6688033bc4 Move IGMP protocol struct to prot/igmp.h Dirk Ziegelmeier 2016-08-19 12:50:41 +02:00
  • ed566cceaa minor cleaup in (eth)arp goldsimon 2016-08-19 12:49:02 +02:00
  • 55d05092ef simplify memp.c code a bit goldsimon 2016-08-19 12:24:26 +02:00
  • 0e9ef19cfb memp: Remove memp_overflow_init() function Axel Lin 2016-08-19 07:34:33 +08:00
  • fefb782bfe Apply fix by Marco Veeneman in SNMPv3: The outbound_padding is calculated wrong in snmp_complete_outbound_frame() Dirk Ziegelmeier 2016-08-19 12:22:42 +02:00
  • 12609c951c Fix compile of SNMPv3 code with MSVC Dirk Ziegelmeier 2016-08-19 12:21:01 +02:00
  • 64f79e7ffc PPP, PPPoE: Include netif/ethernet.h to fix build error Axel Lin 2016-08-19 16:30:47 +08:00
  • ebd1bf8a49 fixed typo :-( goldsimon 2016-08-19 11:03:09 +02:00
  • 4a7dafc6a6 fixed compiling mdns.c after moving things to mdns_priv.h goldsimon 2016-08-19 11:02:37 +02:00
  • 1e6f33d44b tcp: move tcp header flags definitions to 'prot' goldsimon 2016-08-19 10:41:01 +02:00
  • 96c3c48ba7 mdns: moved private things into mdns_priv.h goldsimon 2016-08-19 09:52:30 +02:00
  • 14fb48cd7a minor: whitespace cleanups goldsimon 2016-08-19 09:40:55 +02:00
  • 9725a496b5 moved 2 enums from 'prot' headers to where they belong (dns, dhcp) goldsimon 2016-08-19 09:40:27 +02:00
  • 967516aa40 Add #include to netif/ethernet.h to netif/etharp.h to maintian compatibility Dirk Ziegelmeier 2016-08-19 09:15:35 +02:00
  • e844159f0a Fix warning in test_etharp.c Dirk Ziegelmeier 2016-08-19 09:03:57 +02:00
  • 11386a26d9 Fix compile of DHCP unit test Dirk Ziegelmeier 2016-08-19 09:00:35 +02:00
  • 8eb9db18a2 Reduce usage of netif/ethernet.h header, mostly lwip/prot/ethernet.h is sufficient Dirk Ziegelmeier 2016-08-19 08:36:00 +02:00
  • 43d6812b3e IPv6 addr: clarify tentative count/LWIP_IPV6_DUP_DETECT_ATTEMPTS sg 2016-08-18 22:02:57 +02:00
  • 7c0d952379 Add explicit documentation page about reporting bugs Dirk Ziegelmeier 2016-08-18 21:09:34 +02:00
  • c4e3be814f Work on bug #48728: headers should cleanly separate API vs. implementation ARP Dirk Ziegelmeier 2016-08-18 20:58:51 +02:00
  • ad357a4c89 Work on bug #48728: headers should cleanly separate API vs. implementation ICMP Dirk Ziegelmeier 2016-08-18 20:55:09 +02:00
  • 2d503f4433 Work on bug #48728: headers should cleanly separate API vs. implementation ICMP6 Dirk Ziegelmeier 2016-08-18 20:52:00 +02:00
  • 5df88220c4 Fix compile of MDNS unit test with GCC Dirk Ziegelmeier 2016-08-18 20:43:33 +02:00
  • 458211c2af Comment fixes in my last commits Dirk Ziegelmeier 2016-08-18 20:41:39 +02:00
  • 84e139f20c Work on bug #48728: headers should cleanly separate API vs. implementation IP6 Dirk Ziegelmeier 2016-08-18 20:40:15 +02:00
  • 81c68f529b Work on bug #48728: headers should cleanly separate API vs. implementation MLD6 Dirk Ziegelmeier 2016-08-18 20:36:44 +02:00
  • f299b4b7cf Work on bug #48728: headers should cleanly separate API vs. implementation Ethernet Dirk Ziegelmeier 2016-08-18 20:33:38 +02:00
  • 8d68400387 Work on bug #48728: headers should cleanly separate API vs. implementation ND6 Dirk Ziegelmeier 2016-08-18 20:28:03 +02:00
  • d89fa2dcbc Work on bug #48728: headers should cleanly separate API vs. implementation UDP Dirk Ziegelmeier 2016-08-18 20:22:35 +02:00