diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-10-18 13:21:13 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-10-18 13:21:13 +0000 |
commit | d37731fbbf7e46934aee31082c3792601685aeb3 (patch) | |
tree | ce5c5a407dfcd687d028da376bc24620f4dbafef /package | |
parent | 04cdf76fbf3d712ac82c2198661ceb1f49cd859f (diff) | |
download | master-187ad058-d37731fbbf7e46934aee31082c3792601685aeb3.tar.gz master-187ad058-d37731fbbf7e46934aee31082c3792601685aeb3.tar.bz2 master-187ad058-d37731fbbf7e46934aee31082c3792601685aeb3.zip |
enable native ipsec modules on 2.6, add ipsec kernel modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5205 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/modules/network.mk | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk index bbd694bf3e..16a8d69b39 100644 --- a/package/kernel/modules/network.mk +++ b/package/kernel/modules/network.mk @@ -34,6 +34,7 @@ define KernelPackage/atmtcp endef $(eval $(call KernelPackage,atmtcp)) + define KernelPackage/ipip TITLE:=IP in IP encapsulation support DESCRIPTION:=\ @@ -55,6 +56,55 @@ define KernelPackage/ipip/2.6 AUTOLOAD:=$(call AutoLoad,30,ipip tunnel4) endef + +define KernelPackage/ipsec + TITLE:=IPsec related modules (IPv4 and IPv6) + DESCRIPTION:=\ + Kernel modules for IPsec support in both IPv4 and IPv6.\\\ + Includes:\\\ + - af_key\\\ + - xfrm_user + SUBMENU:=$(NSMENU) + DEPENDS:=@LINUX_2_6 + FILES:=\ + $(MODULES_DIR)/kernel/net/key/af_key.$(LINUX_KMOD_SUFFIX) \ + $(MODULES_DIR)/kernel/net/xfrm/xfrm_user.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,ipsec)) + +define KernelPackage/ipsec4 + TITLE:=IPsec related modules (IPv4) + DESCRIPTION:=\ + Kernel modules for IPsec support in IPv4.\\\ + Includes:\\\ + - ah4\\\ + - esp4\\\ + - ipcomp\\\ + - xfrm4_tunnel + SUBMENU:=$(NSMENU) + DEPENDS:=kmod-ipsec + FILES:=\ + $(MODULES_DIR)/kernel/net/ipv4/{ah4,esp4,ipcomp,xfrm4_tunnel}.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,ipsec4)) + +define KernelPackage/ipsec6 + TITLE:=IPsec related modules (IPv6) + DESCRIPTION:=\ + Kernel modules for IPsec support in IPv6.\\\ + Includes:\\\ + - ah6\\\ + - esp6\\\ + - ipcomp6\\\ + - xfrm6_tunnel + SUBMENU:=$(NSMENU) + DEPENDS:=kmod-ipsec + FILES:=\ + $(MODULES_DIR)/kernel/net/ipv6/{ah6,esp6,ipcomp6,xfrm6_tunnel}.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,ipsec6)) + + define KernelPackage/ipv6 TITLE:=IPv6 support DESCRIPTION:=\ |