47be766fd3
Fix MOBILE encapsulation. Add many debugging printfs (mainly concerning UDP mode). Clean up the gre(4) code a bit. Add the capability to setup UDP tunnels to ifconfig. Update documentation. In UDP mode, gre(4) puts a GRE header onto transmitted packets, and hands them to a UDP socket for transmission. That is, the encapsulation looks like this: IP+UDP+GRE+encapsulated packet. There are two ways to set up a UDP tunnel. One way is to tell the source and destination IP+port to gre(4), and let gre(4) create the socket. The other way to create a UDP tunnel is for userland to "delegate" a UDP socket to the kernel. |
||
---|---|---|
.. | ||
af_atalk.c | ||
af_atalk.h | ||
af_inet6.c | ||
af_inet6.h | ||
af_inet.c | ||
af_inet.h | ||
af_iso.c | ||
af_iso.h | ||
agr.c | ||
agr.h | ||
carp.c | ||
carp.h | ||
extern.h | ||
ieee80211.c | ||
ieee80211.h | ||
ifconfig.8 | ||
ifconfig.c | ||
Makefile | ||
tunnel.c | ||
tunnel.h | ||
vlan.c | ||
vlan.h |