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
|
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
|
e678e1bdcb
|
bug #28659: Missing casts
|
2010-01-25 08:24:30 +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
|
f4c0655190
|
Fixed usage of logging levels (bug #27948: Incorrect logging levels used in various places)
|
2009-11-22 15:14:46 +00:00 |
|
goldsimon
|
2c618705f0
|
task #9033: Support IEEE 802.1q tagged frame (VLAN), New configuration options ETHARP_SUPPORT_VLAN and ETHARP_VLAN_CHECK.
|
2009-08-25 15:24:49 +00:00 |
|
goldsimon
|
30acd1662d
|
fixed bug #26507: "Gratuitous ARP depends on arp_table / uses etharp_query" by adding etharp_gratuitous()
|
2009-05-12 20:13:45 +00:00 |
|
goldsimon
|
ea1eb45e3f
|
etharp_raw: allocating PBUF_RAW for outgoing ARP packets instead of PBUF_LINK is enough.
|
2009-02-18 16:48:30 +00:00 |
|
jifl
|
06df1647e1
|
* etharp.c (etharp_arp_input): Fix type aliasing problem copying ip address.
|
2008-10-03 14:47:33 +00:00 |
|
goldsimon
|
b94e3a874d
|
Added debug trace for incoming eth packets in ethernet_input like suggested in patch #6519
|
2008-06-19 16:40:59 +00:00 |
|
goldsimon
|
e0aaa87b1f
|
Increasing etharp error stats on unsupported ethtype in ethernet_input()
|
2008-06-17 19:46:30 +00:00 |
|
goldsimon
|
a9aefcc1be
|
Fixed comments for pbuf_copy() and find_entry() as proposed by Luca Ceresoli on lwip-users
|
2008-04-01 19:05:40 +00:00 |
|
kieranm
|
42344ce20c
|
2008-03-04 Kieran Mansley (contributions by others)
* Numerous small compiler error/warning fixes from contributions to
mailing list after 1.3.0 release candidate made.
|
2008-03-04 13:41:23 +00:00 |
|
fbernon
|
faca23b984
|
Minor change: add a trace in etharp.c, find_entry
|
2008-02-21 14:26:14 +00:00 |
|
fbernon
|
0cbd7501a1
|
Minor changes: fix trace text in etharp.c
|
2008-02-21 09:16:21 +00:00 |
|
jifl
|
3572ec784d
|
Fix simple compilation error with some compilers to preserve const-ness of ethaddr - from Luca Ceresoli
|
2008-01-18 19:45:15 +00:00 |
|
fbernon
|
22e2540eb6
|
autoip.c, etharp.c: ip_addr.h: Integrate patch #6348: "Broadcast ARP packets in autoip". The change in etharp_raw could be removed, since all calls to etharp_raw use ethbroadcast for the "ethdst_addr" parameter. But it could be wrong in the future.
|
2007-12-31 13:22:03 +00:00 |
|
fbernon
|
e5a98b6a5b
|
Minor changes: fix some problems with PPPoE include path, add small comments in slip.c (unusual octal values?)
|
2007-11-30 17:22:20 +00:00 |
|
goldsimon
|
1b07fecbf3
|
Introduced ETHARP_STATS
|
2007-11-28 21:25:06 +00:00 |
|
goldsimon
|
21bbc9a81a
|
Fixed bug: assert fired when MEMP_ARP_QUEUE was empty (which can happen any time). Now the packet simply isn't enqueued when out of memory.
|
2007-11-10 17:41:46 +00:00 |
|
goldsimon
|
199648ff37
|
Changed initialization: many init functions are not needed any more since we now rely on the compiler initializing global and static variables to zero!
|
2007-10-09 19:59:56 +00:00 |
|
goldsimon
|
cb71d6d393
|
Moved ethernet_input from tcpip.c to etharp.c so all netifs (or ports) can use it.
|
2007-10-05 14:00:48 +00:00 |
|
fbernon
|
e3cd1ac1f9
|
Minor changes (but in lot of files): add #if/#endif for options where they could miss. #if LWIP_xxx if always put after #include "lwip/opt.h" (note this one indirectly include cc.h). Move others includes inside #if/#endif block.
|
2007-09-07 23:01:59 +00:00 |
|
marcbou
|
0471aaec52
|
Use enum pbuf_flag as pbuf_type.
Renumber PBUF_FLAG_*.
|
2007-08-17 02:09:43 +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
|
931fcfd0f5
|
Added PPPoE support and various PPP improvements.
|
2007-08-16 18:12:20 +00:00 |
|
fbernon
|
b8b04271b5
|
Minor fix (warning, linker helper) signaled by Bill Florac
|
2007-07-29 08:11:33 +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 |
|
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
|
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
|
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
|
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 |
|