goldsimon
|
f7479781c1
|
bug #27352: removed packing from ip_addr_t, the packed version is now only used in protocol headers. Added global storage for current src/dest IP address while in input functions.
|
2010-05-22 21:11:02 +00:00 |
|
goldsimon
|
25f33c8444
|
struct etharp_hdr: split _hwlen_protolen into two u8_t's to prevent using htons on little-endian platforms
|
2010-05-16 16:26:12 +00:00 |
|
goldsimon
|
dae247809b
|
Add preprocessor-macros for compile-time htonl calculation (and use them throughout the stack where applicable)
|
2010-05-16 15:57:42 +00:00 |
|
goldsimon
|
290bd400c3
|
No need to call pppoe_init any more (since the linked list is implicitly initialized to zero by the loader)
|
2010-05-16 14:35:03 +00:00 |
|
goldsimon
|
5d0785e47a
|
PPPoE now uses its own MEMP pool instead of the heap (moved struct pppoe_softc from ppp_oe.c to ppp_oe.h)
|
2010-05-16 14:34:16 +00:00 |
|
goldsimon
|
16434568b0
|
Use a simple linked list (next pointer) instead of sys/queue.h (from BSD)
|
2010-05-16 14:24:40 +00:00 |
|
goldsimon
|
c0e7d54e37
|
Removed 2 mem_mallocs: error string can be a global variable, include memory for sc_ac_cookie in struct pppoe_softc; commented out unused code (sc_service_name/sc_concentrator_name)
|
2010-05-16 14:11:53 +00:00 |
|
goldsimon
|
f3face9f0c
|
Fix printf-formatter for sio_fd_t/size_t
|
2010-05-12 07:48:30 +00:00 |
|
goldsimon
|
2edd5230c9
|
auth_withpeer_fail(): call lcp_close(), like pppd 2.4.5 does
|
2010-05-11 18:11:46 +00:00 |
|
goldsimon
|
1551bb702d
|
Fixed bug #29855: PPP: Backport a bugfix in LcpSendEchoRequest from pppd
|
2010-05-11 16:53:41 +00:00 |
|
goldsimon
|
d656e9f28e
|
Added option LWIP_ARP_FILTER_NETIF to use multiple IPs on one hardware interface (by using multiple netifs, each with its own IP)
|
2010-05-10 14:10:46 +00:00 |
|
goldsimon
|
72c580236e
|
Create overridable macros for copying 2-byte-aligned IP addresses and MAC addresses
|
2010-04-29 04:57:31 +00:00 |
|
goldsimon
|
f1bc73c3ed
|
Fixed compilation errors
|
2010-04-02 16:48:53 +00:00 |
|
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 |
|