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 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,3.0)),1)
156 AUTOLOAD
:=$(call AutoLoad
,30,kernelcapi capi
)
158 FILES
+= $(LINUX_DIR
)/drivers
/isdn
/capi
/capifs.ko
159 AUTOLOAD
:=$(call AutoLoad
,30,kernelcapi capifs capi
)
163 define KernelPackage
/capi
/description
164 Kernel module for basic CAPI
(ISDN
) support
167 $(eval
$(call KernelPackage
,capi
))
169 define KernelPackage
/misdn
170 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
171 TITLE
:=mISDN
(ISDN
) Support
178 $(LINUX_DIR
)/drivers
/isdn
/mISDN
/mISDN_core.ko \
179 $(LINUX_DIR
)/drivers
/isdn
/mISDN
/mISDN_dsp.ko \
180 $(LINUX_DIR
)/drivers
/isdn
/mISDN
/l1oip.ko
181 AUTOLOAD
:=$(call AutoLoad
,30,mISDN_core mISDN_dsp l1oip
)
184 define KernelPackage
/misdn
/description
185 Modular ISDN driver support
188 $(eval
$(call KernelPackage
,misdn
))
191 define KernelPackage
/isdn4linux
192 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
193 TITLE
:=Old ISDN4Linux
(deprecated
)
198 CONFIG_ISDN_PPP_VJ
=y \
200 CONFIG_IPPP_FILTER
=y \
201 CONFIG_ISDN_PPP_BSDCOMP \
202 CONFIG_ISDN_CAPI_MIDDLEWARE
=y \
203 CONFIG_ISDN_CAPI_CAPIFS_BOOL
=y \
204 CONFIG_ISDN_AUDIO
=y \
205 CONFIG_ISDN_TTY_FAX
=y \
207 CONFIG_ISDN_DIVERSION
209 $(LINUX_DIR
)/drivers
/isdn
/divert
/dss1_divert.ko \
210 $(LINUX_DIR
)/drivers
/isdn
/i4l
/isdn.ko \
211 $(LINUX_DIR
)/drivers
/isdn
/i4l
/isdn_bsdcomp.ko
212 AUTOLOAD
:=$(call AutoLoad
,40,isdn isdn_bsdcomp dss1_divert
)
215 define KernelPackage
/isdn4linux
/description
216 This driver allows you to use an ISDN adapter for networking
219 $(eval
$(call KernelPackage
,isdn4linux
))
222 define KernelPackage
/ipip
223 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
224 TITLE
:=IP-in-IP encapsulation
225 DEPENDS
:=+kmod-iptunnel4
226 KCONFIG
:=CONFIG_NET_IPIP
227 FILES
:=$(LINUX_DIR
)/net
/ipv4
/ipip.ko
228 AUTOLOAD
:=$(call AutoLoad
,32,ipip
)
231 define KernelPackage
/ipip
/description
232 Kernel modules for IP-in-IP encapsulation
235 $(eval
$(call KernelPackage
,ipip
))
243 define KernelPackage
/ipsec
244 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
245 TITLE
:=IPsec related modules
(IPv4 and IPv6
)
246 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
252 FILES
:=$(foreach mod
,$(IPSEC-m
),$(LINUX_DIR
)/net
/$(mod
).ko
)
253 AUTOLOAD
:=$(call AutoLoad
,30,$(notdir $(IPSEC-m
)))
256 define KernelPackage
/ipsec
/description
257 Kernel modules for IPsec support in both IPv4 and IPv6.
264 $(eval
$(call KernelPackage
,ipsec
))
270 ipv4
/xfrm4_mode_beet \
271 ipv4
/xfrm4_mode_transport \
272 ipv4
/xfrm4_mode_tunnel \
276 define KernelPackage
/ipsec4
277 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
278 TITLE
:=IPsec related modules
(IPv4
)
279 DEPENDS
:=kmod-ipsec
+kmod-iptunnel4
284 CONFIG_INET_XFRM_MODE_BEET \
285 CONFIG_INET_XFRM_MODE_TRANSPORT \
286 CONFIG_INET_XFRM_MODE_TUNNEL \
287 CONFIG_INET_XFRM_TUNNEL
288 FILES
:=$(foreach mod
,$(IPSEC4-m
),$(LINUX_DIR
)/net
/$(mod
).ko
)
289 AUTOLOAD
:=$(call AutoLoad
,32,$(notdir $(IPSEC4-m
)))
292 define KernelPackage
/ipsec4
/description
293 Kernel modules for IPsec support in IPv4.
299 - xfrm4_mode_transport
304 $(eval
$(call KernelPackage
,ipsec4
))
310 ipv6
/xfrm6_mode_beet \
311 ipv6
/xfrm6_mode_transport \
312 ipv6
/xfrm6_mode_tunnel \
316 define KernelPackage
/ipsec6
317 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
318 TITLE
:=IPsec related modules
(IPv6
)
319 DEPENDS
:=kmod-ipsec
+kmod-iptunnel6
323 CONFIG_INET6_IPCOMP \
324 CONFIG_INET6_XFRM_MODE_BEET \
325 CONFIG_INET6_XFRM_MODE_TRANSPORT \
326 CONFIG_INET6_XFRM_MODE_TUNNEL \
327 CONFIG_INET6_XFRM_TUNNEL
328 FILES
:=$(foreach mod
,$(IPSEC6-m
),$(LINUX_DIR
)/net
/$(mod
).ko
)
329 AUTOLOAD
:=$(call AutoLoad
,32,$(notdir $(IPSEC6-m
)))
332 define KernelPackage
/ipsec6
/description
333 Kernel modules for IPsec support in IPv6.
339 - xfrm6_mode_transport
344 $(eval
$(call KernelPackage
,ipsec6
))
347 # NOTE: tunnel4 is not selectable by itself, so enable ipip for that
348 define KernelPackage
/iptunnel4
349 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
350 TITLE
:=IPv4 tunneling
354 FILES
:=$(LINUX_DIR
)/net
/ipv4
/tunnel4.ko
355 AUTOLOAD
:=$(call AutoLoad
,31,tunnel4
)
358 define KernelPackage
/iptunnel4
/description
359 Kernel modules for IPv4 tunneling
362 $(eval
$(call KernelPackage
,iptunnel4
))
365 define KernelPackage
/iptunnel6
366 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
367 TITLE
:=IPv6 tunneling
371 FILES
:=$(LINUX_DIR
)/net
/ipv6
/tunnel6.ko
372 AUTOLOAD
:=$(call AutoLoad
,31,tunnel6
)
375 define KernelPackage
/iptunnel6
/description
376 Kernel modules for IPv6 tunneling
379 $(eval
$(call KernelPackage
,iptunnel6
))
382 define KernelPackage
/ipv6
383 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
387 CONFIG_IPV6_PRIVACY
=y \
388 CONFIG_IPV6_MULTIPLE_TABLES
=y \
389 CONFIG_IPV6_MROUTE
=y \
390 CONFIG_IPV6_PIMSM_V2
=n \
391 CONFIG_IPV6_SUBTREES
=y
392 FILES
:=$(LINUX_DIR
)/net
/ipv6
/ipv6.ko
393 AUTOLOAD
:=$(call AutoLoad
,20,ipv6
)
396 define KernelPackage
/ipv6
/description
397 Kernel modules for IPv6 support
400 $(eval
$(call KernelPackage
,ipv6
))
403 define KernelPackage
/sit
404 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
405 DEPENDS
:=+kmod-ipv6
+kmod-iptunnel4
406 TITLE
:=IPv6-in-IPv4 tunnel
407 KCONFIG
:=CONFIG_IPV6_SIT \
408 CONFIG_IPV6_SIT_6RD
=y
409 FILES
:=$(LINUX_DIR
)/net
/ipv6
/sit.ko
410 AUTOLOAD
:=$(call AutoLoad
,32,sit
)
413 define KernelPackage
/sit
/description
414 Kernel modules for IPv6-in-IPv4 tunnelling
417 $(eval
$(call KernelPackage
,sit
))
420 define KernelPackage
/ip6-tunnel
421 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
422 TITLE
:=IP-in-IPv6 tunnelling
423 DEPENDS
:= +kmod-ipv6
+kmod-iptunnel6
424 KCONFIG
:= CONFIG_IPV6_TUNNEL
425 FILES
:=$(LINUX_DIR
)/net
/ipv6
/ip6_tunnel.ko
426 AUTOLOAD
:=$(call AutoLoad
,32,ip6_tunnel
)
429 define KernelPackage
/ip6-tunnel
/description
430 Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
433 $(eval
$(call KernelPackage
,ip6-tunnel
))
436 define KernelPackage
/gre
437 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
439 DEPENDS
:=+PACKAGE_kmod-ipv6
:kmod-ipv6
440 KCONFIG
:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
441 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.37)),1)
442 FILES
:=$(LINUX_DIR
)/net
/ipv4
/ip_gre.ko
$(LINUX_DIR
)/net
/ipv4
/gre.ko
443 AUTOLOAD
:=$(call AutoLoad
,39,gre ip_gre
)
445 FILES
:=$(LINUX_DIR
)/net
/ipv4
/ip_gre.ko
446 AUTOLOAD
:=$(call AutoLoad
,39,ip_gre
)
450 define KernelPackage
/gre
/description
451 Generic Routing Encapsulation support
454 $(eval
$(call KernelPackage
,gre
))
457 define KernelPackage
/tun
458 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
459 TITLE
:=Universal TUN
/TAP driver
461 FILES
:=$(LINUX_DIR
)/drivers
/net
/tun.ko
462 AUTOLOAD
:=$(call AutoLoad
,30,tun
)
465 define KernelPackage
/tun
/description
466 Kernel support for the TUN
/TAP tunneling device
469 $(eval
$(call KernelPackage
,tun
))
472 define KernelPackage
/ppp
473 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
475 DEPENDS
:=+kmod-lib-crc-ccitt
480 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,3.2)),1)
482 $(LINUX_DIR
)/drivers
/net
/ppp
/ppp_async.ko \
483 $(LINUX_DIR
)/drivers
/net
/ppp
/ppp_generic.ko \
484 $(LINUX_DIR
)/drivers
/net
/slip
/slhc.ko
487 $(LINUX_DIR
)/drivers
/net
/ppp_async.ko \
488 $(LINUX_DIR
)/drivers
/net
/ppp_generic.ko \
489 $(LINUX_DIR
)/drivers
/net
/slhc.ko
491 AUTOLOAD
:=$(call AutoLoad
,30,slhc ppp_generic ppp_async
)
494 define KernelPackage
/ppp
/description
495 Kernel modules for PPP support
498 $(eval
$(call KernelPackage
,ppp
))
501 define KernelPackage
/ppp-synctty
502 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
503 TITLE
:=PPP sync tty support
505 KCONFIG
:=CONFIG_PPP_SYNC_TTY
506 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,3.2)),1)
507 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp
/ppp_synctty.ko
509 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_synctty.ko
511 AUTOLOAD
:=$(call AutoLoad
,40,ppp_synctty
)
514 define KernelPackage
/ppp-synctty
/description
515 Kernel modules for PPP sync tty support
518 $(eval
$(call KernelPackage
,ppp-synctty
))
521 define KernelPackage
/pppoe
522 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
525 KCONFIG
:=CONFIG_PPPOE
526 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,3.2)),1)
528 $(LINUX_DIR
)/drivers
/net
/ppp
/pppoe.ko \
529 $(LINUX_DIR
)/drivers
/net
/ppp
/pppox.ko
532 $(LINUX_DIR
)/drivers
/net
/pppoe.ko \
533 $(LINUX_DIR
)/drivers
/net
/pppox.ko
535 AUTOLOAD
:=$(call AutoLoad
,40,pppox pppoe
)
538 define KernelPackage
/pppoe
/description
539 Kernel modules for PPPoE
(PPP over Ethernet
) support
542 $(eval
$(call KernelPackage
,pppoe
))
545 define KernelPackage
/pppoa
546 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
548 DEPENDS
:=kmod-ppp
+kmod-atm
549 KCONFIG
:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS
=y
550 FILES
:=$(LINUX_DIR
)/net
/atm
/pppoatm.ko
551 AUTOLOAD
:=$(call AutoLoad
,40,pppoatm
)
554 define KernelPackage
/pppoa
/description
555 Kernel modules for PPPoA
(PPP over ATM
) support
558 $(eval
$(call KernelPackage
,pppoa
))
561 define KernelPackage
/pptp
562 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
564 DEPENDS
:=kmod-ppp
+kmod-gre
566 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,3.2)),1)
567 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp
/pptp.ko
569 FILES
:=$(LINUX_DIR
)/drivers
/net
/pptp.ko
571 AUTOLOAD
:=$(call AutoLoad
,41,pptp
)
574 $(eval
$(call KernelPackage
,pptp
))
577 define KernelPackage
/pppol2tp
578 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
579 TITLE
:=PPPoL2TP support
580 DEPENDS
:=kmod-ppp
+kmod-pppoe
+kmod-l2tp
581 KCONFIG
:=CONFIG_PPPOL2TP
582 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,2.6.35)),1)
583 FILES
:=$(LINUX_DIR
)/net
/l2tp
/l2tp_ppp.ko
584 AUTOLOAD
:=$(call AutoLoad
,40,l2tp_ppp
)
586 FILES
:=$(LINUX_DIR
)/drivers
/net
/pppol2tp.ko
587 AUTOLOAD
:=$(call AutoLoad
,40,pppol2tp
)
591 define KernelPackage
/pppol2tp
/description
592 Kernel modules for PPPoL2TP
(PPP over L2TP
) support
595 $(eval
$(call KernelPackage
,pppol2tp
))
598 define KernelPackage
/ipoa
599 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
602 KCONFIG
:=CONFIG_ATM_CLIP
603 FILES
:=$(LINUX_DIR
)/net
/atm
/clip.ko
604 AUTOLOAD
:=$(call AutoLoad
,40,clip
)
607 define KernelPackage
/ipoa
/description
608 Kernel modules for IPoA
(IP over ATM
) support
611 $(eval
$(call KernelPackage
,ipoa
))
614 define KernelPackage
/mppe
615 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
616 TITLE
:=Microsoft PPP compression
/encryption
617 DEPENDS
:=kmod-ppp
+kmod-crypto-core
+kmod-crypto-arc4
+kmod-crypto-sha1
+kmod-crypto-ecb
619 CONFIG_PPP_MPPE_MPPC \
621 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,3.2)),1)
622 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp
/ppp_mppe.ko
624 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_mppe.ko
626 AUTOLOAD
:=$(call AutoLoad
,31,ppp_mppe
)
629 define KernelPackage
/mppe
/description
630 Kernel modules for Microsoft PPP compression
/encryption
633 $(eval
$(call KernelPackage
,mppe
))
636 define KernelPackage
/sched
637 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
638 TITLE
:=Traffic schedulers
641 CONFIG_NET_SCH_DSMARK \
642 CONFIG_NET_SCH_ESFQ \
643 CONFIG_NET_SCH_ESFQ_NFCT
=y \
644 CONFIG_NET_SCH_FIFO \
645 CONFIG_NET_SCH_GRED \
646 CONFIG_NET_SCH_HFSC \
648 CONFIG_NET_SCH_INGRESS \
649 CONFIG_NET_SCH_PRIO \
653 CONFIG_NET_SCH_TEQL \
654 CONFIG_NET_SCH_CODEL \
655 CONFIG_NET_SCH_FQ_CODEL \
657 CONFIG_NET_CLS_ACT
=y \
658 CONFIG_NET_CLS_BASIC \
659 CONFIG_NET_CLS_FLOW \
661 CONFIG_NET_CLS_ROUTE4 \
662 CONFIG_NET_CLS_TCINDEX \
664 CONFIG_NET_ACT_MIRRED \
666 CONFIG_NET_ACT_POLICE \
667 CONFIG_NET_ACT_CONNMARK \
668 CONFIG_NET_ACT_SKBEDIT \
669 CONFIG_NET_EMATCH
=y \
670 CONFIG_NET_EMATCH_CMP \
671 CONFIG_NET_EMATCH_NBYTE \
672 CONFIG_NET_EMATCH_U32 \
673 CONFIG_NET_EMATCH_META \
674 CONFIG_NET_EMATCH_TEXT
675 FILES
:=$(LINUX_DIR
)/net
/sched
/*.ko
678 define KernelPackage
/sched
/description
679 Kernel schedulers for IP traffic
682 $(eval
$(call KernelPackage
,sched
))
685 define KernelPackage
/ax25
686 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
692 $(LINUX_DIR
)/net
/ax25
/ax25.ko \
693 $(LINUX_DIR
)/drivers
/net
/hamradio
/mkiss.ko
694 AUTOLOAD
:=$(call AutoLoad
,80,ax25 mkiss
)
695 $(call AddDepends
/crc16
)
698 define KernelPackage
/ax25
/description
699 Kernel modules for AX25 support
702 $(eval
$(call KernelPackage
,ax25
))
705 define KernelPackage
/mp-alg
706 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
707 TITLE
:=ECMP caching algorithms
709 CONFIG_IP_ROUTE_MULTIPATH_RR \
710 CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
711 CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
712 CONFIG_IP_ROUTE_MULTIPATH_DRR
714 $(LINUX_DIR
)/net
/ipv4
/multipath_rr.ko \
715 $(LINUX_DIR
)/net
/ipv4
/multipath_random.ko \
716 $(LINUX_DIR
)/net
/ipv4
/multipath_wrandom.ko \
717 $(LINUX_DIR
)/net
/ipv4
/multipath_drr.ko
718 AUTOLOAD
:=$(call AutoLoad
,35,multipath_rr multipath_random multipath_wrandom multipath_drr
)
721 define KernelPackage
/mp-alg
/description
722 Kernel modules that provide several different algorithms for multipath
723 route selection from the route cache. The iproute
"mpath" argument allows
724 specifying which algorithm to use for routes.
725 quagga
(at least
<=0.99.6) requires a multipath patch to support this
726 cached mp route feature.
729 $(eval
$(call KernelPackage
,mp-alg
))
732 define KernelPackage
/pktgen
733 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
734 DEPENDS
:=@
!TARGET_uml
735 TITLE
:=Network packet generator
736 KCONFIG
:=CONFIG_NET_PKTGEN
737 FILES
:=$(LINUX_DIR
)/net
/core
/pktgen.ko
738 AUTOLOAD
:=$(call AutoLoad
,99,pktgen
)
741 define KernelPackage
/pktgen
/description
742 Kernel modules for the Network Packet Generator
745 $(eval
$(call KernelPackage
,pktgen
))
747 define KernelPackage
/l2tp
748 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
749 TITLE
:=Layer Two Tunneling Protocol
(L2TP
)
750 KCONFIG
:=CONFIG_L2TP \
752 CONFIG_L2TP_DEBUGFS
=n
753 FILES
:=$(LINUX_DIR
)/net
/l2tp
/l2tp_core.ko \
754 $(LINUX_DIR
)/net
/l2tp
/l2tp_netlink.ko
755 AUTOLOAD
:=$(call AutoLoad
,32,l2tp_core l2tp_netlink
)
758 define KernelPackage
/l2tp
/description
759 Kernel modules for L2TP V3 Support
762 $(eval
$(call KernelPackage
,l2tp
))
765 define KernelPackage
/l2tp-eth
766 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
767 TITLE
:=L2TP ethernet pseudowire support for L2TPv3
769 KCONFIG
:=CONFIG_L2TP_ETH
770 FILES
:=$(LINUX_DIR
)/net
/l2tp
/l2tp_eth.ko
771 AUTOLOAD
:=$(call AutoLoad
,33,l2tp_eth
)
774 define KernelPackage
/l2tp-eth
/description
775 Kernel modules for L2TP ethernet pseudowire support for L2TPv3
778 $(eval
$(call KernelPackage
,l2tp-eth
))
780 define KernelPackage
/l2tp-ip
781 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
782 TITLE
:=L2TP IP encapsulation for L2TPv3
784 KCONFIG
:=CONFIG_L2TP_IP
785 FILES
:=$(LINUX_DIR
)/net
/l2tp
/l2tp_ip.ko
786 AUTOLOAD
:=$(call AutoLoad
,33,l2tp_ip
)
789 define KernelPackage
/l2tp-ip
/description
790 Kernel modules for L2TP IP encapsulation for L2TPv3
793 $(eval
$(call KernelPackage
,l2tp-ip
))
796 define KernelPackage
/sctp
797 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
798 TITLE
:=SCTP protocol kernel support
801 CONFIG_SCTP_DBG_MSG
=n \
802 CONFIG_SCTP_DBG_OBJCNT
=n \
803 CONFIG_SCTP_HMAC_NONE
=n \
804 CONFIG_SCTP_HMAC_SHA1
=n \
805 CONFIG_SCTP_HMAC_MD5
=y
806 FILES
:= $(LINUX_DIR
)/net
/sctp
/sctp.ko
807 AUTOLOAD
:= $(call AutoLoad
,32,sctp
)
808 DEPENDS
:=+kmod-lib-crc32c
+kmod-crypto-md5
+kmod-crypto-hmac
811 define KernelPackage
/sctp
/description
812 Kernel modules for SCTP protocol support
815 $(eval
$(call KernelPackage
,sctp
))
818 define KernelPackage
/netem
819 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
820 TITLE
:=Network emulation functionality
822 KCONFIG
:=CONFIG_NET_SCH_NETEM
823 FILES
:=$(LINUX_DIR
)/net
/sched
/sch_netem.ko
824 AUTOLOAD
:=$(call AutoLoad
,99,netem
)
827 define KernelPackage
/netem
/description
828 Kernel modules for emulating the properties of wide area networks
831 $(eval
$(call KernelPackage
,netem
))
833 define KernelPackage
/slip
834 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
838 CONFIG_SLIP_COMPRESSED
=y \
839 CONFIG_SLIP_SMART
=y \
840 CONFIG_SLIP_MODE_SLIP6
=y
842 ifeq ($(strip $(call CompareKernelPatchVer
,$(KERNEL_PATCHVER
),ge
,3.2)),1)
844 $(LINUX_DIR
)/drivers
/net
/slip
/slip.ko
847 $(LINUX_DIR
)/drivers
/net
/slip.ko
849 AUTOLOAD
:=$(call AutoLoad
,30,slip
)
852 define KernelPackage
/slip
/description
853 Kernel modules for SLIP support
856 $(eval
$(call KernelPackage
,slip
))