diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-18 13:21:13 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-18 13:21:13 +0000 |
commit | 1cc96507c8ed70bdecebad8a66846167f1527fe2 (patch) | |
tree | ce5c5a407dfcd687d028da376bc24620f4dbafef /package/kernel | |
parent | 5def4fc0f402ef5ea6a76e196b41e8fc2d80c48e (diff) |
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/kernel')
-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:=\ |