Simon Goldschmidt
33237419c1
Parts of patch #8397 Typos corrected in comments and text outputs
2014-09-18 21:15:13 +02:00
Sylvain Rochet
1ddebcc862
Moved PPP headers into include/netif/ppp/, fixing bug #37040 .
2012-08-18 22:40:19 +02:00
goldsimon
d0026793bf
Cleaned up usage of sys.h a bit
2011-06-26 16:51:04 +00:00
goldsimon
4bfbe7ebeb
... and finally, we got a first working version of a dual-stack lwIP runnin IPv4 and IPv6 in parallel - big thanks to Ivan Delamer! (this is work in progress, so please beware, test a lot and report problems!)
2011-05-17 19:35:14 +00:00
goldsimon
1309e5e86f
Accidentally endabled to compile the code -> back to #if 0
2009-10-09 20:16:26 +00:00
goldsimon
c34c024dd5
Updated comment in low_level_input() about pbuf len vs. tot_len if using preallocated pbufs (as requested in bug #27576 : pbuf_realloc will assert or crash on a non-chained pbuf list)
2009-10-09 19:56:54 +00:00
goldsimon
04df18bcd3
Changed ??? to LINK_SPEED_OF_YOUR_NETIF_IN_BPS
2009-04-17 10:14:09 +00:00
goldsimon
7f3cff6e09
Use LINK_STATS_INC instead of #if LINK_STATS...
2007-11-28 21:15:55 +00:00
fbernon
181b68b01e
Minor change (forgot last CRLF)
2007-11-26 10:24:36 +00:00
fbernon
93d5bed697
Minor change: add #if 0 / #endif in ethernetif.c skeleton to avoid false bug reports.
2007-11-26 10:23:40 +00:00
jifl
5dd1256769
Small tweak: clarify use of link speed in comments for NETIF_INIT_SNMP.
2007-10-03 09:10:28 +00:00
fbernon
85fef90c94
Add enum snmp_ifType in snmp.h, and use it in network interfaces for NETIF_INIT_SNMP
2007-08-31 10:14:09 +00:00
fbernon
231d965bcb
Minor fix (use ETHARP_HWADDR_LEN)
2007-08-31 09:02:53 +00:00
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
fbernon
2be122875a
Minor changes (tabs, ident, coding style...)
2007-08-17 00:30:27 +00:00
marcbou
8c10d91135
ethbroadcast now a shared global provided by etharp.
2007-08-16 20:52:59 +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
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
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
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
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
fbernon
05ea5f05ae
Minor fix (tab, indent...) to respect source code style...
2007-05-04 15:14:14 +00:00
fbernon
f75be85eea
Add NETIF_FLAG_ETHARP flag and comments in this skeleton.
2007-03-30 10:32:57 +00:00
fbernon
d301b69dae
Minor. Add LWIP_NETIF_HOSTNAME in skeleton and comment on #endif for LWIP_SNMP.
2007-03-28 10:29:06 +00:00
fbernon
5fff6e7ff8
ethernetif.c: update netif->input calls to check return value. In older ports, it's a good idea to upgrade them, even if before, there could be another problem (access to an uninitialized mailbox).
2007-03-22 09:09:27 +00:00
fbernon
7cda728469
Fix some "little" build problems, and a redundancy call to "lwip_stats.link.recv++;" in low_level_input() & ethernetif_input().
...
If LINK_STATS was defined, tcpip.c couldn't be build.
Even if IP_FRAG or IP_REASSEMBLY were set, ip_frag.c functions are not build.
2007-03-06 19:31:49 +00:00
fbernon
ed07d481d6
opt.h, ip_frag.h, tcpip.h, tcpip.c, ethernetif.c: add new configuration option named ETHARP_TCPIP_ETHINPUT, which enable the new tcpip_ethinput. Allow to do ARP processing for incoming packets inside tcpip_thread (protecting ARP layer against concurrent access). You can also disable old code using tcp_input with new define ETHARP_TCPIP_INPUT set to 0. Older ports have to use tcpip_ethinput.
2007-03-06 14:18:02 +00:00
christiaans
5c628d2a61
Added netif SNMP init.
2006-07-14 11:17:00 +00:00
christiaans
9ca9649c1b
Disabled ARP table update on ingress IP packets.
2006-05-05 13:34:13 +00:00
likewise
99e3fe9ae1
17th October 2004 Leon Woestenberg <leon.woestenberg@gmx.net>
...
ethernetif.c: Fix lwip/stats.h support, reported by Andrew McGeachie.
2004-10-17 18:13:18 +00:00
kieranm
1e1f5d5462
Kieran Mansley - kjm25@cam.ac.uk - 20th September 2004
...
* Change the return type of ethernetif_init from void to err_t to avoid confusing porters.
2004-09-20 17:00:31 +00:00
softins
4d30218eb2
Updated low_level_output() to match prototype for netif->linkoutput
...
and changed low_level_input() similarly for consistency.
2004-07-21 09:31:03 +00:00
likewise
29df95c514
As etharp already sends packets from the queue asynchronously, also make it send packet submitted through etharp_output().
...
etharp_output() now returns err_t.
etharp_query() now sends a packet directly if the IP address is stable.
2004-05-05 18:28:42 +00:00
likewise
b217b020a5
Changed PAD_ETH_SIZE into ETH_PAD_SIZE for consistency with de-facto lwIP naming convention.
2004-05-05 15:09:13 +00:00
likewise
2db9551750
Patch of bug #8708 applied which should fix header alignment issues on 32-bit processors.
...
While this patch might need further clean-up, it is applied to make sure this gets attention.
2004-04-28 00:26:35 +00:00
likewise
110e5af36c
Two trivial typo fixes.
2004-04-23 15:24:36 +00:00
jani
811b360df7
more uptodate eth driver skeleton from Tony Mountfield
2004-04-22 09:47:47 +00:00
likewise
10d42c6fa3
Replaced ip_addr_isbroadcast() macro by function.
...
Overrides patch #2679 , as this must be solved inside ip_addr_isbroadcast(), inspired by BSD.
2004-03-11 21:20:10 +00:00
likewise
e1c4bfad05
Merged from DEVEL, except for the API change in etharp.c.
2004-02-07 00:30:03 +00:00
likewise
e4a6d199fe
Merged from DEVEL into main tree.
2003-11-14 13:17:23 +00:00
likewise
ba786dc49b
Applied patch #1596 fixing wrongly cast LWIP_DEBUGF arguments.
...
(printf expects integers on the var args stack)
2003-06-11 22:11:42 +00:00
likewise
df99ce9d98
Replaced all tabs with two spaces (regardless of indentation is correct).
2003-06-09 21:14:47 +00:00
likewise
03bc7c868b
Major stylo search/replace for "One space between keyword and opening bracket."
2003-05-01 13:24:01 +00:00
likewise
d8d787545e
Merged with leon-dhcp branch. Tagged as POST_leon-dhcp afterwards.
2003-02-20 08:41:59 +00:00
davidhaas
7f1becc682
Allow minimal unix target to build in cygwin (but not necessarily run).
...
Applied a patch from Marc Boucher which has the following changes:
1) Fixed sys_arch.txt documentation to have new return type from
sys_thread_new.
2) Removed unnecessary casts on calling sys_timeout() in certain files.
3) Removed some unnecessary break statements after return statements.
4) Changed sys_timeout_remove() to sys_untimeout().
5) Added some forgotten #ifndef SYS_LIGHTWEIGHT_PROT to memp.c
6) Changed LWIP_DIAG and LWIP_PLATFORM_ASSERT to have do while().
2003-02-18 19:27:48 +00:00