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)
194 CONFIG_ISDN_PPP_VJ=y \
196 CONFIG_IPPP_FILTER=y \
197 CONFIG_ISDN_PPP_BSDCOMP \
198 CONFIG_ISDN_CAPI_MIDDLEWARE=y \
199 CONFIG_ISDN_CAPI_CAPIFS_BOOL=y \
200 CONFIG_ISDN_AUDIO=y \
201 CONFIG_ISDN_TTY_FAX=y \
203 CONFIG_ISDN_DIVERSION
205 $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.ko \
206 $(LINUX_DIR)/drivers/isdn/i4l/isdn.ko \
207 $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.ko
208 AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert)
211 define KernelPackage/isdn4linux/description
212 This driver allows you to use an ISDN adapter for networking
215 $(eval $(call KernelPackage,isdn4linux))
218 define KernelPackage/ipip
219 SUBMENU:=$(NETWORK_SUPPORT_MENU)
220 TITLE:=IP-in-IP encapsulation
221 DEPENDS:=+kmod-iptunnel +kmod-iptunnel4
222 KCONFIG:=CONFIG_NET_IPIP
223 FILES:=$(LINUX_DIR)/net/ipv4/ipip.ko
224 AUTOLOAD:=$(call AutoLoad,32,ipip)
227 define KernelPackage/ipip/description
228 Kernel modules for IP-in-IP encapsulation
231 $(eval $(call KernelPackage,ipip))
235 $(if $(CONFIG_LINUX_3_3),,xfrm/xfrm_algo) \
240 define KernelPackage/ipsec
241 SUBMENU:=$(NETWORK_SUPPORT_MENU)
242 TITLE:=IPsec related modules (IPv4 and IPv6)
243 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
249 FILES:=$(foreach mod,$(IPSEC-m),$(LINUX_DIR)/net/$(mod).ko)
250 AUTOLOAD:=$(call AutoLoad,30,$(notdir $(IPSEC-m)))
253 define KernelPackage/ipsec/description
254 Kernel modules for IPsec support in both IPv4 and IPv6.
261 $(eval $(call KernelPackage,ipsec))
267 ipv4/xfrm4_mode_beet \
268 ipv4/xfrm4_mode_transport \
269 ipv4/xfrm4_mode_tunnel \
273 define KernelPackage/ipsec4
274 SUBMENU:=$(NETWORK_SUPPORT_MENU)
275 TITLE:=IPsec related modules (IPv4)
276 DEPENDS:=kmod-ipsec +kmod-iptunnel4
281 CONFIG_INET_XFRM_MODE_BEET \
282 CONFIG_INET_XFRM_MODE_TRANSPORT \
283 CONFIG_INET_XFRM_MODE_TUNNEL \
284 CONFIG_INET_XFRM_TUNNEL
285 FILES:=$(foreach mod,$(IPSEC4-m),$(LINUX_DIR)/net/$(mod).ko)
286 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC4-m)))
289 define KernelPackage/ipsec4/description
290 Kernel modules for IPsec support in IPv4.
296 - xfrm4_mode_transport
301 $(eval $(call KernelPackage,ipsec4))
307 ipv6/xfrm6_mode_beet \
308 ipv6/xfrm6_mode_transport \
309 ipv6/xfrm6_mode_tunnel \
313 define KernelPackage/ipsec6
314 SUBMENU:=$(NETWORK_SUPPORT_MENU)
315 TITLE:=IPsec related modules (IPv6)
316 DEPENDS:=kmod-ipsec +kmod-iptunnel6
320 CONFIG_INET6_IPCOMP \
321 CONFIG_INET6_XFRM_MODE_BEET \
322 CONFIG_INET6_XFRM_MODE_TRANSPORT \
323 CONFIG_INET6_XFRM_MODE_TUNNEL \
324 CONFIG_INET6_XFRM_TUNNEL
325 FILES:=$(foreach mod,$(IPSEC6-m),$(LINUX_DIR)/net/$(mod).ko)
326 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC6-m)))
329 define KernelPackage/ipsec6/description
330 Kernel modules for IPsec support in IPv6.
336 - xfrm6_mode_transport
341 $(eval $(call KernelPackage,ipsec6))
344 define KernelPackage/iptunnel
345 SUBMENU:=$(NETWORK_SUPPORT_MENU)
346 TITLE:=IP tunnel support
350 FILES:=$(LINUX_DIR)/net/ipv4/ip_tunnel.ko
351 AUTOLOAD:=$(call AutoLoad,31,ip_tunnel)
354 define KernelPackage/iptunnel/description
355 Kernel module for generic IP tunnel support
358 $(eval $(call KernelPackage,iptunnel))
361 define KernelPackage/iptunnel4
362 SUBMENU:=$(NETWORK_SUPPORT_MENU)
363 TITLE:=IPv4 tunneling
367 FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.ko
368 AUTOLOAD:=$(call AutoLoad,31,tunnel4)
371 define KernelPackage/iptunnel4/description
372 Kernel modules for IPv4 tunneling
375 $(eval $(call KernelPackage,iptunnel4))
378 define KernelPackage/iptunnel6
379 SUBMENU:=$(NETWORK_SUPPORT_MENU)
380 TITLE:=IPv6 tunneling
384 FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.ko
385 AUTOLOAD:=$(call AutoLoad,31,tunnel6)
388 define KernelPackage/iptunnel6/description
389 Kernel modules for IPv6 tunneling
392 $(eval $(call KernelPackage,iptunnel6))
395 define KernelPackage/ipv6
396 SUBMENU:=$(NETWORK_SUPPORT_MENU)
400 CONFIG_IPV6_PRIVACY=y \
401 CONFIG_IPV6_MULTIPLE_TABLES=y \
402 CONFIG_IPV6_MROUTE=y \
403 CONFIG_IPV6_PIMSM_V2=n \
404 CONFIG_IPV6_SUBTREES=y
405 FILES:=$(LINUX_DIR)/net/ipv6/ipv6.ko
406 AUTOLOAD:=$(call AutoLoad,20,ipv6)
409 define KernelPackage/ipv6/description
410 Kernel modules for IPv6 support
413 $(eval $(call KernelPackage,ipv6))
416 define KernelPackage/sit
417 SUBMENU:=$(NETWORK_SUPPORT_MENU)
418 DEPENDS:=+kmod-ipv6 +kmod-iptunnel +kmod-iptunnel4
419 TITLE:=IPv6-in-IPv4 tunnel
420 KCONFIG:=CONFIG_IPV6_SIT \
421 CONFIG_IPV6_SIT_6RD=y
422 FILES:=$(LINUX_DIR)/net/ipv6/sit.ko
423 AUTOLOAD:=$(call AutoLoad,32,sit)
426 define KernelPackage/sit/description
427 Kernel modules for IPv6-in-IPv4 tunnelling
430 $(eval $(call KernelPackage,sit))
433 define KernelPackage/ip6-tunnel
434 SUBMENU:=$(NETWORK_SUPPORT_MENU)
435 TITLE:=IP-in-IPv6 tunnelling
436 DEPENDS:= +kmod-ipv6 +kmod-iptunnel6
437 KCONFIG:= CONFIG_IPV6_TUNNEL
438 FILES:=$(LINUX_DIR)/net/ipv6/ip6_tunnel.ko
439 AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
442 define KernelPackage/ip6-tunnel/description
443 Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
446 $(eval $(call KernelPackage,ip6-tunnel))
449 define KernelPackage/gre
450 SUBMENU:=$(NETWORK_SUPPORT_MENU)
452 DEPENDS:=+PACKAGE_kmod-ipv6:kmod-ipv6 +kmod-iptunnel
453 KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
454 FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
455 AUTOLOAD:=$(call AutoLoad,39,gre ip_gre)
458 define KernelPackage/gre/description
459 Generic Routing Encapsulation support
462 $(eval $(call KernelPackage,gre))
465 define KernelPackage/gre6
466 SUBMENU:=$(NETWORK_SUPPORT_MENU)
467 TITLE:=GRE support over IPV6
468 DEPENDS:=+kmod-ipv6 +kmod-iptunnel +kmod-ip6-tunnel @!LINUX_3_3 @!LINUX_3_6
469 KCONFIG:=CONFIG_IPV6_GRE
470 FILES:=$(LINUX_DIR)/net/ipv6/ip6_gre.ko
471 AUTOLOAD:=$(call AutoLoad,39,ip6_gre)
474 define KernelPackage/gre6/description
475 Generic Routing Encapsulation support over IPv6
478 $(eval $(call KernelPackage,gre6))
481 define KernelPackage/tun
482 SUBMENU:=$(NETWORK_SUPPORT_MENU)
483 TITLE:=Universal TUN/TAP driver
485 FILES:=$(LINUX_DIR)/drivers/net/tun.ko
486 AUTOLOAD:=$(call AutoLoad,30,tun)
489 define KernelPackage/tun/description
490 Kernel support for the TUN/TAP tunneling device
493 $(eval $(call KernelPackage,tun))
496 define KernelPackage/veth
497 SUBMENU:=$(NETWORK_SUPPORT_MENU)
498 TITLE:=Virtual ethernet pair device
500 FILES:=$(LINUX_DIR)/drivers/net/veth.ko
501 AUTOLOAD:=$(call AutoLoad,30,veth)
504 define KernelPackage/veth/description
505 This device is a local ethernet tunnel. Devices are created in pairs.
506 When one end receives the packet it appears on its pair and vice
510 $(eval $(call KernelPackage,veth))
513 define KernelPackage/ppp
514 SUBMENU:=$(NETWORK_SUPPORT_MENU)
516 DEPENDS:=+kmod-lib-crc-ccitt
522 $(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \
523 $(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko \
524 $(LINUX_DIR)/drivers/net/slip/slhc.ko
525 AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
528 define KernelPackage/ppp/description
529 Kernel modules for PPP support
532 $(eval $(call KernelPackage,ppp))
535 define KernelPackage/ppp-synctty
536 SUBMENU:=$(NETWORK_SUPPORT_MENU)
537 TITLE:=PPP sync tty support
539 KCONFIG:=CONFIG_PPP_SYNC_TTY
540 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_synctty.ko
541 AUTOLOAD:=$(call AutoLoad,40,ppp_synctty)
544 define KernelPackage/ppp-synctty/description
545 Kernel modules for PPP sync tty support
548 $(eval $(call KernelPackage,ppp-synctty))
551 define KernelPackage/pppox
552 SUBMENU:=$(NETWORK_SUPPORT_MENU)
555 KCONFIG:=CONFIG_PPPOE
556 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppox.ko
557 AUTOLOAD:=$(call AutoLoad,40,pppox)
560 define KernelPackage/pppox/description
561 Kernel helper module for PPPoE and PPTP support
564 $(eval $(call KernelPackage,pppox))
567 define KernelPackage/pppoe
568 SUBMENU:=$(NETWORK_SUPPORT_MENU)
570 DEPENDS:=kmod-ppp +kmod-pppox
571 KCONFIG:=CONFIG_PPPOE
572 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppoe.ko
573 AUTOLOAD:=$(call AutoLoad,41,pppoe)
576 define KernelPackage/pppoe/description
577 Kernel module for PPPoE (PPP over Ethernet) support
580 $(eval $(call KernelPackage,pppoe))
583 define KernelPackage/pppoa
584 SUBMENU:=$(NETWORK_SUPPORT_MENU)
586 DEPENDS:=kmod-ppp +kmod-atm
587 KCONFIG:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS=y
588 FILES:=$(LINUX_DIR)/net/atm/pppoatm.ko
589 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
592 define KernelPackage/pppoa/description
593 Kernel modules for PPPoA (PPP over ATM) support
596 $(eval $(call KernelPackage,pppoa))
599 define KernelPackage/pptp
600 SUBMENU:=$(NETWORK_SUPPORT_MENU)
602 DEPENDS:=kmod-ppp +kmod-gre +kmod-pppox
604 FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko
605 AUTOLOAD:=$(call AutoLoad,41,pptp)
608 $(eval $(call KernelPackage,pptp))
611 define KernelPackage/pppol2tp
612 SUBMENU:=$(NETWORK_SUPPORT_MENU)
613 TITLE:=PPPoL2TP support
614 DEPENDS:=kmod-ppp +kmod-pppox +kmod-l2tp
615 KCONFIG:=CONFIG_PPPOL2TP
616 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ppp.ko
617 AUTOLOAD:=$(call AutoLoad,41,l2tp_ppp)
620 define KernelPackage/pppol2tp/description
621 Kernel modules for PPPoL2TP (PPP over L2TP) support
624 $(eval $(call KernelPackage,pppol2tp))
627 define KernelPackage/ipoa
628 SUBMENU:=$(NETWORK_SUPPORT_MENU)
631 KCONFIG:=CONFIG_ATM_CLIP
632 FILES:=$(LINUX_DIR)/net/atm/clip.ko
633 AUTOLOAD:=$(call AutoLoad,40,clip)
636 define KernelPackage/ipoa/description
637 Kernel modules for IPoA (IP over ATM) support
640 $(eval $(call KernelPackage,ipoa))
643 define KernelPackage/mppe
644 SUBMENU:=$(NETWORK_SUPPORT_MENU)
645 TITLE:=Microsoft PPP compression/encryption
646 DEPENDS:=kmod-ppp +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-sha1 +kmod-crypto-ecb
648 CONFIG_PPP_MPPE_MPPC \
650 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_mppe.ko
651 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe)
654 define KernelPackage/mppe/description
655 Kernel modules for Microsoft PPP compression/encryption
658 $(eval $(call KernelPackage,mppe))
661 SCHED_MODULES = $(patsubst $(LINUX_DIR)/net/sched/%.ko,%,$(wildcard $(LINUX_DIR)/net/sched/*.ko))
662 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
663 SCHED_MODULES_FILTER = $(SCHED_MODULES_CORE) act_connmark sch_esfq
664 SCHED_MODULES_EXTRA = $(filter-out $(SCHED_MODULES_FILTER),$(SCHED_MODULES))
665 SCHED_FILES = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(filter $(SCHED_MODULES_CORE),$(SCHED_MODULES)))
666 SCHED_FILES_EXTRA = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(SCHED_MODULES_EXTRA))
668 define KernelPackage/sched-core
669 SUBMENU:=$(NETWORK_SUPPORT_MENU)
670 TITLE:=Traffic schedulers
673 CONFIG_NET_SCH_HFSC \
674 CONFIG_NET_SCH_INGRESS \
675 CONFIG_NET_SCH_FQ_CODEL \
677 CONFIG_NET_CLS_ACT=y \
678 CONFIG_NET_CLS_FLOW \
680 CONFIG_NET_CLS_ROUTE4 \
681 CONFIG_NET_CLS_TCINDEX \
683 CONFIG_NET_ACT_MIRRED \
684 CONFIG_NET_ACT_SKBEDIT \
685 CONFIG_NET_EMATCH=y \
686 CONFIG_NET_EMATCH_U32
687 FILES:=$(SCHED_FILES)
688 AUTOLOAD:=$(call AutoLoad,70, $(SCHED_MODULES_CORE))
691 define KernelPackage/sched-core/description
692 Core kernel scheduler support for IP traffic
695 $(eval $(call KernelPackage,sched-core))
698 define KernelPackage/sched-connmark
699 SUBMENU:=$(NETWORK_SUPPORT_MENU)
700 TITLE:=Traffic shaper conntrack mark support
701 DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-ipt-conntrack-extra
702 KCONFIG:=CONFIG_NET_ACT_CONNMARK
703 FILES:=$(LINUX_DIR)/net/sched/act_connmark.ko
704 AUTOLOAD:=$(call AutoLoad,71, act_connmark)
706 $(eval $(call KernelPackage,sched-connmark))
708 define KernelPackage/sched-esfq
709 SUBMENU:=$(NETWORK_SUPPORT_MENU)
710 TITLE:=Traffic shaper ESFQ support
711 DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-ipt-conntrack
713 CONFIG_NET_SCH_ESFQ \
714 CONFIG_NET_SCH_ESFQ_NFCT=y
715 FILES:=$(LINUX_DIR)/net/sched/sch_esfq.ko
716 AUTOLOAD:=$(call AutoLoad,72, sch_esfq)
718 $(eval $(call KernelPackage,sched-esfq))
720 define KernelPackage/sched
721 SUBMENU:=$(NETWORK_SUPPORT_MENU)
722 TITLE:=Extra traffic schedulers
723 DEPENDS:=+kmod-sched-core +kmod-ipt-core
725 CONFIG_NET_SCH_CODEL \
726 CONFIG_NET_SCH_DSMARK \
728 CONFIG_NET_SCH_FIFO \
729 CONFIG_NET_SCH_GRED \
730 CONFIG_NET_SCH_PRIO \
734 CONFIG_NET_SCH_TEQL \
735 CONFIG_NET_CLS_BASIC \
736 CONFIG_NET_ACT_POLICE \
738 CONFIG_NET_EMATCH_CMP \
739 CONFIG_NET_EMATCH_NBYTE \
740 CONFIG_NET_EMATCH_META \
741 CONFIG_NET_EMATCH_TEXT
742 FILES:=$(SCHED_FILES_EXTRA)
743 AUTOLOAD:=$(call AutoLoad,73, $(SCHED_MODULES_EXTRA))
746 define KernelPackage/sched/description
747 Extra kernel schedulers modules for IP traffic
750 $(eval $(call KernelPackage,sched))
753 define KernelPackage/ax25
754 SUBMENU:=$(NETWORK_SUPPORT_MENU)
760 $(LINUX_DIR)/net/ax25/ax25.ko \
761 $(LINUX_DIR)/drivers/net/hamradio/mkiss.ko
762 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
763 $(call AddDepends/crc16)
766 define KernelPackage/ax25/description
767 Kernel modules for AX25 support
770 $(eval $(call KernelPackage,ax25))
773 define KernelPackage/mp-alg
774 SUBMENU:=$(NETWORK_SUPPORT_MENU)
775 TITLE:=ECMP caching algorithms
777 CONFIG_IP_ROUTE_MULTIPATH_RR \
778 CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
779 CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
780 CONFIG_IP_ROUTE_MULTIPATH_DRR
782 $(LINUX_DIR)/net/ipv4/multipath_rr.ko \
783 $(LINUX_DIR)/net/ipv4/multipath_random.ko \
784 $(LINUX_DIR)/net/ipv4/multipath_wrandom.ko \
785 $(LINUX_DIR)/net/ipv4/multipath_drr.ko
786 AUTOLOAD:=$(call AutoLoad,35,multipath_rr multipath_random multipath_wrandom multipath_drr)
789 define KernelPackage/mp-alg/description
790 Kernel modules that provide several different algorithms for multipath
791 route selection from the route cache. The iproute "mpath" argument allows
792 specifying which algorithm to use for routes.
793 quagga (at least <=0.99.6) requires a multipath patch to support this
794 cached mp route feature.
797 $(eval $(call KernelPackage,mp-alg))
800 define KernelPackage/pktgen
801 SUBMENU:=$(NETWORK_SUPPORT_MENU)
802 DEPENDS:=@!TARGET_uml
803 TITLE:=Network packet generator
804 KCONFIG:=CONFIG_NET_PKTGEN
805 FILES:=$(LINUX_DIR)/net/core/pktgen.ko
806 AUTOLOAD:=$(call AutoLoad,99,pktgen)
809 define KernelPackage/pktgen/description
810 Kernel modules for the Network Packet Generator
813 $(eval $(call KernelPackage,pktgen))
815 define KernelPackage/l2tp
816 SUBMENU:=$(NETWORK_SUPPORT_MENU)
817 TITLE:=Layer Two Tunneling Protocol (L2TP)
818 DEPENDS:=+IPV6:kmod-ipv6
819 KCONFIG:=CONFIG_L2TP \
821 CONFIG_L2TP_DEBUGFS=n
822 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_core.ko \
823 $(LINUX_DIR)/net/l2tp/l2tp_netlink.ko
824 AUTOLOAD:=$(call AutoLoad,32,l2tp_core l2tp_netlink)
827 define KernelPackage/l2tp/description
828 Kernel modules for L2TP V3 Support
831 $(eval $(call KernelPackage,l2tp))
834 define KernelPackage/l2tp-eth
835 SUBMENU:=$(NETWORK_SUPPORT_MENU)
836 TITLE:=L2TP ethernet pseudowire support for L2TPv3
838 KCONFIG:=CONFIG_L2TP_ETH
839 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_eth.ko
840 AUTOLOAD:=$(call AutoLoad,33,l2tp_eth)
843 define KernelPackage/l2tp-eth/description
844 Kernel modules for L2TP ethernet pseudowire support for L2TPv3
847 $(eval $(call KernelPackage,l2tp-eth))
849 define KernelPackage/l2tp-ip
850 SUBMENU:=$(NETWORK_SUPPORT_MENU)
851 TITLE:=L2TP IP encapsulation for L2TPv3
853 KCONFIG:=CONFIG_L2TP_IP
854 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ip.ko
855 AUTOLOAD:=$(call AutoLoad,33,l2tp_ip)
858 define KernelPackage/l2tp-ip/description
859 Kernel modules for L2TP IP encapsulation for L2TPv3
862 $(eval $(call KernelPackage,l2tp-ip))
865 define KernelPackage/sctp
866 SUBMENU:=$(NETWORK_SUPPORT_MENU)
867 TITLE:=SCTP protocol kernel support
868 DEPENDS:=+IPV6:kmod-ipv6
871 CONFIG_SCTP_DBG_MSG=n \
872 CONFIG_SCTP_DBG_OBJCNT=n \
873 CONFIG_SCTP_HMAC_NONE=n \
874 CONFIG_SCTP_HMAC_SHA1=n \
875 CONFIG_SCTP_HMAC_MD5=y \
876 CONFIG_SCTP_COOKIE_HMAC_SHA1=n \
877 CONFIG_SCTP_COOKIE_HMAC_MD5=y \
878 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE=n \
879 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=n \
880 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
881 FILES:= $(LINUX_DIR)/net/sctp/sctp.ko
882 AUTOLOAD:= $(call AutoLoad,32,sctp)
883 DEPENDS:=+kmod-lib-crc32c +kmod-crypto-md5 +kmod-crypto-hmac
886 define KernelPackage/sctp/description
887 Kernel modules for SCTP protocol support
890 $(eval $(call KernelPackage,sctp))
893 define KernelPackage/netem
894 SUBMENU:=$(NETWORK_SUPPORT_MENU)
895 TITLE:=Network emulation functionality
897 KCONFIG:=CONFIG_NET_SCH_NETEM
898 FILES:=$(LINUX_DIR)/net/sched/sch_netem.ko
899 AUTOLOAD:=$(call AutoLoad,99,netem)
902 define KernelPackage/netem/description
903 Kernel modules for emulating the properties of wide area networks
906 $(eval $(call KernelPackage,netem))
908 define KernelPackage/slip
909 SUBMENU:=$(NETWORK_SUPPORT_MENU)
913 CONFIG_SLIP_COMPRESSED=y \
914 CONFIG_SLIP_SMART=y \
915 CONFIG_SLIP_MODE_SLIP6=y
918 $(LINUX_DIR)/drivers/net/slip/slip.ko
919 AUTOLOAD:=$(call AutoLoad,30,slip)
922 define KernelPackage/slip/description
923 Kernel modules for SLIP support
926 $(eval $(call KernelPackage,slip))