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 | dc1385e3f4b74d1e3a76ef0e2e6eeec8a8b2f559 (patch) | |
tree | d8f0b31f4b8cf794d70597c41e19c2377c1ba427 /package/kernel/modules | |
parent | ee11bee3909aeaa86709ca54e25be2c9f7b099fa (diff) | |
download | mtk-20170518-dc1385e3f4b74d1e3a76ef0e2e6eeec8a8b2f559.zip mtk-20170518-dc1385e3f4b74d1e3a76ef0e2e6eeec8a8b2f559.tar.gz mtk-20170518-dc1385e3f4b74d1e3a76ef0e2e6eeec8a8b2f559.tar.bz2 |
enable native ipsec modules on 2.6, add ipsec kernel modules
SVN-Revision: 5205
Diffstat (limited to 'package/kernel/modules')
-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 bbd694b..16a8d69 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:=\ |