+define KernelPackage/ipip
+ TITLE:=IP in IP encapsulation support
+ DESCRIPTION:=\
+ Kernel modules for IP in IP encapsulation
+ FILES:=$(MODULES_DIR)/kernel/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=$(CONFIG_NET_IPIP)
+endef
+$(eval $(call KernelPackage,ipip))
+
+
+define KernelPackage/ipv6
+ TITLE:=IPv6 support
+ DESCRIPTION:=\
+ Kernel modules for IPv6 support
+ KCONFIG:=$(CONFIG_IPV6)
+ FILES:=$(MODULES_DIR)/kernel/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,ipv6))
+
+
+define KernelPackage/gre
+ TITLE:=GRE support
+ DESCRIPTION:=\
+ Generic Routing Encapsulation support
+ KCONFIG=$(CONFIG_NET_IPGRE)
+ FILES=$(MODULES_DIR)/kernel/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,gre))
+
+
+define KernelPackage/tun
+ TITLE:=Universal TUN/TAP driver
+ DESCRIPTION:=\
+ Kernel support for the TUN/TAP tunneling device
+ KCONFIG:=$(CONFIG_TUN)
+ FILES:=$(MODULES_DIR)/kernel/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,tun))
+