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
163 KCONFIG:=CONFIG_NET_UDP_TUNNEL
164 FILES:=$(LINUX_DIR)/net/ipv6/ip6_udp_tunnel.ko
165 AUTOLOAD:=$(call AutoLoad,32,ip6_udp_tunnel)
168 $(eval $(call KernelPackage,udptunnel6))
171 define KernelPackage/vxlan
172 SUBMENU:=$(NETWORK_SUPPORT_MENU)
173 TITLE:=Native VXLAN Kernel support
177 +IPV6:kmod-udptunnel6
178 KCONFIG:=CONFIG_VXLAN
179 FILES:=$(LINUX_DIR)/drivers/net/vxlan.ko
180 AUTOLOAD:=$(call AutoLoad,13,vxlan)
183 define KernelPackage/vxlan/description
184 Kernel module for supporting VXLAN in the Kernel.
185 Requires Kernel 3.12 or newer.
188 $(eval $(call KernelPackage,vxlan))
190 define KernelPackage/capi
191 SUBMENU:=$(NETWORK_SUPPORT_MENU)
192 TITLE:=CAPI (ISDN) Support
195 CONFIG_ISDN_CAPI_CAPI20 \
197 CONFIG_ISDN_CAPI_CAPIFS
199 $(LINUX_DIR)/drivers/isdn/capi/kernelcapi.ko \
200 $(LINUX_DIR)/drivers/isdn/capi/capi.ko
201 AUTOLOAD:=$(call AutoLoad,30,kernelcapi capi)
204 define KernelPackage/capi/description
205 Kernel module for basic CAPI (ISDN) support
208 $(eval $(call KernelPackage,capi))
210 define KernelPackage/misdn
211 SUBMENU:=$(NETWORK_SUPPORT_MENU)
212 TITLE:=mISDN (ISDN) Support
219 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_core.ko \
220 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_dsp.ko \
221 $(LINUX_DIR)/drivers/isdn/mISDN/l1oip.ko
222 AUTOLOAD:=$(call AutoLoad,30,mISDN_core mISDN_dsp l1oip)
225 define KernelPackage/misdn/description
226 Modular ISDN driver support
229 $(eval $(call KernelPackage,misdn))
232 define KernelPackage/isdn4linux
233 SUBMENU:=$(NETWORK_SUPPORT_MENU)
234 TITLE:=Old ISDN4Linux (deprecated)
240 CONFIG_ISDN_PPP_VJ=y \
242 CONFIG_IPPP_FILTER=y \
243 CONFIG_ISDN_PPP_BSDCOMP \
244 CONFIG_ISDN_CAPI_MIDDLEWARE=y \
245 CONFIG_ISDN_CAPI_CAPIFS_BOOL=y \
246 CONFIG_ISDN_AUDIO=y \
247 CONFIG_ISDN_TTY_FAX=y \
249 CONFIG_ISDN_DIVERSION
251 $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.ko \
252 $(LINUX_DIR)/drivers/isdn/i4l/isdn.ko \
253 $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.ko
254 AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert)
257 define KernelPackage/isdn4linux/description
258 This driver allows you to use an ISDN adapter for networking
261 $(eval $(call KernelPackage,isdn4linux))
264 define KernelPackage/ipip
265 SUBMENU:=$(NETWORK_SUPPORT_MENU)
266 TITLE:=IP-in-IP encapsulation
267 DEPENDS:=+kmod-iptunnel +kmod-iptunnel4
268 KCONFIG:=CONFIG_NET_IPIP
269 FILES:=$(LINUX_DIR)/net/ipv4/ipip.ko
270 AUTOLOAD:=$(call AutoLoad,32,ipip)
273 define KernelPackage/ipip/description
274 Kernel modules for IP-in-IP encapsulation
277 $(eval $(call KernelPackage,ipip))
286 define KernelPackage/ipsec
287 SUBMENU:=$(NETWORK_SUPPORT_MENU)
288 TITLE:=IPsec related modules (IPv4 and IPv6)
289 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
295 FILES:=$(foreach mod,$(IPSEC-m),$(LINUX_DIR)/net/$(mod).ko)
296 AUTOLOAD:=$(call AutoLoad,30,$(notdir $(IPSEC-m)))
299 define KernelPackage/ipsec/description
300 Kernel modules for IPsec support in both IPv4 and IPv6.
307 $(eval $(call KernelPackage,ipsec))
313 ipv4/xfrm4_mode_beet \
314 ipv4/xfrm4_mode_transport \
315 ipv4/xfrm4_mode_tunnel \
319 define KernelPackage/ipsec4
320 SUBMENU:=$(NETWORK_SUPPORT_MENU)
321 TITLE:=IPsec related modules (IPv4)
322 DEPENDS:=kmod-ipsec +kmod-iptunnel4
327 CONFIG_INET_XFRM_MODE_BEET \
328 CONFIG_INET_XFRM_MODE_TRANSPORT \
329 CONFIG_INET_XFRM_MODE_TUNNEL \
330 CONFIG_INET_XFRM_TUNNEL
331 FILES:=$(foreach mod,$(IPSEC4-m),$(LINUX_DIR)/net/$(mod).ko)
332 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC4-m)))
335 define KernelPackage/ipsec4/description
336 Kernel modules for IPsec support in IPv4.
342 - xfrm4_mode_transport
347 $(eval $(call KernelPackage,ipsec4))
353 ipv6/xfrm6_mode_beet \
354 ipv6/xfrm6_mode_transport \
355 ipv6/xfrm6_mode_tunnel \
359 define KernelPackage/ipsec6
360 SUBMENU:=$(NETWORK_SUPPORT_MENU)
361 TITLE:=IPsec related modules (IPv6)
362 DEPENDS:=kmod-ipsec +kmod-iptunnel6
366 CONFIG_INET6_IPCOMP \
367 CONFIG_INET6_XFRM_MODE_BEET \
368 CONFIG_INET6_XFRM_MODE_TRANSPORT \
369 CONFIG_INET6_XFRM_MODE_TUNNEL \
370 CONFIG_INET6_XFRM_TUNNEL
371 FILES:=$(foreach mod,$(IPSEC6-m),$(LINUX_DIR)/net/$(mod).ko)
372 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC6-m)))
375 define KernelPackage/ipsec6/description
376 Kernel modules for IPsec support in IPv6.
382 - xfrm6_mode_transport
387 $(eval $(call KernelPackage,ipsec6))
390 define KernelPackage/iptunnel
391 SUBMENU:=$(NETWORK_SUPPORT_MENU)
392 TITLE:=IP tunnel support
396 FILES:=$(LINUX_DIR)/net/ipv4/ip_tunnel.ko
397 AUTOLOAD:=$(call AutoLoad,31,ip_tunnel)
400 define KernelPackage/iptunnel/description
401 Kernel module for generic IP tunnel support
404 $(eval $(call KernelPackage,iptunnel))
407 define KernelPackage/ipvti
408 SUBMENU:=$(NETWORK_SUPPORT_MENU)
409 TITLE:=IP VTI (Virtual Tunnel Interface)
410 DEPENDS:=+kmod-iptunnel +kmod-iptunnel4 +kmod-ipsec4
411 KCONFIG:=CONFIG_NET_IPVTI
412 FILES:=$(LINUX_DIR)/net/ipv4/ip_vti.ko
413 AUTOLOAD:=$(call AutoLoad,33,ip_vti)
416 define KernelPackage/ipvti/description
417 Kernel modules for IP VTI (Virtual Tunnel Interface)
420 $(eval $(call KernelPackage,ipvti))
423 define KernelPackage/iptunnel4
424 SUBMENU:=$(NETWORK_SUPPORT_MENU)
425 TITLE:=IPv4 tunneling
429 FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.ko
430 AUTOLOAD:=$(call AutoLoad,31,tunnel4)
433 define KernelPackage/iptunnel4/description
434 Kernel modules for IPv4 tunneling
437 $(eval $(call KernelPackage,iptunnel4))
440 define KernelPackage/iptunnel6
441 SUBMENU:=$(NETWORK_SUPPORT_MENU)
442 TITLE:=IPv6 tunneling
446 FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.ko
447 AUTOLOAD:=$(call AutoLoad,31,tunnel6)
450 define KernelPackage/iptunnel6/description
451 Kernel modules for IPv6 tunneling
454 $(eval $(call KernelPackage,iptunnel6))
457 define KernelPackage/sit
458 SUBMENU:=$(NETWORK_SUPPORT_MENU)
459 DEPENDS:=@IPV6 +kmod-iptunnel +kmod-iptunnel4
460 TITLE:=IPv6-in-IPv4 tunnel
461 KCONFIG:=CONFIG_IPV6_SIT \
462 CONFIG_IPV6_SIT_6RD=y
463 FILES:=$(LINUX_DIR)/net/ipv6/sit.ko
464 AUTOLOAD:=$(call AutoLoad,32,sit)
467 define KernelPackage/sit/description
468 Kernel modules for IPv6-in-IPv4 tunnelling
471 $(eval $(call KernelPackage,sit))
474 define KernelPackage/ip6-tunnel
475 SUBMENU:=$(NETWORK_SUPPORT_MENU)
476 TITLE:=IP-in-IPv6 tunnelling
477 DEPENDS:=@IPV6 +kmod-iptunnel6
478 KCONFIG:= CONFIG_IPV6_TUNNEL
479 FILES:=$(LINUX_DIR)/net/ipv6/ip6_tunnel.ko
480 AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
483 define KernelPackage/ip6-tunnel/description
484 Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
487 $(eval $(call KernelPackage,ip6-tunnel))
490 define KernelPackage/gre
491 SUBMENU:=$(NETWORK_SUPPORT_MENU)
493 DEPENDS:=+kmod-iptunnel
494 KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
495 FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
496 AUTOLOAD:=$(call AutoLoad,39,gre ip_gre)
499 define KernelPackage/gre/description
500 Generic Routing Encapsulation support
503 $(eval $(call KernelPackage,gre))
506 define KernelPackage/gre6
507 SUBMENU:=$(NETWORK_SUPPORT_MENU)
508 TITLE:=GRE support over IPV6
509 DEPENDS:=@IPV6 +kmod-iptunnel +kmod-ip6-tunnel
510 KCONFIG:=CONFIG_IPV6_GRE
511 FILES:=$(LINUX_DIR)/net/ipv6/ip6_gre.ko
512 AUTOLOAD:=$(call AutoLoad,39,ip6_gre)
515 define KernelPackage/gre6/description
516 Generic Routing Encapsulation support over IPv6
519 $(eval $(call KernelPackage,gre6))
522 define KernelPackage/tun
523 SUBMENU:=$(NETWORK_SUPPORT_MENU)
524 TITLE:=Universal TUN/TAP driver
526 FILES:=$(LINUX_DIR)/drivers/net/tun.ko
527 AUTOLOAD:=$(call AutoLoad,30,tun)
530 define KernelPackage/tun/description
531 Kernel support for the TUN/TAP tunneling device
534 $(eval $(call KernelPackage,tun))
537 define KernelPackage/veth
538 SUBMENU:=$(NETWORK_SUPPORT_MENU)
539 TITLE:=Virtual ethernet pair device
541 FILES:=$(LINUX_DIR)/drivers/net/veth.ko
542 AUTOLOAD:=$(call AutoLoad,30,veth)
545 define KernelPackage/veth/description
546 This device is a local ethernet tunnel. Devices are created in pairs.
547 When one end receives the packet it appears on its pair and vice
551 $(eval $(call KernelPackage,veth))
554 define KernelPackage/slhc
555 SUBMENU:=$(NETWORK_SUPPORT_MENU)
557 TITLE:=Serial Line Header Compression
558 DEPENDS:=+kmod-lib-crc-ccitt
560 FILES:=$(LINUX_DIR)/drivers/net/slip/slhc.ko
563 $(eval $(call KernelPackage,slhc))
566 define KernelPackage/ppp
567 SUBMENU:=$(NETWORK_SUPPORT_MENU)
569 DEPENDS:=+kmod-lib-crc-ccitt +kmod-slhc
574 $(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \
575 $(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko
576 AUTOLOAD:=$(call AutoProbe,ppp_async)
579 define KernelPackage/ppp/description
580 Kernel modules for PPP support
583 $(eval $(call KernelPackage,ppp))
586 define KernelPackage/ppp-synctty
587 SUBMENU:=$(NETWORK_SUPPORT_MENU)
588 TITLE:=PPP sync tty support
590 KCONFIG:=CONFIG_PPP_SYNC_TTY
591 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_synctty.ko
592 AUTOLOAD:=$(call AutoProbe,ppp_synctty)
595 define KernelPackage/ppp-synctty/description
596 Kernel modules for PPP sync tty support
599 $(eval $(call KernelPackage,ppp-synctty))
602 define KernelPackage/pppox
603 SUBMENU:=$(NETWORK_SUPPORT_MENU)
606 KCONFIG:=CONFIG_PPPOE
607 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppox.ko
610 define KernelPackage/pppox/description
611 Kernel helper module for PPPoE and PPTP support
614 $(eval $(call KernelPackage,pppox))
617 define KernelPackage/pppoe
618 SUBMENU:=$(NETWORK_SUPPORT_MENU)
620 DEPENDS:=kmod-ppp +kmod-pppox
621 KCONFIG:=CONFIG_PPPOE
622 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppoe.ko
623 AUTOLOAD:=$(call AutoProbe,pppoe)
626 define KernelPackage/pppoe/description
627 Kernel module for PPPoE (PPP over Ethernet) support
630 $(eval $(call KernelPackage,pppoe))
633 define KernelPackage/pppoa
634 SUBMENU:=$(NETWORK_SUPPORT_MENU)
636 DEPENDS:=kmod-ppp +kmod-atm
637 KCONFIG:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS=y
638 FILES:=$(LINUX_DIR)/net/atm/pppoatm.ko
639 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
642 define KernelPackage/pppoa/description
643 Kernel modules for PPPoA (PPP over ATM) support
646 $(eval $(call KernelPackage,pppoa))
649 define KernelPackage/pptp
650 SUBMENU:=$(NETWORK_SUPPORT_MENU)
652 DEPENDS:=kmod-ppp +kmod-gre +kmod-pppox
654 FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko
655 AUTOLOAD:=$(call AutoProbe,pptp)
658 $(eval $(call KernelPackage,pptp))
661 define KernelPackage/pppol2tp
662 SUBMENU:=$(NETWORK_SUPPORT_MENU)
663 TITLE:=PPPoL2TP support
664 DEPENDS:=kmod-ppp +kmod-pppox +kmod-l2tp
665 KCONFIG:=CONFIG_PPPOL2TP
666 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ppp.ko
667 AUTOLOAD:=$(call AutoProbe,l2tp_ppp)
670 define KernelPackage/pppol2tp/description
671 Kernel modules for PPPoL2TP (PPP over L2TP) support
674 $(eval $(call KernelPackage,pppol2tp))
677 define KernelPackage/ipoa
678 SUBMENU:=$(NETWORK_SUPPORT_MENU)
681 KCONFIG:=CONFIG_ATM_CLIP
682 FILES:=$(LINUX_DIR)/net/atm/clip.ko
683 AUTOLOAD:=$(call AutoProbe,clip)
686 define KernelPackage/ipoa/description
687 Kernel modules for IPoA (IP over ATM) support
690 $(eval $(call KernelPackage,ipoa))
693 define KernelPackage/mppe
694 SUBMENU:=$(NETWORK_SUPPORT_MENU)
695 TITLE:=Microsoft PPP compression/encryption
696 DEPENDS:=kmod-ppp +kmod-crypto-sha1 +kmod-crypto-ecb
698 CONFIG_PPP_MPPE_MPPC \
700 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_mppe.ko
701 AUTOLOAD:=$(call AutoProbe,ppp_mppe)
704 define KernelPackage/mppe/description
705 Kernel modules for Microsoft PPP compression/encryption
708 $(eval $(call KernelPackage,mppe))
711 SCHED_MODULES = $(patsubst $(LINUX_DIR)/net/sched/%.ko,%,$(wildcard $(LINUX_DIR)/net/sched/*.ko))
712 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
713 SCHED_MODULES_FILTER = $(SCHED_MODULES_CORE) act_connmark sch_esfq sch_netem
714 SCHED_MODULES_EXTRA = $(filter-out $(SCHED_MODULES_FILTER),$(SCHED_MODULES))
715 SCHED_FILES = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(filter $(SCHED_MODULES_CORE),$(SCHED_MODULES)))
716 SCHED_FILES_EXTRA = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(SCHED_MODULES_EXTRA))
718 define KernelPackage/sched-core
719 SUBMENU:=$(NETWORK_SUPPORT_MENU)
720 TITLE:=Traffic schedulers
723 CONFIG_NET_SCH_HFSC \
724 CONFIG_NET_SCH_INGRESS \
725 CONFIG_NET_SCH_FQ_CODEL \
727 CONFIG_NET_CLS_ACT=y \
728 CONFIG_NET_CLS_FLOW \
730 CONFIG_NET_CLS_ROUTE4 \
731 CONFIG_NET_CLS_TCINDEX \
733 CONFIG_NET_ACT_MIRRED \
734 CONFIG_NET_ACT_SKBEDIT \
735 CONFIG_NET_EMATCH=y \
736 CONFIG_NET_EMATCH_U32
737 FILES:=$(SCHED_FILES)
738 AUTOLOAD:=$(call AutoLoad,70, $(SCHED_MODULES_CORE))
741 define KernelPackage/sched-core/description
742 Core kernel scheduler support for IP traffic
745 $(eval $(call KernelPackage,sched-core))
748 define KernelPackage/sched-connmark
749 SUBMENU:=$(NETWORK_SUPPORT_MENU)
750 TITLE:=Traffic shaper conntrack mark support
751 DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-ipt-conntrack-extra
752 KCONFIG:=CONFIG_NET_ACT_CONNMARK
753 FILES:=$(LINUX_DIR)/net/sched/act_connmark.ko
754 AUTOLOAD:=$(call AutoLoad,71, act_connmark)
756 $(eval $(call KernelPackage,sched-connmark))
758 define KernelPackage/sched-esfq
759 SUBMENU:=$(NETWORK_SUPPORT_MENU)
760 TITLE:=Traffic shaper ESFQ support
761 DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-ipt-conntrack
763 CONFIG_NET_SCH_ESFQ \
764 CONFIG_NET_SCH_ESFQ_NFCT=y
765 FILES:=$(LINUX_DIR)/net/sched/sch_esfq.ko
766 AUTOLOAD:=$(call AutoLoad,72, sch_esfq)
768 $(eval $(call KernelPackage,sched-esfq))
770 define KernelPackage/sched
771 SUBMENU:=$(NETWORK_SUPPORT_MENU)
772 TITLE:=Extra traffic schedulers
773 DEPENDS:=+kmod-sched-core +kmod-ipt-core
775 CONFIG_NET_SCH_CODEL \
776 CONFIG_NET_SCH_DSMARK \
778 CONFIG_NET_SCH_FIFO \
779 CONFIG_NET_SCH_GRED \
780 CONFIG_NET_SCH_PRIO \
784 CONFIG_NET_SCH_TEQL \
787 CONFIG_NET_CLS_BASIC \
788 CONFIG_NET_ACT_POLICE \
790 CONFIG_NET_EMATCH_CMP \
791 CONFIG_NET_EMATCH_NBYTE \
792 CONFIG_NET_EMATCH_META \
793 CONFIG_NET_EMATCH_TEXT
794 FILES:=$(SCHED_FILES_EXTRA)
795 AUTOLOAD:=$(call AutoLoad,73, $(SCHED_MODULES_EXTRA))
798 define KernelPackage/sched/description
799 Extra kernel schedulers modules for IP traffic
802 $(eval $(call KernelPackage,sched))
805 define KernelPackage/ax25
806 SUBMENU:=$(NETWORK_SUPPORT_MENU)
808 DEPENDS:=+kmod-lib-crc16
814 $(LINUX_DIR)/net/ax25/ax25.ko \
815 $(LINUX_DIR)/drivers/net/hamradio/mkiss.ko
816 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
819 define KernelPackage/ax25/description
820 Kernel modules for AX25 support
823 $(eval $(call KernelPackage,ax25))
826 define KernelPackage/pktgen
827 SUBMENU:=$(NETWORK_SUPPORT_MENU)
828 DEPENDS:=@!TARGET_uml
829 TITLE:=Network packet generator
830 KCONFIG:=CONFIG_NET_PKTGEN
831 FILES:=$(LINUX_DIR)/net/core/pktgen.ko
832 AUTOLOAD:=$(call AutoLoad,99,pktgen)
835 define KernelPackage/pktgen/description
836 Kernel modules for the Network Packet Generator
839 $(eval $(call KernelPackage,pktgen))
841 define KernelPackage/l2tp
842 SUBMENU:=$(NETWORK_SUPPORT_MENU)
843 TITLE:=Layer Two Tunneling Protocol (L2TP)
846 +IPV6:kmod-udptunnel6
847 KCONFIG:=CONFIG_L2TP \
849 CONFIG_L2TP_DEBUGFS=n
850 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_core.ko \
851 $(LINUX_DIR)/net/l2tp/l2tp_netlink.ko
852 AUTOLOAD:=$(call AutoLoad,32,l2tp_core l2tp_netlink)
855 define KernelPackage/l2tp/description
856 Kernel modules for L2TP V3 Support
859 $(eval $(call KernelPackage,l2tp))
862 define KernelPackage/l2tp-eth
863 SUBMENU:=$(NETWORK_SUPPORT_MENU)
864 TITLE:=L2TP ethernet pseudowire support for L2TPv3
866 KCONFIG:=CONFIG_L2TP_ETH
867 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_eth.ko
868 AUTOLOAD:=$(call AutoLoad,33,l2tp_eth)
871 define KernelPackage/l2tp-eth/description
872 Kernel modules for L2TP ethernet pseudowire support for L2TPv3
875 $(eval $(call KernelPackage,l2tp-eth))
877 define KernelPackage/l2tp-ip
878 SUBMENU:=$(NETWORK_SUPPORT_MENU)
879 TITLE:=L2TP IP encapsulation for L2TPv3
881 KCONFIG:=CONFIG_L2TP_IP
883 $(LINUX_DIR)/net/l2tp/l2tp_ip.ko \
884 $(if $(CONFIG_IPV6),$(LINUX_DIR)/net/l2tp/l2tp_ip6.ko)
885 AUTOLOAD:=$(call AutoLoad,33,l2tp_ip $(if $(CONFIG_IPV6),l2tp_ip6))
888 define KernelPackage/l2tp-ip/description
889 Kernel modules for L2TP IP encapsulation for L2TPv3
892 $(eval $(call KernelPackage,l2tp-ip))
895 define KernelPackage/sctp
896 SUBMENU:=$(NETWORK_SUPPORT_MENU)
897 TITLE:=SCTP protocol kernel support
900 CONFIG_SCTP_DBG_MSG=n \
901 CONFIG_SCTP_DBG_OBJCNT=n \
902 CONFIG_SCTP_HMAC_NONE=n \
903 CONFIG_SCTP_HMAC_SHA1=n \
904 CONFIG_SCTP_HMAC_MD5=y \
905 CONFIG_SCTP_COOKIE_HMAC_SHA1=n \
906 CONFIG_SCTP_COOKIE_HMAC_MD5=y \
907 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE=n \
908 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=n \
909 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
910 FILES:= $(LINUX_DIR)/net/sctp/sctp.ko
911 AUTOLOAD:= $(call AutoLoad,32,sctp)
912 DEPENDS:=+kmod-lib-crc32c +kmod-crypto-md5 +kmod-crypto-hmac
915 define KernelPackage/sctp/description
916 Kernel modules for SCTP protocol support
919 $(eval $(call KernelPackage,sctp))
922 define KernelPackage/netem
923 SUBMENU:=$(NETWORK_SUPPORT_MENU)
924 TITLE:=Network emulation functionality
926 KCONFIG:=CONFIG_NET_SCH_NETEM
927 FILES:=$(LINUX_DIR)/net/sched/sch_netem.ko
928 AUTOLOAD:=$(call AutoLoad,99,netem)
931 define KernelPackage/netem/description
932 Kernel modules for emulating the properties of wide area networks
935 $(eval $(call KernelPackage,netem))
937 define KernelPackage/slip
938 SUBMENU:=$(NETWORK_SUPPORT_MENU)
943 CONFIG_SLIP_COMPRESSED=y \
944 CONFIG_SLIP_SMART=y \
945 CONFIG_SLIP_MODE_SLIP6=y
948 $(LINUX_DIR)/drivers/net/slip/slip.ko
949 AUTOLOAD:=$(call AutoLoad,30,slip)
952 define KernelPackage/slip/description
953 Kernel modules for SLIP support
956 $(eval $(call KernelPackage,slip))
958 define KernelPackage/dnsresolver
959 SUBMENU:=$(NETWORK_SUPPORT_MENU)
960 TITLE:=In-kernel DNS Resolver
961 KCONFIG:= CONFIG_DNS_RESOLVER
962 FILES:=$(LINUX_DIR)/net/dns_resolver/dns_resolver.ko
963 AUTOLOAD:=$(call AutoLoad,30,dns_resolver)
966 $(eval $(call KernelPackage,dnsresolver))
968 define KernelPackage/rxrpc
969 SUBMENU:=$(NETWORK_SUPPORT_MENU)
970 TITLE:=AF_RXRPC support
975 CONFIG_AF_RXRPC_DEBUG=n
977 $(LINUX_DIR)/net/rxrpc/af-rxrpc.ko \
978 $(LINUX_DIR)/net/rxrpc/rxkad.ko
979 AUTOLOAD:=$(call AutoLoad,30,rxkad af-rxrpc)
980 DEPENDS:= +kmod-crypto-manager +kmod-crypto-pcbc +kmod-crypto-fcrypt
983 define KernelPackage/rxrpc/description
984 Kernel support for AF_RXRPC; required for AFS client
987 $(eval $(call KernelPackage,rxrpc))