mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add mptcp support
This commit is contained in:
parent
ec6e530e52
commit
40fdd921b9
7 changed files with 375 additions and 0 deletions
73
mptcp/Makefile
Normal file
73
mptcp/Makefile
Normal file
|
@ -0,0 +1,73 @@
|
|||
#
|
||||
# Copyright (C) 2014-2014 OpenWrt.org
|
||||
# Copyright (C) 2018 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v3 or later.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mptcp
|
||||
PKG_VERSION:=3.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_MAINTAINER:=Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/mptcp
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=Multipath TCP configuration scrips
|
||||
DEPENDS:=+ip +iptables
|
||||
KCONFIG:=\
|
||||
CONFIG_MPTCP=y \
|
||||
CONFIG_MPTCP_BINDER=y \
|
||||
CONFIG_MPTCP_FULLMESH=y \
|
||||
CONFIG_MPTCP_NDIFFPORTS=y \
|
||||
CONFIG_MPTCP_PM_ADVANCED=y \
|
||||
CONFIG_MPTCP_REDUNDANT=y \
|
||||
CONFIG_MPTCP_ROUNDROBIN=y \
|
||||
CONFIG_MPTCP_SCHED_ADVANCED=y \
|
||||
CONFIG_DEFAULT_FULLMESH=y \
|
||||
CONFIG_DEFAULT_NDIFFPORTS=n \
|
||||
CONFIG_DEFAULT_REDUNDANT=n \
|
||||
CONFIG_DEFAULT_ROUNDROBIN=n \
|
||||
CONFIG_DEFAULT_SCHEDULER=y \
|
||||
CONFIG_DEFAULT_BINDER=n \
|
||||
CONFIG_DEFAULT_DUMMY=n \
|
||||
CONFIG_TCP_CONG_BALIA=y \
|
||||
CONFIG_TCP_CONG_LIA=y \
|
||||
CONFIG_TCP_CONG_OLIA=y \
|
||||
CONFIG_TCP_CONG_WVEGAS=y \
|
||||
CONFIG_DEFAULT_OLIA=y \
|
||||
CONFIG_DEFAULT_TCP_CONG="olia"
|
||||
|
||||
PKGARCH:=all
|
||||
endef
|
||||
|
||||
define Package/mptcp/description
|
||||
MultiPath TCP (MPTCP) is an effort towards enabling the simultaneous use of
|
||||
several IP-addresses/interfaces by a modification of TCP that presents a regular
|
||||
TCP interface to applications, while in fact spreading data across several
|
||||
subflows. Benefits of this include better resource utilization, better throughput
|
||||
and smoother reaction to failures.
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/mptcp/install
|
||||
$(INSTALL_DIR) $(1)
|
||||
$(CP) ./files/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,mptcp))
|
Loading…
Add table
Add a link
Reference in a new issue