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
48 DEPENDS:=+PACKAGE_kmod-llc:kmod-llc
51 CONFIG_DEV_APPLETALK \
53 CONFIG_IPDDP_ENCAP=y \
56 $(LINUX_DIR)/net/appletalk/appletalk.ko \
57 $(LINUX_DIR)/drivers/net/appletalk/ipddp.ko
58 AUTOLOAD:=$(call AutoLoad,40,appletalk ipddp)
61 define KernelPackage/appletalk/description
62 Kernel module for AppleTalk protocol.
65 $(eval $(call KernelPackage,appletalk))
68 define KernelPackage/bonding
69 SUBMENU:=$(NETWORK_SUPPORT_MENU)
70 TITLE:=Ethernet bonding driver
71 KCONFIG:=CONFIG_BONDING
72 FILES:=$(LINUX_DIR)/drivers/net/bonding/bonding.ko
73 AUTOLOAD:=$(call AutoLoad,40,bonding)
76 define KernelPackage/bonding/description
77 Kernel module for NIC bonding.
80 $(eval $(call KernelPackage,bonding))
83 define KernelPackage/bridge
84 SUBMENU:=$(NETWORK_SUPPORT_MENU)
85 TITLE:=Ethernet bridging support
89 CONFIG_BRIDGE_IGMP_SNOOPING=y
90 FILES:=$(LINUX_DIR)/net/bridge/bridge.ko
91 AUTOLOAD:=$(call AutoLoad,11,bridge)
94 define KernelPackage/bridge/description
95 Kernel module for Ethernet bridging.
98 $(eval $(call KernelPackage,bridge))
100 define KernelPackage/llc
101 SUBMENU:=$(NETWORK_SUPPORT_MENU)
102 TITLE:=ANSI/IEEE 802.2 LLC support
105 $(LINUX_DIR)/net/llc/llc.ko \
106 $(LINUX_DIR)/net/802/p8022.ko \
107 $(LINUX_DIR)/net/802/psnap.ko
108 AUTOLOAD:=$(call AutoLoad,09,llc p8022 psnap)
111 define KernelPackage/llc/description
112 Kernel module for ANSI/IEEE 802.2 LLC support.
115 $(eval $(call KernelPackage,llc))
117 define KernelPackage/stp
118 SUBMENU:=$(NETWORK_SUPPORT_MENU)
119 TITLE:=Ethernet Spanning Tree Protocol support
122 FILES:=$(LINUX_DIR)/net/802/stp.ko
123 AUTOLOAD:=$(call AutoLoad,10,stp)
126 define KernelPackage/stp/description
127 Kernel module for Ethernet Spanning Tree Protocol support.
130 $(eval $(call KernelPackage,stp))
132 define KernelPackage/8021q
133 SUBMENU:=$(NETWORK_SUPPORT_MENU)
134 TITLE:=802.1Q VLAN support
135 KCONFIG:=CONFIG_VLAN_8021Q \
136 CONFIG_VLAN_8021Q_GVRP=n
137 FILES:=$(LINUX_DIR)/net/8021q/8021q.ko
138 AUTOLOAD:=$(call AutoLoad,12,8021q)
141 define KernelPackage/8021q/description
142 Kernel module for 802.1Q VLAN support
145 $(eval $(call KernelPackage,8021q))
148 define KernelPackage/udptunnel4
149 SUBMENU:=$(NETWORK_SUPPORT_MENU)
150 TITLE:=IPv4 UDP tunneling support
151 KCONFIG:=CONFIG_NET_UDP_TUNNEL
152 FILES:=$(LINUX_DIR)/net/ipv4/udp_tunnel.ko
153 AUTOLOAD:=$(call AutoLoad,32,udp_tunnel)
157 $(eval $(call KernelPackage,udptunnel4))
159 define KernelPackage/udptunnel6
160 SUBMENU:=$(NETWORK_SUPPORT_MENU)
161 TITLE:=IPv6 UDP tunneling support
162 KCONFIG:=CONFIG_NET_UDP_TUNNEL
163 FILES:=$(LINUX_DIR)/net/ipv6/ip6_udp_tunnel.ko
164 AUTOLOAD:=$(call AutoLoad,32,ip6_udp_tunnel)
167 $(eval $(call KernelPackage,udptunnel6))
170 define KernelPackage/vxlan
171 SUBMENU:=$(NETWORK_SUPPORT_MENU)
172 TITLE:=Native VXLAN Kernel support
176 +IPV6:kmod-udptunnel6
177 KCONFIG:=CONFIG_VXLAN
178 FILES:=$(LINUX_DIR)/drivers/net/vxlan.ko
179 AUTOLOAD:=$(call AutoLoad,13,vxlan)
182 define KernelPackage/vxlan/description
183 Kernel module for supporting VXLAN in the Kernel.
184 Requires Kernel 3.12 or newer.
187 $(eval $(call KernelPackage,vxlan))
189 define KernelPackage/capi
190 SUBMENU:=$(NETWORK_SUPPORT_MENU)
191 TITLE:=CAPI (ISDN) Support
194 CONFIG_ISDN_CAPI_CAPI20 \
196 CONFIG_ISDN_CAPI_CAPIFS
198 $(LINUX_DIR)/drivers/isdn/capi/kernelcapi.ko \
199 $(LINUX_DIR)/drivers/isdn/capi/capi.ko
200 AUTOLOAD:=$(call AutoLoad,30,kernelcapi capi)
203 define KernelPackage/capi/description
204 Kernel module for basic CAPI (ISDN) support
207 $(eval $(call KernelPackage,capi))
209 define KernelPackage/misdn
210 SUBMENU:=$(NETWORK_SUPPORT_MENU)
211 TITLE:=mISDN (ISDN) Support
218 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_core.ko \
219 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_dsp.ko \
220 $(LINUX_DIR)/drivers/isdn/mISDN/l1oip.ko
221 AUTOLOAD:=$(call AutoLoad,30,mISDN_core mISDN_dsp l1oip)
224 define KernelPackage/misdn/description
225 Modular ISDN driver support
228 $(eval $(call KernelPackage,misdn))
231 define KernelPackage/isdn4linux
232 SUBMENU:=$(NETWORK_SUPPORT_MENU)
233 TITLE:=Old ISDN4Linux (deprecated)
239 CONFIG_ISDN_PPP_VJ=y \
241 CONFIG_IPPP_FILTER=y \
242 CONFIG_ISDN_PPP_BSDCOMP \
243 CONFIG_ISDN_CAPI_MIDDLEWARE=y \
244 CONFIG_ISDN_CAPI_CAPIFS_BOOL=y \
245 CONFIG_ISDN_AUDIO=y \
246 CONFIG_ISDN_TTY_FAX=y \
248 CONFIG_ISDN_DIVERSION
250 $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.ko \
251 $(LINUX_DIR)/drivers/isdn/i4l/isdn.ko \
252 $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.ko
253 AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert)
256 define KernelPackage/isdn4linux/description
257 This driver allows you to use an ISDN adapter for networking
260 $(eval $(call KernelPackage,isdn4linux))
263 define KernelPackage/ipip
264 SUBMENU:=$(NETWORK_SUPPORT_MENU)
265 TITLE:=IP-in-IP encapsulation
266 DEPENDS:=+kmod-iptunnel +kmod-iptunnel4
267 KCONFIG:=CONFIG_NET_IPIP
268 FILES:=$(LINUX_DIR)/net/ipv4/ipip.ko
269 AUTOLOAD:=$(call AutoLoad,32,ipip)
272 define KernelPackage/ipip/description
273 Kernel modules for IP-in-IP encapsulation
276 $(eval $(call KernelPackage,ipip))
285 define KernelPackage/ipsec
286 SUBMENU:=$(NETWORK_SUPPORT_MENU)
287 TITLE:=IPsec related modules (IPv4 and IPv6)
288 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
294 FILES:=$(foreach mod,$(IPSEC-m),$(LINUX_DIR)/net/$(mod).ko)
295 AUTOLOAD:=$(call AutoLoad,30,$(notdir $(IPSEC-m)))
298 define KernelPackage/ipsec/description
299 Kernel modules for IPsec support in both IPv4 and IPv6.
306 $(eval $(call KernelPackage,ipsec))
312 ipv4/xfrm4_mode_beet \
313 ipv4/xfrm4_mode_transport \
314 ipv4/xfrm4_mode_tunnel \
318 define KernelPackage/ipsec4
319 SUBMENU:=$(NETWORK_SUPPORT_MENU)
320 TITLE:=IPsec related modules (IPv4)
321 DEPENDS:=kmod-ipsec +kmod-iptunnel4
326 CONFIG_INET_XFRM_MODE_BEET \
327 CONFIG_INET_XFRM_MODE_TRANSPORT \
328 CONFIG_INET_XFRM_MODE_TUNNEL \
329 CONFIG_INET_XFRM_TUNNEL
330 FILES:=$(foreach mod,$(IPSEC4-m),$(LINUX_DIR)/net/$(mod).ko)
331 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC4-m)))
334 define KernelPackage/ipsec4/description
335 Kernel modules for IPsec support in IPv4.
341 - xfrm4_mode_transport
346 $(eval $(call KernelPackage,ipsec4))
352 ipv6/xfrm6_mode_beet \
353 ipv6/xfrm6_mode_transport \
354 ipv6/xfrm6_mode_tunnel \
358 define KernelPackage/ipsec6
359 SUBMENU:=$(NETWORK_SUPPORT_MENU)
360 TITLE:=IPsec related modules (IPv6)
361 DEPENDS:=kmod-ipsec +kmod-iptunnel6
365 CONFIG_INET6_IPCOMP \
366 CONFIG_INET6_XFRM_MODE_BEET \
367 CONFIG_INET6_XFRM_MODE_TRANSPORT \
368 CONFIG_INET6_XFRM_MODE_TUNNEL \
369 CONFIG_INET6_XFRM_TUNNEL
370 FILES:=$(foreach mod,$(IPSEC6-m),$(LINUX_DIR)/net/$(mod).ko)
371 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC6-m)))
374 define KernelPackage/ipsec6/description
375 Kernel modules for IPsec support in IPv6.
381 - xfrm6_mode_transport
386 $(eval $(call KernelPackage,ipsec6))
389 define KernelPackage/iptunnel
390 SUBMENU:=$(NETWORK_SUPPORT_MENU)
391 TITLE:=IP tunnel support
395 FILES:=$(LINUX_DIR)/net/ipv4/ip_tunnel.ko
396 AUTOLOAD:=$(call AutoLoad,31,ip_tunnel)
399 define KernelPackage/iptunnel/description
400 Kernel module for generic IP tunnel support
403 $(eval $(call KernelPackage,iptunnel))
406 define KernelPackage/ipvti
407 SUBMENU:=$(NETWORK_SUPPORT_MENU)
408 TITLE:=IP VTI (Virtual Tunnel Interface)
409 DEPENDS:=+kmod-iptunnel +kmod-iptunnel4 +kmod-ipsec4
410 KCONFIG:=CONFIG_NET_IPVTI
411 FILES:=$(LINUX_DIR)/net/ipv4/ip_vti.ko
412 AUTOLOAD:=$(call AutoLoad,33,ip_vti)
415 define KernelPackage/ipvti/description
416 Kernel modules for IP VTI (Virtual Tunnel Interface)
419 $(eval $(call KernelPackage,ipvti))
422 define KernelPackage/iptunnel4
423 SUBMENU:=$(NETWORK_SUPPORT_MENU)
424 TITLE:=IPv4 tunneling
428 FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.ko
429 AUTOLOAD:=$(call AutoLoad,31,tunnel4)
432 define KernelPackage/iptunnel4/description
433 Kernel modules for IPv4 tunneling
436 $(eval $(call KernelPackage,iptunnel4))
439 define KernelPackage/iptunnel6
440 SUBMENU:=$(NETWORK_SUPPORT_MENU)
441 TITLE:=IPv6 tunneling
445 FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.ko
446 AUTOLOAD:=$(call AutoLoad,31,tunnel6)
449 define KernelPackage/iptunnel6/description
450 Kernel modules for IPv6 tunneling
453 $(eval $(call KernelPackage,iptunnel6))
456 define KernelPackage/ipv6
457 SUBMENU:=$(NETWORK_SUPPORT_MENU)
461 CONFIG_IPV6_PRIVACY=y \
462 CONFIG_IPV6_MULTIPLE_TABLES=y \
463 CONFIG_IPV6_MROUTE=y \
464 CONFIG_IPV6_PIMSM_V2=n \
465 CONFIG_IPV6_SUBTREES=y
466 FILES:=$(LINUX_DIR)/net/ipv6/ipv6.ko
467 AUTOLOAD:=$(call AutoLoad,20,ipv6)
470 define KernelPackage/ipv6/description
471 Kernel modules for IPv6 support
474 $(eval $(call KernelPackage,ipv6))
477 define KernelPackage/sit
478 SUBMENU:=$(NETWORK_SUPPORT_MENU)
479 DEPENDS:=+kmod-ipv6 +kmod-iptunnel +kmod-iptunnel4
480 TITLE:=IPv6-in-IPv4 tunnel
481 KCONFIG:=CONFIG_IPV6_SIT \
482 CONFIG_IPV6_SIT_6RD=y
483 FILES:=$(LINUX_DIR)/net/ipv6/sit.ko
484 AUTOLOAD:=$(call AutoLoad,32,sit)
487 define KernelPackage/sit/description
488 Kernel modules for IPv6-in-IPv4 tunnelling
491 $(eval $(call KernelPackage,sit))
494 define KernelPackage/ip6-tunnel
495 SUBMENU:=$(NETWORK_SUPPORT_MENU)
496 TITLE:=IP-in-IPv6 tunnelling
497 DEPENDS:= +kmod-ipv6 +kmod-iptunnel6
498 KCONFIG:= CONFIG_IPV6_TUNNEL
499 FILES:=$(LINUX_DIR)/net/ipv6/ip6_tunnel.ko
500 AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
503 define KernelPackage/ip6-tunnel/description
504 Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
507 $(eval $(call KernelPackage,ip6-tunnel))
510 define KernelPackage/gre
511 SUBMENU:=$(NETWORK_SUPPORT_MENU)
513 DEPENDS:=+PACKAGE_kmod-ipv6:kmod-ipv6 +kmod-iptunnel
514 KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
515 FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
516 AUTOLOAD:=$(call AutoLoad,39,gre ip_gre)
519 define KernelPackage/gre/description
520 Generic Routing Encapsulation support
523 $(eval $(call KernelPackage,gre))
526 define KernelPackage/gre6
527 SUBMENU:=$(NETWORK_SUPPORT_MENU)
528 TITLE:=GRE support over IPV6
529 DEPENDS:=+kmod-ipv6 +kmod-iptunnel +kmod-ip6-tunnel
530 KCONFIG:=CONFIG_IPV6_GRE
531 FILES:=$(LINUX_DIR)/net/ipv6/ip6_gre.ko
532 AUTOLOAD:=$(call AutoLoad,39,ip6_gre)
535 define KernelPackage/gre6/description
536 Generic Routing Encapsulation support over IPv6
539 $(eval $(call KernelPackage,gre6))
542 define KernelPackage/tun
543 SUBMENU:=$(NETWORK_SUPPORT_MENU)
544 TITLE:=Universal TUN/TAP driver
546 FILES:=$(LINUX_DIR)/drivers/net/tun.ko
547 AUTOLOAD:=$(call AutoLoad,30,tun)
550 define KernelPackage/tun/description
551 Kernel support for the TUN/TAP tunneling device
554 $(eval $(call KernelPackage,tun))
557 define KernelPackage/veth
558 SUBMENU:=$(NETWORK_SUPPORT_MENU)
559 TITLE:=Virtual ethernet pair device
561 FILES:=$(LINUX_DIR)/drivers/net/veth.ko
562 AUTOLOAD:=$(call AutoLoad,30,veth)
565 define KernelPackage/veth/description
566 This device is a local ethernet tunnel. Devices are created in pairs.
567 When one end receives the packet it appears on its pair and vice
571 $(eval $(call KernelPackage,veth))
574 define KernelPackage/slhc
575 SUBMENU:=$(NETWORK_SUPPORT_MENU)
577 TITLE:=Serial Line Header Compression
578 DEPENDS:=+kmod-lib-crc-ccitt
580 FILES:=$(LINUX_DIR)/drivers/net/slip/slhc.ko
583 $(eval $(call KernelPackage,slhc))
586 define KernelPackage/ppp
587 SUBMENU:=$(NETWORK_SUPPORT_MENU)
589 DEPENDS:=+kmod-lib-crc-ccitt +kmod-slhc
594 $(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \
595 $(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko
596 AUTOLOAD:=$(call AutoProbe,ppp_async)
599 define KernelPackage/ppp/description
600 Kernel modules for PPP support
603 $(eval $(call KernelPackage,ppp))
606 define KernelPackage/ppp-synctty
607 SUBMENU:=$(NETWORK_SUPPORT_MENU)
608 TITLE:=PPP sync tty support
610 KCONFIG:=CONFIG_PPP_SYNC_TTY
611 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_synctty.ko
612 AUTOLOAD:=$(call AutoProbe,ppp_synctty)
615 define KernelPackage/ppp-synctty/description
616 Kernel modules for PPP sync tty support
619 $(eval $(call KernelPackage,ppp-synctty))
622 define KernelPackage/pppox
623 SUBMENU:=$(NETWORK_SUPPORT_MENU)
626 KCONFIG:=CONFIG_PPPOE
627 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppox.ko
630 define KernelPackage/pppox/description
631 Kernel helper module for PPPoE and PPTP support
634 $(eval $(call KernelPackage,pppox))
637 define KernelPackage/pppoe
638 SUBMENU:=$(NETWORK_SUPPORT_MENU)
640 DEPENDS:=kmod-ppp +kmod-pppox
641 KCONFIG:=CONFIG_PPPOE
642 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppoe.ko
643 AUTOLOAD:=$(call AutoProbe,pppoe)
646 define KernelPackage/pppoe/description
647 Kernel module for PPPoE (PPP over Ethernet) support
650 $(eval $(call KernelPackage,pppoe))
653 define KernelPackage/pppoa
654 SUBMENU:=$(NETWORK_SUPPORT_MENU)
656 DEPENDS:=kmod-ppp +kmod-atm
657 KCONFIG:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS=y
658 FILES:=$(LINUX_DIR)/net/atm/pppoatm.ko
659 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
662 define KernelPackage/pppoa/description
663 Kernel modules for PPPoA (PPP over ATM) support
666 $(eval $(call KernelPackage,pppoa))
669 define KernelPackage/pptp
670 SUBMENU:=$(NETWORK_SUPPORT_MENU)
672 DEPENDS:=kmod-ppp +kmod-gre +kmod-pppox
674 FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko
675 AUTOLOAD:=$(call AutoProbe,pptp)
678 $(eval $(call KernelPackage,pptp))
681 define KernelPackage/pppol2tp
682 SUBMENU:=$(NETWORK_SUPPORT_MENU)
683 TITLE:=PPPoL2TP support
684 DEPENDS:=kmod-ppp +kmod-pppox +kmod-l2tp
685 KCONFIG:=CONFIG_PPPOL2TP
686 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ppp.ko
687 AUTOLOAD:=$(call AutoProbe,l2tp_ppp)
690 define KernelPackage/pppol2tp/description
691 Kernel modules for PPPoL2TP (PPP over L2TP) support
694 $(eval $(call KernelPackage,pppol2tp))
697 define KernelPackage/ipoa
698 SUBMENU:=$(NETWORK_SUPPORT_MENU)
701 KCONFIG:=CONFIG_ATM_CLIP
702 FILES:=$(LINUX_DIR)/net/atm/clip.ko
703 AUTOLOAD:=$(call AutoProbe,clip)
706 define KernelPackage/ipoa/description
707 Kernel modules for IPoA (IP over ATM) support
710 $(eval $(call KernelPackage,ipoa))
713 define KernelPackage/mppe
714 SUBMENU:=$(NETWORK_SUPPORT_MENU)
715 TITLE:=Microsoft PPP compression/encryption
716 DEPENDS:=kmod-ppp +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-sha1 +kmod-crypto-ecb
718 CONFIG_PPP_MPPE_MPPC \
720 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_mppe.ko
721 AUTOLOAD:=$(call AutoProbe,ppp_mppe)
724 define KernelPackage/mppe/description
725 Kernel modules for Microsoft PPP compression/encryption
728 $(eval $(call KernelPackage,mppe))
731 SCHED_MODULES = $(patsubst $(LINUX_DIR)/net/sched/%.ko,%,$(wildcard $(LINUX_DIR)/net/sched/*.ko))
732 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
733 SCHED_MODULES_FILTER = $(SCHED_MODULES_CORE) act_connmark sch_esfq
734 SCHED_MODULES_EXTRA = $(filter-out $(SCHED_MODULES_FILTER),$(SCHED_MODULES))
735 SCHED_FILES = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(filter $(SCHED_MODULES_CORE),$(SCHED_MODULES)))
736 SCHED_FILES_EXTRA = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(SCHED_MODULES_EXTRA))
738 define KernelPackage/sched-core
739 SUBMENU:=$(NETWORK_SUPPORT_MENU)
740 TITLE:=Traffic schedulers
743 CONFIG_NET_SCH_HFSC \
744 CONFIG_NET_SCH_INGRESS \
745 CONFIG_NET_SCH_FQ_CODEL \
747 CONFIG_NET_CLS_ACT=y \
748 CONFIG_NET_CLS_FLOW \
750 CONFIG_NET_CLS_ROUTE4 \
751 CONFIG_NET_CLS_TCINDEX \
753 CONFIG_NET_ACT_MIRRED \
754 CONFIG_NET_ACT_SKBEDIT \
755 CONFIG_NET_EMATCH=y \
756 CONFIG_NET_EMATCH_U32
757 FILES:=$(SCHED_FILES)
758 AUTOLOAD:=$(call AutoLoad,70, $(SCHED_MODULES_CORE))
761 define KernelPackage/sched-core/description
762 Core kernel scheduler support for IP traffic
765 $(eval $(call KernelPackage,sched-core))
768 define KernelPackage/sched-connmark
769 SUBMENU:=$(NETWORK_SUPPORT_MENU)
770 TITLE:=Traffic shaper conntrack mark support
771 DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-ipt-conntrack-extra
772 KCONFIG:=CONFIG_NET_ACT_CONNMARK
773 FILES:=$(LINUX_DIR)/net/sched/act_connmark.ko
774 AUTOLOAD:=$(call AutoLoad,71, act_connmark)
776 $(eval $(call KernelPackage,sched-connmark))
778 define KernelPackage/sched-esfq
779 SUBMENU:=$(NETWORK_SUPPORT_MENU)
780 TITLE:=Traffic shaper ESFQ support
781 DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-ipt-conntrack
783 CONFIG_NET_SCH_ESFQ \
784 CONFIG_NET_SCH_ESFQ_NFCT=y
785 FILES:=$(LINUX_DIR)/net/sched/sch_esfq.ko
786 AUTOLOAD:=$(call AutoLoad,72, sch_esfq)
788 $(eval $(call KernelPackage,sched-esfq))
790 define KernelPackage/sched
791 SUBMENU:=$(NETWORK_SUPPORT_MENU)
792 TITLE:=Extra traffic schedulers
793 DEPENDS:=+kmod-sched-core +kmod-ipt-core
795 CONFIG_NET_SCH_CODEL \
796 CONFIG_NET_SCH_DSMARK \
798 CONFIG_NET_SCH_FIFO \
799 CONFIG_NET_SCH_GRED \
800 CONFIG_NET_SCH_PRIO \
804 CONFIG_NET_SCH_TEQL \
805 CONFIG_NET_CLS_BASIC \
806 CONFIG_NET_ACT_POLICE \
808 CONFIG_NET_EMATCH_CMP \
809 CONFIG_NET_EMATCH_NBYTE \
810 CONFIG_NET_EMATCH_META \
811 CONFIG_NET_EMATCH_TEXT
812 FILES:=$(SCHED_FILES_EXTRA)
813 AUTOLOAD:=$(call AutoLoad,73, $(SCHED_MODULES_EXTRA))
816 define KernelPackage/sched/description
817 Extra kernel schedulers modules for IP traffic
820 $(eval $(call KernelPackage,sched))
823 define KernelPackage/ax25
824 SUBMENU:=$(NETWORK_SUPPORT_MENU)
826 DEPENDS:=+kmod-lib-crc16
832 $(LINUX_DIR)/net/ax25/ax25.ko \
833 $(LINUX_DIR)/drivers/net/hamradio/mkiss.ko
834 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
837 define KernelPackage/ax25/description
838 Kernel modules for AX25 support
841 $(eval $(call KernelPackage,ax25))
844 define KernelPackage/pktgen
845 SUBMENU:=$(NETWORK_SUPPORT_MENU)
846 DEPENDS:=@!TARGET_uml
847 TITLE:=Network packet generator
848 KCONFIG:=CONFIG_NET_PKTGEN
849 FILES:=$(LINUX_DIR)/net/core/pktgen.ko
850 AUTOLOAD:=$(call AutoLoad,99,pktgen)
853 define KernelPackage/pktgen/description
854 Kernel modules for the Network Packet Generator
857 $(eval $(call KernelPackage,pktgen))
859 define KernelPackage/l2tp
860 SUBMENU:=$(NETWORK_SUPPORT_MENU)
861 TITLE:=Layer Two Tunneling Protocol (L2TP)
865 +IPV6:kmod-udptunnel6
866 KCONFIG:=CONFIG_L2TP \
868 CONFIG_L2TP_DEBUGFS=n
869 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_core.ko \
870 $(LINUX_DIR)/net/l2tp/l2tp_netlink.ko
871 AUTOLOAD:=$(call AutoLoad,32,l2tp_core l2tp_netlink)
874 define KernelPackage/l2tp/description
875 Kernel modules for L2TP V3 Support
878 $(eval $(call KernelPackage,l2tp))
881 define KernelPackage/l2tp-eth
882 SUBMENU:=$(NETWORK_SUPPORT_MENU)
883 TITLE:=L2TP ethernet pseudowire support for L2TPv3
885 KCONFIG:=CONFIG_L2TP_ETH
886 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_eth.ko
887 AUTOLOAD:=$(call AutoLoad,33,l2tp_eth)
890 define KernelPackage/l2tp-eth/description
891 Kernel modules for L2TP ethernet pseudowire support for L2TPv3
894 $(eval $(call KernelPackage,l2tp-eth))
896 define KernelPackage/l2tp-ip
897 SUBMENU:=$(NETWORK_SUPPORT_MENU)
898 TITLE:=L2TP IP + IPv6 encapsulation for L2TPv3
899 DEPENDS:=+kmod-l2tp +kmod-ipv6
900 KCONFIG:=CONFIG_L2TP_IP
901 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ip.ko $(LINUX_DIR)/net/l2tp/l2tp_ip6.ko
902 AUTOLOAD:=$(call AutoLoad,33,l2tp_ip l2tp_ip6)
905 define KernelPackage/l2tp-ip/description
906 Kernel modules for L2TP IP encapsulation for L2TPv3
909 $(eval $(call KernelPackage,l2tp-ip))
912 define KernelPackage/sctp
913 SUBMENU:=$(NETWORK_SUPPORT_MENU)
914 TITLE:=SCTP protocol kernel support
917 CONFIG_SCTP_DBG_MSG=n \
918 CONFIG_SCTP_DBG_OBJCNT=n \
919 CONFIG_SCTP_HMAC_NONE=n \
920 CONFIG_SCTP_HMAC_SHA1=n \
921 CONFIG_SCTP_HMAC_MD5=y \
922 CONFIG_SCTP_COOKIE_HMAC_SHA1=n \
923 CONFIG_SCTP_COOKIE_HMAC_MD5=y \
924 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE=n \
925 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=n \
926 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
927 FILES:= $(LINUX_DIR)/net/sctp/sctp.ko
928 AUTOLOAD:= $(call AutoLoad,32,sctp)
929 DEPENDS:=+kmod-lib-crc32c +kmod-crypto-md5 +kmod-crypto-hmac +IPV6:kmod-ipv6
932 define KernelPackage/sctp/description
933 Kernel modules for SCTP protocol support
936 $(eval $(call KernelPackage,sctp))
939 define KernelPackage/netem
940 SUBMENU:=$(NETWORK_SUPPORT_MENU)
941 TITLE:=Network emulation functionality
943 KCONFIG:=CONFIG_NET_SCH_NETEM
944 FILES:=$(LINUX_DIR)/net/sched/sch_netem.ko
945 AUTOLOAD:=$(call AutoLoad,99,netem)
948 define KernelPackage/netem/description
949 Kernel modules for emulating the properties of wide area networks
952 $(eval $(call KernelPackage,netem))
954 define KernelPackage/slip
955 SUBMENU:=$(NETWORK_SUPPORT_MENU)
960 CONFIG_SLIP_COMPRESSED=y \
961 CONFIG_SLIP_SMART=y \
962 CONFIG_SLIP_MODE_SLIP6=y
965 $(LINUX_DIR)/drivers/net/slip/slip.ko
966 AUTOLOAD:=$(call AutoLoad,30,slip)
969 define KernelPackage/slip/description
970 Kernel modules for SLIP support
973 $(eval $(call KernelPackage,slip))
975 define KernelPackage/dnsresolver
976 SUBMENU:=$(NETWORK_SUPPORT_MENU)
977 TITLE:=In-kernel DNS Resolver
978 KCONFIG:= CONFIG_DNS_RESOLVER
979 FILES:=$(LINUX_DIR)/net/dns_resolver/dns_resolver.ko
980 AUTOLOAD:=$(call AutoLoad,30,dns_resolver)
983 $(eval $(call KernelPackage,dnsresolver))
985 define KernelPackage/rxrpc
986 SUBMENU:=$(NETWORK_SUPPORT_MENU)
987 TITLE:=AF_RXRPC support
991 CONFIG_AF_RXRPC_DEBUG=n
993 $(LINUX_DIR)/net/rxrpc/af-rxrpc.ko \
994 $(LINUX_DIR)/net/rxrpc/rxkad.ko
995 AUTOLOAD:=$(call AutoLoad,30,rxkad af-rxrpc)
996 DEPENDS:=+kmod-crypto-core +kmod-crypto-manager +kmod-crypto-pcbc +kmod-crypto-fcrypt
999 define KernelPackage/rxrpc/description
1000 Kernel support for AF_RXRPC; required for AFS client
1003 $(eval $(call KernelPackage,rxrpc))