Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   dyoung
Date:           Thu Aug 31 17:46:17 UTC 2006

Modified Files:
        src/sbin/ifconfig: ifconfig.8 tunnel.c
        src/share/man/man4: gre.4
        src/sys/conf: files
        src/sys/net: if_gre.c if_gre.h
        src/sys/netinet: ip_gre.c

Log Message:
Add a mode to gre(4) that sends GRE tunnel packets in UDP datagrams.
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.


To generate a diff of this commit:
cvs rdiff -r1.84 -r1.85 src/sbin/ifconfig/ifconfig.8
cvs rdiff -r1.7 -r1.8 src/sbin/ifconfig/tunnel.c
cvs rdiff -r1.31 -r1.32 src/share/man/man4/gre.4
cvs rdiff -r1.802 -r1.803 src/sys/conf/files
cvs rdiff -r1.61 -r1.62 src/sys/net/if_gre.c
cvs rdiff -r1.16 -r1.17 src/sys/net/if_gre.h
cvs rdiff -r1.40 -r1.41 src/sys/netinet/ip_gre.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index