fbernon
|
2f344268ff
|
Minor fix (spaces and comment)
|
2007-08-22 11:00:02 +00:00 |
|
fbernon
|
42f3c24fc4
|
tcpip.h, tcpip.c, ethernetif.c, opt.h: remove options ETHARP_TCPIP_INPUT & ETHARP_TCPIP_ETHINPUT, now, only "ethinput" code is supported, even if the name is tcpip_input (we keep the name of 1.2.0 function).
|
2007-08-22 10:04:35 +00:00 |
|
marcbou
|
dbd61d129d
|
Fix potential pbuf leaks.
|
2007-08-17 22:15:24 +00:00 |
|
marcbou
|
0471aaec52
|
Use enum pbuf_flag as pbuf_type.
Renumber PBUF_FLAG_*.
|
2007-08-17 02:09:43 +00:00 |
|
fbernon
|
2be122875a
|
Minor changes (tabs, ident, coding style...)
|
2007-08-17 00:30:27 +00:00 |
|
marcbou
|
7862ba583e
|
Moved lwip/src/netif/ppp/ppp_oe.h to lwip/src/include/netif/ppp_oe.h
|
2007-08-16 21:12:24 +00:00 |
|
marcbou
|
8c10d91135
|
ethbroadcast now a shared global provided by etharp.
|
2007-08-16 20:52:59 +00:00 |
|
marcbou
|
4236699052
|
Split pbuf flags in pbuf type and flgs.
Improved lwip_recvfrom(). TCP push now propagated.
|
2007-08-16 20:22:15 +00:00 |
|
marcbou
|
75935ad251
|
Changed // style comments to /* style */ comments.
|
2007-08-16 20:17:50 +00:00 |
|
marcbou
|
931fcfd0f5
|
Added PPPoE support and various PPP improvements.
|
2007-08-16 18:12:20 +00:00 |
|
fbernon
|
9152d6671c
|
Comments Fix for Doxygen documentation
|
2007-08-09 22:21:44 +00:00 |
|
fbernon
|
b8b04271b5
|
Minor fix (warning, linker helper) signaled by Bill Florac
|
2007-07-29 08:11:33 +00:00 |
|
fbernon
|
d5a174364a
|
Minor fix: debug text inside ethernetif_input
|
2007-07-24 08:49:00 +00:00 |
|
fbernon
|
116bcb9dfb
|
opt.h, netif.h, netif.c, ethernetif.c: Add new configuration option to add a link callback in the netif struct, and functions to handle it. Be carefull for port maintainers to add the NETIF_FLAG_LINK_UP flag (like in ethernetif.c) if you want to be sure to be compatible with future changes...
|
2007-07-13 15:00:40 +00:00 |
|
fbernon
|
bf176ed712
|
Minor fix (indent)
|
2007-07-03 21:27:59 +00:00 |
|
goldsimon
|
eb875de67e
|
Added assertions where PBUF_RAM pbufs are used and an assumption is made that this pbuf is in one piece (i.e. not chained). These assumptions clash with the possibility of converting to fully pool-based pbuf implementations, where PBUF_RAM pbufs might be chained.
|
2007-07-03 20:28:35 +00:00 |
|
fbernon
|
3a0ab861c2
|
ip.h, etharp.c: Fix warnings & errors about LWIP_NETIF_HWADDRHINT (perhaps compiler dependant)
|
2007-07-03 10:36:21 +00:00 |
|
goldsimon
|
96e4ec4a15
|
Added option LWIP_NETIF_HWADDRHINT (default=off) to cache ARP table indices with each pcb instead of single-entry cache for the complete stack.
|
2007-07-02 20:41:22 +00:00 |
|
goldsimon
|
d7c50f56d7
|
Fixed a wrong assert statement in etharp_query when ARP_QUEUEING=1 and packets should be queued.
|
2007-07-01 14:52:09 +00:00 |
|
goldsimon
|
c91caa06d3
|
Set/get ARP hwlen and protolen in one piece.
|
2007-06-30 11:42:41 +00:00 |
|
goldsimon
|
47074c897e
|
Removed warning: LWIP_DEBUGF had wrong argument count
|
2007-06-26 08:12:15 +00:00 |
|
goldsimon
|
1b5d3466ba
|
etharp_arp_input: stricter checking of hwtype, proto, hwlen & protolen allows us to leave some header fields like they are when sending ARP reply (only changing the addresses is needed)
|
2007-06-25 18:03:23 +00:00 |
|
goldsimon
|
4f5b781b88
|
Moved filling of ethernet header for outgoing IP packets into an extra function to reduce code size.
|
2007-06-25 17:20:10 +00:00 |
|
goldsimon
|
b51d1b79a3
|
Combined etharp_request with etharp_raw for both LWIP_AUTOIP =0 and =1 to remove redundant code.
|
2007-06-24 12:51:22 +00:00 |
|
goldsimon
|
4848de3a8e
|
etharp_tmr function had a bug (pending entries were pending for too long)
|
2007-06-24 12:46:13 +00:00 |
|
goldsimon
|
bb9e9e5480
|
Changed the expression of LWIP_ERROR to the same as for LWIP_ASSERT
|
2007-06-22 20:50:21 +00:00 |
|
fbernon
|
4c07b1606c
|
Minor changes: fix some comments for Doygen documentation
|
2007-06-21 07:17:29 +00:00 |
|
goldsimon
|
d3f0a3211d
|
Changed etharp to use a defined hardware address length of 6 to avoid loading netif->hwaddr_len every time (since this file is only used for ethernet and struct eth_addr already had a defined length of 6).
|
2007-06-19 16:22:55 +00:00 |
|
goldsimon
|
6784fd64f3
|
Done some work on task #6933: converted some LWIP_ASSERTs to LWIP_ERROR to give back an error return value for LWIP_NOASSERT=1
|
2007-06-17 15:20:21 +00:00 |
|
goldsimon
|
f1d95379bc
|
Changed all references to old debug defines to the new ones (e.g. LWIP_DBG_TRACE)
|
2007-06-16 11:39:01 +00:00 |
|
fbernon
|
bdbc96f453
|
opt.h, mem.h, mem.c, memp.c, pbuf.c, ip_frag.c, vj.c: Fix bug #20162. Rename MEM_ALIGN in LWIP_MEM_ALIGN and MEM_ALIGN_SIZE in LWIP_MEM_ALIGN_SIZE to avoid some macro names collision with some OS macros.
|
2007-06-13 17:17:26 +00:00 |
|
goldsimon
|
df0e4492a7
|
Forgot some brackets in an if statement in v1.109
|
2007-06-10 09:49:04 +00:00 |
|
fbernon
|
e01f342048
|
Contrib module by Dominik Spies: autoip.h, autoip.c, dhcp.h, dhcp.c, netif.h, netif.c, etharp.h, etharp.c, opt.h: AutoIP implementation available for IPv4, with new options LWIP_AUTOIP and LWIP_DHCP_AUTOIP_COOP if you want to cooperate with DHCP. Some tips to adapt (see TODO mark in the source code).
|
2007-06-09 16:57:04 +00:00 |
|
goldsimon
|
6607cab902
|
set netif->output to etharp_output by default to save a function call
|
2007-06-08 22:42:43 +00:00 |
|
goldsimon
|
c028619cdd
|
Modified order of parameters for etharp_output() to match netif->output so etharp_output() can be used directly as netif->output to save one function call.
|
2007-06-08 22:20:05 +00:00 |
|
goldsimon
|
6b1dc21383
|
Changed etharp_tmr() to be smaller
|
2007-06-08 22:19:23 +00:00 |
|
goldsimon
|
0e9cb48ea1
|
Changed define NETIF_INIT_SNMP(type, speed) to include the name of the struct netif to change...
|
2007-06-08 19:59:20 +00:00 |
|
goldsimon
|
8e65fb920f
|
loopif_output(): use pbuf_copy() to copy the pbuf to reduce code size
|
2007-06-08 17:24:58 +00:00 |
|
goldsimon
|
945460c67e
|
Added define NETIF_INIT_SNMP(type, speed) to initialize per-netif snmp variables, added initialization of those to slipif and loopif.
|
2007-06-08 17:17:41 +00:00 |
|
goldsimon
|
b7e4d2a8ff
|
Done some work on task #1549 (function documentation) and minor changes to meet coding standard + added some comments to make the code easier to read.
|
2007-06-08 17:10:05 +00:00 |
|
goldsimon
|
a85f9db5b1
|
Made etharp_find_addr() use find_entry to concentrate the knowledge of arp_table layout in find_entry().
|
2007-06-01 17:11:47 +00:00 |
|
goldsimon
|
75f7f21eb0
|
...and again replacing tab by spaces ;-)
|
2007-05-17 09:02:30 +00:00 |
|
goldsimon
|
c01e265e07
|
changes tabs to spaces
|
2007-05-17 08:55:50 +00:00 |
|
goldsimon
|
5c89228878
|
Fix bug #19729: free pbuf if netif->input() returns != ERR_OK.
|
2007-05-16 19:54:54 +00:00 |
|
goldsimon
|
6c39b8a10c
|
Found a little bug in ARP_QUEUEING: if pbuf_alloc for the packet to be queued failed, pbuf_copy was called with a NULL pointer.
|
2007-05-14 20:10:46 +00:00 |
|
goldsimon
|
255d5a748f
|
Included patch #5920: Create define to override C-library memcpy. 2 Defines are created: MEMCPY() for normal memcpy, SMEMCPY() for situations where some compilers might inline the copy and save a function call. Also replaced all calls to memcpy() with calls to (S)MEMCPY().
|
2007-05-10 05:20:05 +00:00 |
|
goldsimon
|
79d9b36ece
|
Further update to ARP queueing: Changed pbuf_copy() implementation so that it can be reused (don't allocate the target pbuf inside pbuf_copy()).
|
2007-05-04 21:31:25 +00:00 |
|
goldsimon
|
be316e81a7
|
Introduced fast one-entry-cache to speed up ARP lookup when sending multiple packets to the same host.
|
2007-05-04 19:31:27 +00:00 |
|
fbernon
|
05ea5f05ae
|
Minor fix (tab, indent...) to respect source code style...
|
2007-05-04 15:14:14 +00:00 |
|
goldsimon
|
6006e2f917
|
Changed some includes for loopif and added comments
|
2007-04-24 08:42:32 +00:00 |
|