mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 04:54:38 +08:00

in NULL reference for incoming TCP packets". Loopif has to be configured (using LWIP_LOOPIF_MULTITHREADING) to directly call netif->input() (multithreading environments, e.g. netif->input() = tcpip_input()) or putting packets on a list that is fed to the stack by calling loopif_poll() (single-thread / NO_SYS / polling environment where e.g. netif->input() = ip_input).
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
This directory contains generic network interface device drivers that
|
|
do not contain any hardware or architecture specific code. The files
|
|
are:
|
|
|
|
etharp.c
|
|
Implements the ARP (Address Resolution Protocol) over
|
|
Ethernet. The code in this file should be used together with
|
|
Ethernet device drivers. Note that this module has been
|
|
largely made Ethernet independent so you should be able to
|
|
adapt this for other link layers (such as Firewire).
|
|
|
|
ethernetif.c
|
|
An example of how an Ethernet device driver could look. This
|
|
file can be used as a "skeleton" for developing new Ethernet
|
|
network device drivers. It uses the etharp.c ARP code.
|
|
|
|
loopif.c
|
|
A "loopback" network interface driver. It requires configuration
|
|
through the define LWIP_LOOPIF_MULTITHREADING (see opt.h).
|
|
|
|
slipif.c
|
|
A generic implementation of the SLIP (Serial Line IP)
|
|
protocol. It requires a sio (serial I/O) module to work.
|
|
|
|
ppp/ Point-to-Point Protocol stack
|