goldsimon
|
a96fa7d221
|
Fixed compilation of debug log code (that is currently commented out)
|
2010-04-02 16:17:51 +00:00 |
|
goldsimon
|
d778fbb24f
|
Speedup TX by moving code from find_entry to etharp_output/etharp_query to prevent unnecessary function calls (inspired by patch #7135).
|
2010-03-27 16:51:27 +00:00 |
|
goldsimon
|
5fd410db4b
|
Added support for static ARP table entries (added option ETHARP_SUPPORT_STATIC_ENTRIES) (+ added test); refactored the etharp code a bit
|
2010-03-20 11:45:25 +00:00 |
|
goldsimon
|
d47a04456b
|
bug #29105: Review printf formatters
|
2010-03-08 17:07:35 +00:00 |
|
goldsimon
|
b9499d07c2
|
bug #29105: Review printf formatters: added X8_F to cc.h and use it in etharp.c
|
2010-03-08 17:04:27 +00:00 |
|
goldsimon
|
4649c14856
|
Correctly identify link-local addresses when sending ARP packets
|
2010-03-06 09:56:52 +00:00 |
|
goldsimon
|
fcf6434b4b
|
Fixed bug #29087: etharp: don't send packets for LinkLocal-addresses to gw
|
2010-03-06 09:33:17 +00:00 |
|
goldsimon
|
8d9fa63460
|
PPP: use LWIP_DEBUGF() instead of ppp_trace()
|
2010-02-22 20:16:39 +00:00 |
|
goldsimon
|
e934f8aac6
|
Added/improved comments and debug output; renamed 'pc' to 'pcrx' where appropriate to reflect the variable type
|
2010-02-22 17:58:05 +00:00 |
|
goldsimon
|
311d16df7d
|
Fixed compilation error after splitting tcp.h/tcp_impl.h
|
2010-02-22 17:52:09 +00:00 |
|
goldsimon
|
ea78d69c6d
|
Added debug output and missing casts
|
2010-02-22 17:49:49 +00:00 |
|
goldsimon
|
8336796c1a
|
Add matching comment to #endif
|
2010-02-16 21:05:06 +00:00 |
|
goldsimon
|
4c9fe60693
|
Fixed ARP input processing: only add a new entry if a request was directed as us (RFC 826, Packet Reception), otherwise only update existing entries; internalized some functions
|
2010-02-14 18:08:16 +00:00 |
|
goldsimon
|
c5dfa4099d
|
Fixed bug #28183 (ARP and TCP/IP cannot be disabled on netif used for PPPoE) by adding a new netif flag (NETIF_FLAG_ETHERNET) that tells the stack the device is an ethernet device but prevents usage of ARP (so that ethernet_input can be used for PPPoE).
|
2010-02-14 16:44:47 +00:00 |
|
goldsimon
|
96e9689dbd
|
Use new macro ip_addr_copy where applicable
|
2010-02-14 12:42:49 +00:00 |
|
goldsimon
|
dfb80c6b86
|
fixed compilation for LWIp_SNMP && PPP_INPROC_MULTITHREADED
|
2010-02-14 12:26:01 +00:00 |
|
goldsimon
|
6fe258c6bc
|
task #10154 (PPP: Update snmp in/out counters for tx/rx packets)
|
2010-02-09 18:21:21 +00:00 |
|
goldsimon
|
077caac76d
|
task #10153 (Integrate loopif into netif.c) - loopif does not have to be created by the port any more, just define LWIP_HAVE_LOOPIF to 1.
|
2010-02-09 16:01:24 +00:00 |
|
goldsimon
|
68ab197b68
|
Fixed a missing cast warning
|
2010-02-09 11:38:00 +00:00 |
|
goldsimon
|
28dc5f491c
|
Correctly initialize netif flags in pppifNetifInit
|
2010-02-05 11:20:49 +00:00 |
|
goldsimon
|
010dc6258e
|
Fixed another compiler warning (missing cast)
|
2010-02-05 10:35:47 +00:00 |
|
goldsimon
|
a5c5949009
|
Added missing casts to suppress compiler warnings (this mainly satisfies MSVC - the double casts are a bit ugly but don't hurt...)
|
2010-02-05 10:09:38 +00:00 |
|
goldsimon
|
d51d6b2d89
|
Use macros to compare IP addresses
|
2010-02-05 10:08:49 +00:00 |
|
goldsimon
|
c58dfa2156
|
Added missing casts to suppress compiler warnings
|
2010-02-05 10:08:41 +00:00 |
|
goldsimon
|
5d360a6711
|
Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier.
|
2010-02-04 18:47:44 +00:00 |
|
goldsimon
|
a23b446ddf
|
Use macros defined in ip_addr.h (some of them new) to work with IP addresses (preparation for bug #27352 - Change ip_addr from struct to typedef (u32_t) - and better code).
|
2010-02-04 17:21:32 +00:00 |
|
goldsimon
|
9c41e1eea3
|
Replaced tabs with spaces
|
2010-01-29 23:04:06 +00:00 |
|
goldsimon
|
5fa0347e64
|
Cleanly separate the portability file inet.h and its contents from the stack: moved htonX- functions to def.h (and the new def.c - they are not ipv4 dependent), let inet.h depend on ip_addr.h and not the other way round. This fixes bug #28732.
|
2010-01-29 08:20:32 +00:00 |
|
goldsimon
|
a5463f0400
|
Moved missing include
|
2010-01-26 16:09:03 +00:00 |
|
goldsimon
|
e678e1bdcb
|
bug #28659: Missing casts
|
2010-01-25 08:24:30 +00:00 |
|
goldsimon
|
61e5301d49
|
bug #26523: Compiler Warnings
|
2010-01-24 13:19:34 +00:00 |
|
goldsimon
|
972ca9e6c1
|
reorganised PPP sourcecode to 2.3.11 including some bugfix backports from 2.4.x.
|
2010-01-18 20:49:43 +00:00 |
|
goldsimon
|
7ede02ca8b
|
Fixed bug #27856: PPP: Set netif link- and status-callback by adding ppp_set_netif_statuscallback()/ppp_set_netif_linkcallback()
|
2010-01-14 20:04:52 +00:00 |
|
goldsimon
|
b463562241
|
Use protocol definition from tcp.h, not from sockets.h
|
2010-01-14 19:59:28 +00:00 |
|
goldsimon
|
67c587f9f7
|
Fixed NO_SYS==0: starting pppInputThread failed; fixed some comments
|
2010-01-13 11:19:03 +00:00 |
|
goldsimon
|
68ddcc6ca7
|
Fixed bug #13315 (PPP PAP authentication can result in erroneous callbacks) by copying the code from recent pppd
|
2010-01-11 16:38:56 +00:00 |
|
goldsimon
|
13c9d2dade
|
Added/changed comments
|
2010-01-10 11:48:28 +00:00 |
|
goldsimon
|
53bc34f3e2
|
Fixed bug #28195 (PPP: remove duplicate TCP/IP protocol header definitions - use the lwIP ones) - deleted unused header file
|
2010-01-09 12:45:23 +00:00 |
|
goldsimon
|
81640c4a83
|
Fixed compilation of VJ_SUPPORT after separating tx and rx
|
2010-01-08 15:52:17 +00:00 |
|
goldsimon
|
3269da52cc
|
Initial version of PPP for NO_SYS==1, some TODOs are remaining, but it works...
|
2009-12-31 17:56:51 +00:00 |
|
goldsimon
|
3ba5ddefa7
|
Removed unnecessary tcpip-callbacks: this whole module runs inside the tcpip-thread. This also makes PPPoE usable with NO_SYS==1
|
2009-12-31 17:18:09 +00:00 |
|
goldsimon
|
1d45aa8d45
|
Reorganised PPP source code from ucip structure to pppd structure to easily compare our code against the pppd code (around v2.3.1)
|
2009-12-31 17:08:08 +00:00 |
|
goldsimon
|
a1c0b9da7b
|
Added an additional option LWIP_ETHERNET to support ethernet without ARP (necessary for pure PPPoE) - no changes in the ppp code yet
|
2009-12-27 11:40:48 +00:00 |
|
goldsimon
|
e9940acb54
|
Updated comments on which sio-functions are used
|
2009-12-07 18:58:13 +00:00 |
|
goldsimon
|
957331fff4
|
Added a note why MSCHAP currently doesn't work with lwIP PPP
|
2009-12-07 07:50:24 +00:00 |
|
goldsimon
|
faba395cae
|
Added description about the PPP stack
|
2009-12-07 07:28:27 +00:00 |
|
goldsimon
|
1d5809679b
|
Various small improvements from patch #6965 (removed _inet_ntoa, set PPP netif down before removing, change log message and comment)
|
2009-12-06 11:59:56 +00:00 |
|
goldsimon
|
b1ad36eece
|
Fixed bug #27079 (Yet another leak in PPP): outpacket_buf can be statically allocated (like in ucip)
|
2009-12-06 11:12:18 +00:00 |
|
goldsimon
|
1b42286bda
|
pppInit: Remove zeroing the stats - no protocol does that
|
2009-12-06 10:56:28 +00:00 |
|
goldsimon
|
5da0620c6b
|
Fixed checking input packet length (20 bytes is a valid packet and is used e.g. with MS RAS server)
|
2009-12-06 10:14:46 +00:00 |
|