ipvlan.patch 727 B

12345678910111213141516171819202122232425
  1. --- a/package/kernel/linux/modules/netdevices.mk
  2. +++ b/package/kernel/linux/modules/netdevices.mk
  3. @@ -885,6 +885,22 @@ endef
  4. $(eval $(call KernelPackage,macvlan))
  5. +define KernelPackage/ipvlan
  6. + SUBMENU:=$(NETWORK_DEVICES_MENU)
  7. + TITLE:=IP-VLAN support
  8. + KCONFIG:=CONFIG_IPVLAN
  9. + FILES:=$(LINUX_DIR)/drivers/net/ipvlan/ipvlan.ko
  10. + AUTOLOAD:=$(call AutoProbe,ipvlan)
  11. +endef
  12. +
  13. +define KernelPackage/ipvlan/description
  14. + A kernel module which allows one to create virtual interfaces that
  15. + map packets to or from specific IP addresses to a particular interface
  16. +endef
  17. +
  18. +$(eval $(call KernelPackage,ipvlan))
  19. +
  20. +
  21. define KernelPackage/tulip
  22. TITLE:=Tulip family network device support
  23. DEPENDS:=@PCI_SUPPORT +kmod-mii