]> git.proxmox.com Git - ovs.git/commit
gre: Add functions to determine address type to compat layer.
authorJesse Gross <jesse@nicira.com>
Thu, 18 Feb 2010 16:43:29 +0000 (11:43 -0500)
committerJesse Gross <jesse@nicira.com>
Fri, 5 Mar 2010 21:31:27 +0000 (16:31 -0500)
commit82ff0d0a931ddc610c366551a948ffb33e9c8008
tree48d722bd59065fd7fb5467fb0035eae514dba5ab
parent8ab4016b3604566d221b5461f690fd698494e6ae
gre: Add functions to determine address type to compat layer.

Allows older kernels to classify IPv4/IPv6 addresses as loopback,
broadcast, etc.  The IPv6 functions actually exist in all supported
kernels but add a dependency on the IPv6 code on older kernels (they
are always available on more recent kernels).  This allows us to
process IPv6 packets without dragging in the entire IPv6 subsystem
if it is compiled as a module (such as on Xen).  This is only done
for packets that are passing through the system and does not use
the IPv6 core if it is not configured.
datapath/linux-2.6/Modules.mk
datapath/linux-2.6/compat-2.6/addrconf_core-ip_gre.c [new file with mode: 0644]
datapath/linux-2.6/compat-2.6/include/linux/in.h