2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 NETWORK_SUPPORT_MENU:=Network Support
10 define KernelPackage/atm
11 SUBMENU:=$(NETWORK_SUPPORT_MENU)
17 $(LINUX_DIR)/net/atm/atm.ko \
18 $(LINUX_DIR)/net/atm/br2684.ko
19 AUTOLOAD:=$(call AutoLoad,30,atm br2684)
22 define KernelPackage/atm/description
23 Kernel modules for ATM support
26 $(eval $(call KernelPackage,atm))
29 define KernelPackage/atmtcp
30 SUBMENU:=$(NETWORK_SUPPORT_MENU)
33 KCONFIG:=CONFIG_ATM_TCP CONFIG_ATM_DRIVERS=y
34 FILES:=$(LINUX_DIR)/drivers/atm/atmtcp.ko
35 AUTOLOAD:=$(call AutoLoad,40,atmtcp)
38 define KernelPackage/atmtcp/description
39 Kernel module for ATM over TCP support
42 $(eval $(call KernelPackage,atmtcp))
45 define KernelPackage/appletalk
46 SUBMENU:=$(NETWORK_SUPPORT_MENU)
47 TITLE:=Appletalk protocol support
50 CONFIG_DEV_APPLETALK \
52 CONFIG_IPDDP_ENCAP=y \
55 $(LINUX_DIR)/net/appletalk/appletalk.ko \
56 $(LINUX_DIR)/drivers/net/appletalk/ipddp.ko
57 AUTOLOAD:=$(call AutoLoad,40,appletalk ipddp)
60 define KernelPackage/appletalk/description
61 Kernel module for AppleTalk protocol.
64 $(eval $(call KernelPackage,appletalk))
67 define KernelPackage/bonding
68 SUBMENU:=$(NETWORK_SUPPORT_MENU)
69 TITLE:=Ethernet bonding driver
70 KCONFIG:=CONFIG_BONDING
71 FILES:=$(LINUX_DIR)/drivers/net/bonding/bonding.ko
72 AUTOLOAD:=$(call AutoLoad,40,bonding)
75 define KernelPackage/bonding/description
76 Kernel module for NIC bonding.
79 $(eval $(call KernelPackage,bonding))
82 define KernelPackage/bridge
83 SUBMENU:=$(NETWORK_SUPPORT_MENU)
84 TITLE:=Ethernet bridging support
88 CONFIG_BRIDGE_IGMP_SNOOPING=y
89 FILES:=$(LINUX_DIR)/net/bridge/bridge.ko
90 AUTOLOAD:=$(call AutoLoad,11,bridge)
93 define KernelPackage/bridge/description
94 Kernel module for Ethernet bridging.
97 $(eval $(call KernelPackage,bridge))
99 define KernelPackage/llc
100 SUBMENU:=$(NETWORK_SUPPORT_MENU)
101 TITLE:=ANSI/IEEE 802.2 LLC support
103 FILES:=$(LINUX_DIR)/net/llc/llc.ko
104 AUTOLOAD:=$(call AutoLoad,09,llc)
107 define KernelPackage/llc/description
108 Kernel module for ANSI/IEEE 802.2 LLC support.
111 $(eval $(call KernelPackage,llc))
113 define KernelPackage/stp
114 SUBMENU:=$(NETWORK_SUPPORT_MENU)
115 TITLE:=Ethernet Spanning Tree Protocol support
118 FILES:=$(LINUX_DIR)/net/802/stp.ko
119 AUTOLOAD:=$(call AutoLoad,10,stp)
122 define KernelPackage/stp/description
123 Kernel module for Ethernet Spanning Tree Protocol support.
126 $(eval $(call KernelPackage,stp))
128 define KernelPackage/8021q
129 SUBMENU:=$(NETWORK_SUPPORT_MENU)
130 TITLE:=802.1Q VLAN support
131 KCONFIG:=CONFIG_VLAN_8021Q \
132 CONFIG_VLAN_8021Q_GVRP=n
133 FILES:=$(LINUX_DIR)/net/8021q/8021q.ko
134 AUTOLOAD:=$(call AutoLoad,12,8021q)
137 define KernelPackage/8021q/description
138 Kernel module for 802.1Q VLAN support
141 $(eval $(call KernelPackage,8021q))
144 define KernelPackage/capi
145 SUBMENU:=$(NETWORK_SUPPORT_MENU)
146 TITLE:=CAPI (ISDN) Support
149 CONFIG_ISDN_CAPI_CAPI20 \
151 CONFIG_ISDN_CAPI_CAPIFS
153 $(LINUX_DIR)/drivers/isdn/capi/kernelcapi.ko \
154 $(LINUX_DIR)/drivers/isdn/capi/capi.ko
155 AUTOLOAD:=$(call AutoLoad,30,kernelcapi capi)
158 define KernelPackage/capi/description
159 Kernel module for basic CAPI (ISDN) support
162 $(eval $(call KernelPackage,capi))
164 define KernelPackage/misdn
165 SUBMENU:=$(NETWORK_SUPPORT_MENU)
166 TITLE:=mISDN (ISDN) Support
173 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_core.ko \
174 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_dsp.ko \
175 $(LINUX_DIR)/drivers/isdn/mISDN/l1oip.ko
176 AUTOLOAD:=$(call AutoLoad,30,mISDN_core mISDN_dsp l1oip)
179 define KernelPackage/misdn/description
180 Modular ISDN driver support
183 $(eval $(call KernelPackage,misdn))
186 define KernelPackage/isdn4linux
187 SUBMENU:=$(NETWORK_SUPPORT_MENU)
188 TITLE:=Old ISDN4Linux (deprecated)
193 CONFIG_ISDN_PPP_VJ=y \
195 CONFIG_IPPP_FILTER=y \
196 CONFIG_ISDN_PPP_BSDCOMP \
197 CONFIG_ISDN_CAPI_MIDDLEWARE=y \
198 CONFIG_ISDN_CAPI_CAPIFS_BOOL=y \
199 CONFIG_ISDN_AUDIO=y \
200 CONFIG_ISDN_TTY_FAX=y \
202 CONFIG_ISDN_DIVERSION
204 $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.ko \
205 $(LINUX_DIR)/drivers/isdn/i4l/isdn.ko \
206 $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.ko
207 AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert)
210 define KernelPackage/isdn4linux/description
211 This driver allows you to use an ISDN adapter for networking
214 $(eval $(call KernelPackage,isdn4linux))
217 define KernelPackage/ipip
218 SUBMENU:=$(NETWORK_SUPPORT_MENU)
219 TITLE:=IP-in-IP encapsulation
220 DEPENDS:=+kmod-iptunnel4
221 KCONFIG:=CONFIG_NET_IPIP
222 FILES:=$(LINUX_DIR)/net/ipv4/ipip.ko
223 AUTOLOAD:=$(call AutoLoad,32,ipip)
226 define KernelPackage/ipip/description
227 Kernel modules for IP-in-IP encapsulation
230 $(eval $(call KernelPackage,ipip))
234 $(if $(CONFIG_LINUX_3_3),,xfrm/xfrm_algo) \
239 define KernelPackage/ipsec
240 SUBMENU:=$(NETWORK_SUPPORT_MENU)
241 TITLE:=IPsec related modules (IPv4 and IPv6)
242 DEPENDS:=+kmod-crypto-authenc +kmod-crypto-iv +kmod-crypto-des +kmod-crypto-hmac +kmod-crypto-md5 +kmod-crypto-sha1 +kmod-crypto-deflate +kmod-crypto-cbc
248 FILES:=$(foreach mod,$(IPSEC-m),$(LINUX_DIR)/net/$(mod).ko)
249 AUTOLOAD:=$(call AutoLoad,30,$(notdir $(IPSEC-m)))
252 define KernelPackage/ipsec/description
253 Kernel modules for IPsec support in both IPv4 and IPv6.
260 $(eval $(call KernelPackage,ipsec))
266 ipv4/xfrm4_mode_beet \
267 ipv4/xfrm4_mode_transport \
268 ipv4/xfrm4_mode_tunnel \
272 define KernelPackage/ipsec4
273 SUBMENU:=$(NETWORK_SUPPORT_MENU)
274 TITLE:=IPsec related modules (IPv4)
275 DEPENDS:=kmod-ipsec +kmod-iptunnel4
280 CONFIG_INET_XFRM_MODE_BEET \
281 CONFIG_INET_XFRM_MODE_TRANSPORT \
282 CONFIG_INET_XFRM_MODE_TUNNEL \
283 CONFIG_INET_XFRM_TUNNEL
284 FILES:=$(foreach mod,$(IPSEC4-m),$(LINUX_DIR)/net/$(mod).ko)
285 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC4-m)))
288 define KernelPackage/ipsec4/description
289 Kernel modules for IPsec support in IPv4.
295 - xfrm4_mode_transport
300 $(eval $(call KernelPackage,ipsec4))
306 ipv6/xfrm6_mode_beet \
307 ipv6/xfrm6_mode_transport \
308 ipv6/xfrm6_mode_tunnel \
312 define KernelPackage/ipsec6
313 SUBMENU:=$(NETWORK_SUPPORT_MENU)
314 TITLE:=IPsec related modules (IPv6)
315 DEPENDS:=kmod-ipsec +kmod-iptunnel6
319 CONFIG_INET6_IPCOMP \
320 CONFIG_INET6_XFRM_MODE_BEET \
321 CONFIG_INET6_XFRM_MODE_TRANSPORT \
322 CONFIG_INET6_XFRM_MODE_TUNNEL \
323 CONFIG_INET6_XFRM_TUNNEL
324 FILES:=$(foreach mod,$(IPSEC6-m),$(LINUX_DIR)/net/$(mod).ko)
325 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC6-m)))
328 define KernelPackage/ipsec6/description
329 Kernel modules for IPsec support in IPv6.
335 - xfrm6_mode_transport
340 $(eval $(call KernelPackage,ipsec6))
343 # NOTE: tunnel4 is not selectable by itself, so enable ipip for that
344 define KernelPackage/iptunnel4
345 SUBMENU:=$(NETWORK_SUPPORT_MENU)
346 TITLE:=IPv4 tunneling
350 FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.ko
351 AUTOLOAD:=$(call AutoLoad,31,tunnel4)
354 define KernelPackage/iptunnel4/description
355 Kernel modules for IPv4 tunneling
358 $(eval $(call KernelPackage,iptunnel4))
361 define KernelPackage/iptunnel6
362 SUBMENU:=$(NETWORK_SUPPORT_MENU)
363 TITLE:=IPv6 tunneling
367 FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.ko
368 AUTOLOAD:=$(call AutoLoad,31,tunnel6)
371 define KernelPackage/iptunnel6/description
372 Kernel modules for IPv6 tunneling
375 $(eval $(call KernelPackage,iptunnel6))
378 define KernelPackage/ipv6
379 SUBMENU:=$(NETWORK_SUPPORT_MENU)
383 CONFIG_IPV6_PRIVACY=y \
384 CONFIG_IPV6_MULTIPLE_TABLES=y \
385 CONFIG_IPV6_MROUTE=y \
386 CONFIG_IPV6_PIMSM_V2=n \
387 CONFIG_IPV6_SUBTREES=y
388 FILES:=$(LINUX_DIR)/net/ipv6/ipv6.ko
389 AUTOLOAD:=$(call AutoLoad,20,ipv6)
392 define KernelPackage/ipv6/description
393 Kernel modules for IPv6 support
396 $(eval $(call KernelPackage,ipv6))
399 define KernelPackage/sit
400 SUBMENU:=$(NETWORK_SUPPORT_MENU)
401 DEPENDS:=+kmod-ipv6 +kmod-iptunnel4
402 TITLE:=IPv6-in-IPv4 tunnel
403 KCONFIG:=CONFIG_IPV6_SIT \
404 CONFIG_IPV6_SIT_6RD=y
405 FILES:=$(LINUX_DIR)/net/ipv6/sit.ko
406 AUTOLOAD:=$(call AutoLoad,32,sit)
409 define KernelPackage/sit/description
410 Kernel modules for IPv6-in-IPv4 tunnelling
413 $(eval $(call KernelPackage,sit))
416 define KernelPackage/ip6-tunnel
417 SUBMENU:=$(NETWORK_SUPPORT_MENU)
418 TITLE:=IP-in-IPv6 tunnelling
419 DEPENDS:= +kmod-ipv6 +kmod-iptunnel6
420 KCONFIG:= CONFIG_IPV6_TUNNEL
421 FILES:=$(LINUX_DIR)/net/ipv6/ip6_tunnel.ko
422 AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
425 define KernelPackage/ip6-tunnel/description
426 Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
429 $(eval $(call KernelPackage,ip6-tunnel))
432 define KernelPackage/gre
433 SUBMENU:=$(NETWORK_SUPPORT_MENU)
435 DEPENDS:=+PACKAGE_kmod-ipv6:kmod-ipv6
436 KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
437 FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
438 AUTOLOAD:=$(call AutoLoad,39,gre ip_gre)
441 define KernelPackage/gre/description
442 Generic Routing Encapsulation support
445 $(eval $(call KernelPackage,gre))
448 define KernelPackage/gre6
449 SUBMENU:=$(NETWORK_SUPPORT_MENU)
450 TITLE:=GRE support over IPV6
451 DEPENDS:=+kmod-ipv6 +kmod-ip6-tunnel @!LINUX_3_3 @!LINUX_3_6
452 KCONFIG:=CONFIG_IPV6_GRE
453 FILES:=$(LINUX_DIR)/net/ipv6/ip6_gre.ko
454 AUTOLOAD:=$(call AutoLoad,39,ip6_gre)
457 define KernelPackage/gre6/description
458 Generic Routing Encapsulation support over IPv6
461 $(eval $(call KernelPackage,gre6))
464 define KernelPackage/tun
465 SUBMENU:=$(NETWORK_SUPPORT_MENU)
466 TITLE:=Universal TUN/TAP driver
468 FILES:=$(LINUX_DIR)/drivers/net/tun.ko
469 AUTOLOAD:=$(call AutoLoad,30,tun)
472 define KernelPackage/tun/description
473 Kernel support for the TUN/TAP tunneling device
476 $(eval $(call KernelPackage,tun))
479 define KernelPackage/veth
480 SUBMENU:=$(NETWORK_SUPPORT_MENU)
481 TITLE:=Virtual ethernet pair device
483 FILES:=$(LINUX_DIR)/drivers/net/veth.ko
484 AUTOLOAD:=$(call AutoLoad,30,veth)
487 define KernelPackage/veth/description
488 This device is a local ethernet tunnel. Devices are created in pairs.
489 When one end receives the packet it appears on its pair and vice
493 $(eval $(call KernelPackage,veth))
496 define KernelPackage/ppp
497 SUBMENU:=$(NETWORK_SUPPORT_MENU)
499 DEPENDS:=+kmod-lib-crc-ccitt
505 $(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \
506 $(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko \
507 $(LINUX_DIR)/drivers/net/slip/slhc.ko
508 AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
511 define KernelPackage/ppp/description
512 Kernel modules for PPP support
515 $(eval $(call KernelPackage,ppp))
518 define KernelPackage/ppp-synctty
519 SUBMENU:=$(NETWORK_SUPPORT_MENU)
520 TITLE:=PPP sync tty support
522 KCONFIG:=CONFIG_PPP_SYNC_TTY
523 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_synctty.ko
524 AUTOLOAD:=$(call AutoLoad,40,ppp_synctty)
527 define KernelPackage/ppp-synctty/description
528 Kernel modules for PPP sync tty support
531 $(eval $(call KernelPackage,ppp-synctty))
534 define KernelPackage/pppox
535 SUBMENU:=$(NETWORK_SUPPORT_MENU)
538 KCONFIG:=CONFIG_PPPOE
539 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppox.ko
540 AUTOLOAD:=$(call AutoLoad,40,pppox)
543 define KernelPackage/pppox/description
544 Kernel helper module for PPPoE and PPTP support
547 $(eval $(call KernelPackage,pppox))
550 define KernelPackage/pppoe
551 SUBMENU:=$(NETWORK_SUPPORT_MENU)
553 DEPENDS:=kmod-ppp +kmod-pppox
554 KCONFIG:=CONFIG_PPPOE
555 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppoe.ko
556 AUTOLOAD:=$(call AutoLoad,41,pppoe)
559 define KernelPackage/pppoe/description
560 Kernel module for PPPoE (PPP over Ethernet) support
563 $(eval $(call KernelPackage,pppoe))
566 define KernelPackage/pppoa
567 SUBMENU:=$(NETWORK_SUPPORT_MENU)
569 DEPENDS:=kmod-ppp +kmod-atm
570 KCONFIG:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS=y
571 FILES:=$(LINUX_DIR)/net/atm/pppoatm.ko
572 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
575 define KernelPackage/pppoa/description
576 Kernel modules for PPPoA (PPP over ATM) support
579 $(eval $(call KernelPackage,pppoa))
582 define KernelPackage/pptp
583 SUBMENU:=$(NETWORK_SUPPORT_MENU)
585 DEPENDS:=kmod-ppp +kmod-gre +kmod-pppox
587 FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko
588 AUTOLOAD:=$(call AutoLoad,41,pptp)
591 $(eval $(call KernelPackage,pptp))
594 define KernelPackage/pppol2tp
595 SUBMENU:=$(NETWORK_SUPPORT_MENU)
596 TITLE:=PPPoL2TP support
597 DEPENDS:=kmod-ppp +kmod-pppox +kmod-l2tp
598 KCONFIG:=CONFIG_PPPOL2TP
599 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ppp.ko
600 AUTOLOAD:=$(call AutoLoad,41,l2tp_ppp)
603 define KernelPackage/pppol2tp/description
604 Kernel modules for PPPoL2TP (PPP over L2TP) support
607 $(eval $(call KernelPackage,pppol2tp))
610 define KernelPackage/ipoa
611 SUBMENU:=$(NETWORK_SUPPORT_MENU)
614 KCONFIG:=CONFIG_ATM_CLIP
615 FILES:=$(LINUX_DIR)/net/atm/clip.ko
616 AUTOLOAD:=$(call AutoLoad,40,clip)
619 define KernelPackage/ipoa/description
620 Kernel modules for IPoA (IP over ATM) support
623 $(eval $(call KernelPackage,ipoa))
626 define KernelPackage/mppe
627 SUBMENU:=$(NETWORK_SUPPORT_MENU)
628 TITLE:=Microsoft PPP compression/encryption
629 DEPENDS:=kmod-ppp +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-sha1 +kmod-crypto-ecb
631 CONFIG_PPP_MPPE_MPPC \
633 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_mppe.ko
634 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe)
637 define KernelPackage/mppe/description
638 Kernel modules for Microsoft PPP compression/encryption
641 $(eval $(call KernelPackage,mppe))
644 SCHED_MODULES = $(patsubst $(LINUX_DIR)/net/sched/%.ko,%,$(wildcard $(LINUX_DIR)/net/sched/*.ko))
645 SCHED_MODULES_CORE = sch_ingress sch_fq_codel sch_hfsc cls_fw cls_route cls_flow cls_tcindex cls_u32 em_u32 act_mirred act_skbedit
646 SCHED_MODULES_FILTER = $(SCHED_MODULES_CORE) act_connmark sch_esfq
647 SCHED_MODULES_EXTRA = $(filter-out $(SCHED_MODULES_FILTER),$(SCHED_MODULES))
648 SCHED_FILES = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(filter $(SCHED_MODULES_CORE),$(SCHED_MODULES)))
649 SCHED_FILES_EXTRA = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(SCHED_MODULES_EXTRA))
651 define KernelPackage/sched-core
652 SUBMENU:=$(NETWORK_SUPPORT_MENU)
653 TITLE:=Traffic schedulers
656 CONFIG_NET_SCH_HFSC \
657 CONFIG_NET_SCH_INGRESS \
658 CONFIG_NET_SCH_FQ_CODEL \
660 CONFIG_NET_CLS_ACT=y \
661 CONFIG_NET_CLS_FLOW \
663 CONFIG_NET_CLS_ROUTE4 \
664 CONFIG_NET_CLS_TCINDEX \
666 CONFIG_NET_ACT_MIRRED \
667 CONFIG_NET_ACT_SKBEDIT \
668 CONFIG_NET_EMATCH=y \
669 CONFIG_NET_EMATCH_U32
670 FILES:=$(SCHED_FILES)
671 AUTOLOAD:=$(call AutoLoad,70, $(SCHED_MODULES_CORE))
674 define KernelPackage/sched-core/description
675 Core kernel scheduler support for IP traffic
678 $(eval $(call KernelPackage,sched-core))
681 define KernelPackage/sched-connmark
682 SUBMENU:=$(NETWORK_SUPPORT_MENU)
683 TITLE:=Traffic shaper conntrack mark support
684 DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-ipt-conntrack-extra
685 KCONFIG:=CONFIG_NET_ACT_CONNMARK
686 FILES:=$(LINUX_DIR)/net/sched/act_connmark.ko
687 AUTOLOAD:=$(call AutoLoad,71, act_connmark)
689 $(eval $(call KernelPackage,sched-connmark))
691 define KernelPackage/sched-esfq
692 SUBMENU:=$(NETWORK_SUPPORT_MENU)
693 TITLE:=Traffic shaper ESFQ support
694 DEPENDS:=+kmod-sched-core +kmod-ipt-core
696 CONFIG_NET_SCH_ESFQ \
697 CONFIG_NET_SCH_ESFQ_NFCT=y
698 FILES:=$(LINUX_DIR)/net/sched/sch_esfq.ko
699 AUTOLOAD:=$(call AutoLoad,72, sch_esfq)
701 $(eval $(call KernelPackage,sched-esfq))
703 define KernelPackage/sched
704 SUBMENU:=$(NETWORK_SUPPORT_MENU)
705 TITLE:=Extra traffic schedulers
706 DEPENDS:=+kmod-sched-core
708 CONFIG_NET_SCH_CODEL \
709 CONFIG_NET_SCH_DSMARK \
711 CONFIG_NET_SCH_FIFO \
712 CONFIG_NET_SCH_GRED \
713 CONFIG_NET_SCH_PRIO \
717 CONFIG_NET_SCH_TEQL \
718 CONFIG_NET_CLS_BASIC \
719 CONFIG_NET_ACT_POLICE \
721 CONFIG_NET_EMATCH_CMP \
722 CONFIG_NET_EMATCH_NBYTE \
723 CONFIG_NET_EMATCH_META \
724 CONFIG_NET_EMATCH_TEXT
725 FILES:=$(SCHED_FILES_EXTRA)
726 AUTOLOAD:=$(call AutoLoad,73, $(SCHED_MODULES_EXTRA))
729 define KernelPackage/sched/description
730 Extra kernel schedulers modules for IP traffic
733 $(eval $(call KernelPackage,sched))
736 define KernelPackage/ax25
737 SUBMENU:=$(NETWORK_SUPPORT_MENU)
743 $(LINUX_DIR)/net/ax25/ax25.ko \
744 $(LINUX_DIR)/drivers/net/hamradio/mkiss.ko
745 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
746 $(call AddDepends/crc16)
749 define KernelPackage/ax25/description
750 Kernel modules for AX25 support
753 $(eval $(call KernelPackage,ax25))
756 define KernelPackage/mp-alg
757 SUBMENU:=$(NETWORK_SUPPORT_MENU)
758 TITLE:=ECMP caching algorithms
760 CONFIG_IP_ROUTE_MULTIPATH_RR \
761 CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
762 CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
763 CONFIG_IP_ROUTE_MULTIPATH_DRR
765 $(LINUX_DIR)/net/ipv4/multipath_rr.ko \
766 $(LINUX_DIR)/net/ipv4/multipath_random.ko \
767 $(LINUX_DIR)/net/ipv4/multipath_wrandom.ko \
768 $(LINUX_DIR)/net/ipv4/multipath_drr.ko
769 AUTOLOAD:=$(call AutoLoad,35,multipath_rr multipath_random multipath_wrandom multipath_drr)
772 define KernelPackage/mp-alg/description
773 Kernel modules that provide several different algorithms for multipath
774 route selection from the route cache. The iproute "mpath" argument allows
775 specifying which algorithm to use for routes.
776 quagga (at least <=0.99.6) requires a multipath patch to support this
777 cached mp route feature.
780 $(eval $(call KernelPackage,mp-alg))
783 define KernelPackage/pktgen
784 SUBMENU:=$(NETWORK_SUPPORT_MENU)
785 DEPENDS:=@!TARGET_uml
786 TITLE:=Network packet generator
787 KCONFIG:=CONFIG_NET_PKTGEN
788 FILES:=$(LINUX_DIR)/net/core/pktgen.ko
789 AUTOLOAD:=$(call AutoLoad,99,pktgen)
792 define KernelPackage/pktgen/description
793 Kernel modules for the Network Packet Generator
796 $(eval $(call KernelPackage,pktgen))
798 define KernelPackage/l2tp
799 SUBMENU:=$(NETWORK_SUPPORT_MENU)
800 TITLE:=Layer Two Tunneling Protocol (L2TP)
801 KCONFIG:=CONFIG_L2TP \
803 CONFIG_L2TP_DEBUGFS=n
804 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_core.ko \
805 $(LINUX_DIR)/net/l2tp/l2tp_netlink.ko
806 AUTOLOAD:=$(call AutoLoad,32,l2tp_core l2tp_netlink)
809 define KernelPackage/l2tp/description
810 Kernel modules for L2TP V3 Support
813 $(eval $(call KernelPackage,l2tp))
816 define KernelPackage/l2tp-eth
817 SUBMENU:=$(NETWORK_SUPPORT_MENU)
818 TITLE:=L2TP ethernet pseudowire support for L2TPv3
820 KCONFIG:=CONFIG_L2TP_ETH
821 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_eth.ko
822 AUTOLOAD:=$(call AutoLoad,33,l2tp_eth)
825 define KernelPackage/l2tp-eth/description
826 Kernel modules for L2TP ethernet pseudowire support for L2TPv3
829 $(eval $(call KernelPackage,l2tp-eth))
831 define KernelPackage/l2tp-ip
832 SUBMENU:=$(NETWORK_SUPPORT_MENU)
833 TITLE:=L2TP IP encapsulation for L2TPv3
835 KCONFIG:=CONFIG_L2TP_IP
836 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ip.ko
837 AUTOLOAD:=$(call AutoLoad,33,l2tp_ip)
840 define KernelPackage/l2tp-ip/description
841 Kernel modules for L2TP IP encapsulation for L2TPv3
844 $(eval $(call KernelPackage,l2tp-ip))
847 define KernelPackage/sctp
848 SUBMENU:=$(NETWORK_SUPPORT_MENU)
849 TITLE:=SCTP protocol kernel support
852 CONFIG_SCTP_DBG_MSG=n \
853 CONFIG_SCTP_DBG_OBJCNT=n \
854 CONFIG_SCTP_HMAC_NONE=n \
855 CONFIG_SCTP_HMAC_SHA1=n \
856 CONFIG_SCTP_HMAC_MD5=y \
857 CONFIG_SCTP_COOKIE_HMAC_SHA1=n \
858 CONFIG_SCTP_COOKIE_HMAC_MD5=y \
859 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE=n \
860 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=n \
861 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
862 FILES:= $(LINUX_DIR)/net/sctp/sctp.ko
863 AUTOLOAD:= $(call AutoLoad,32,sctp)
864 DEPENDS:=+kmod-lib-crc32c +kmod-crypto-md5 +kmod-crypto-hmac
867 define KernelPackage/sctp/description
868 Kernel modules for SCTP protocol support
871 $(eval $(call KernelPackage,sctp))
874 define KernelPackage/netem
875 SUBMENU:=$(NETWORK_SUPPORT_MENU)
876 TITLE:=Network emulation functionality
878 KCONFIG:=CONFIG_NET_SCH_NETEM
879 FILES:=$(LINUX_DIR)/net/sched/sch_netem.ko
880 AUTOLOAD:=$(call AutoLoad,99,netem)
883 define KernelPackage/netem/description
884 Kernel modules for emulating the properties of wide area networks
887 $(eval $(call KernelPackage,netem))
889 define KernelPackage/slip
890 SUBMENU:=$(NETWORK_SUPPORT_MENU)
894 CONFIG_SLIP_COMPRESSED=y \
895 CONFIG_SLIP_SMART=y \
896 CONFIG_SLIP_MODE_SLIP6=y
899 $(LINUX_DIR)/drivers/net/slip/slip.ko
900 AUTOLOAD:=$(call AutoLoad,30,slip)
903 define KernelPackage/slip/description
904 Kernel modules for SLIP support
907 $(eval $(call KernelPackage,slip))