2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 NETWORK_SUPPORT_MENU
:=Network Support
11 define KernelPackage
/atm
12 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
19 $(LINUX_DIR
)/net
/atm
/atm.
$(LINUX_KMOD_SUFFIX
) \
20 $(LINUX_DIR
)/net
/atm
/br2684.
$(LINUX_KMOD_SUFFIX
)
21 AUTOLOAD
:=$(call AutoLoad
,30,atm br2684
)
24 define KernelPackage
/atm
/description
25 Kernel modules for ATM support
28 $(eval
$(call KernelPackage
,atm
))
31 define KernelPackage
/atmtcp
32 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
34 DEPENDS
:=@LINUX_2_6 kmod-atm
35 KCONFIG
:=CONFIG_ATM_TCP CONFIG_ATM_DRIVERS
=y
36 FILES
:=$(LINUX_DIR
)/drivers
/atm
/atmtcp.
$(LINUX_KMOD_SUFFIX
)
37 AUTOLOAD
:=$(call AutoLoad
,40,atmtcp
)
40 define KernelPackage
/atmtcp
/description
41 Kernel module for ATM over TCP support
44 $(eval
$(call KernelPackage
,atmtcp
))
47 define KernelPackage
/bonding
48 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
49 TITLE
:=Ethernet bonding driver
50 KCONFIG
:=CONFIG_BONDING
51 FILES
:=$(LINUX_DIR
)/drivers
/net
/bonding
/bonding.
$(LINUX_KMOD_SUFFIX
)
52 AUTOLOAD
:=$(call AutoLoad
,40,bonding
)
55 define KernelPackage
/bonding
/description
56 Kernel module for NIC bonding.
59 $(eval
$(call KernelPackage
,bonding
))
62 define KernelPackage
/capi
63 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
64 TITLE
:=CAPI
(ISDN
) Support
68 CONFIG_ISDN_CAPI_CAPI20 \
71 $(LINUX_DIR
)/drivers
/isdn
/capi
/kernelcapi.
$(LINUX_KMOD_SUFFIX
) \
72 $(LINUX_DIR
)/drivers
/isdn
/capi
/capi.
$(LINUX_KMOD_SUFFIX
) \
73 $(LINUX_DIR
)/drivers
/isdn
/capi
/capifs.
$(LINUX_KMOD_SUFFIX
)
74 AUTOLOAD
:=$(call AutoLoad
,30,kernelcapi capi capifs
)
77 define KernelPackage
/capi
/description
78 Kernel module for basic CAPI
(ISDN
) support
81 $(eval
$(call KernelPackage
,capi
))
83 define KernelPackage
/misdn
84 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
85 TITLE
:=mISDN
(ISDN
) Support
93 CONFIG_ISDN_WITH_ABC
=n \
94 CONFIG_ISDN_DRV_LOOP
=n \
95 CONFIG_ISDN_DIVERSION
=n \
96 CONFIG_ISDN_DRV_HISAX
=n \
97 CONFIG_ISDN_DRV_ICN
=n \
98 CONFIG_ISDN_DRV_PCBIT
=n \
99 CONFIG_ISDN_DRV_SC
=n \
100 CONFIG_ISDN_DRV_ACT2000
=n \
101 CONFIG_ISDN_DRV_EICON
=n \
102 CONFIG_ISDN_DRV_TPAM
=n \
105 $(LINUX_DIR
)/drivers
/isdn
/mISDN
/mISDN_core.
$(LINUX_KMOD_SUFFIX
) \
106 $(LINUX_DIR
)/drivers
/isdn
/mISDN
/mISDN_dsp.
$(LINUX_KMOD_SUFFIX
) \
107 $(LINUX_DIR
)/drivers
/isdn
/mISDN
/l1oip.
$(LINUX_KMOD_SUFFIX
)
108 AUTOLOAD
:=$(call AutoLoad
,30,mISDN_core mISDN_dsp l1oip
)
111 define KernelPackage
/misdn
/description
112 Modular ISDN driver support
115 $(eval
$(call KernelPackage
,misdn
))
118 define KernelPackage
/ipip
119 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
120 TITLE
:=IP-in-IP encapsulation
121 DEPENDS
:=+LINUX_2_6
:kmod-iptunnel4
122 KCONFIG
:=CONFIG_NET_IPIP
123 FILES
:=$(LINUX_DIR
)/net
/ipv4
/ipip.
$(LINUX_KMOD_SUFFIX
)
124 AUTOLOAD
:=$(call AutoLoad
,32,ipip
)
127 define KernelPackage
/ipip
/description
128 Kernel modules for IP-in-IP encapsulation
131 $(eval
$(call KernelPackage
,ipip
))
134 define KernelPackage
/ipsec
135 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
136 TITLE
:=IPsec related modules
(IPv4 and IPv6
)
137 DEPENDS
:=@LINUX_2_6
+kmod-crypto-core
+kmod-crypto-des
+kmod-crypto-hmac
+kmod-crypto-md5
+kmod-crypto-sha1
142 $(LINUX_DIR
)/net
/key
/af_key.
$(LINUX_KMOD_SUFFIX
) \
143 $(LINUX_DIR
)/net
/xfrm
/xfrm_user.
$(LINUX_KMOD_SUFFIX
)
146 define KernelPackage
/ipsec
/description
147 Kernel modules for IPsec support in both IPv4 and IPv6.
153 $(eval
$(call KernelPackage
,ipsec
))
156 define KernelPackage
/ipsec4
157 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
158 TITLE
:=IPsec related modules
(IPv4
)
159 DEPENDS
:=kmod-ipsec
+kmod-iptunnel4
164 CONFIG_INET_XFRM_MODE_BEET \
165 CONFIG_INET_XFRM_MODE_TRANSPORT \
166 CONFIG_INET_XFRM_MODE_TUNNEL \
167 CONFIG_INET_XFRM_TUNNEL
168 FILES
:= $(foreach mod
,ah4 esp4 ipcomp xfrm4_mode_beet xfrm4_mode_transport xfrm4_mode_tunnel xfrm4_tunnel
, \
169 $(LINUX_DIR
)/net
/ipv4
/$(mod
).
$(LINUX_KMOD_SUFFIX
) \
173 define KernelPackage
/ipsec4
/description
174 Kernel modules for IPsec support in IPv4.
180 - xfrm4_mode_transport
185 $(eval
$(call KernelPackage
,ipsec4
))
188 define KernelPackage
/ipsec6
189 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
190 TITLE
:=IPsec related modules
(IPv6
)
191 DEPENDS
:=kmod-ipsec
+kmod-iptunnel6
195 CONFIG_INET6_IPCOMP \
196 CONFIG_INET6_XFRM_MODE_BEET \
197 CONFIG_INET6_XFRM_MODE_TRANSPORT \
198 CONFIG_INET6_XFRM_MODE_TUNNEL \
199 CONFIG_INET6_XFRM_TUNNEL
200 FILES
:= $(foreach mod
,ah6 esp6 ipcomp6 xfrm6_mode_beet xfrm6_mode_transport xfrm6_mode_tunnel xfrm6_tunnel
, \
201 $(LINUX_DIR
)/net
/ipv6
/$(mod
).
$(LINUX_KMOD_SUFFIX
) \
205 define KernelPackage
/ipsec6
/description
206 Kernel modules for IPsec support in IPv6.
212 - xfrm6_mode_transport
217 $(eval
$(call KernelPackage
,ipsec6
))
220 # NOTE: tunnel4 is not selectable by itself, so enable ipip for that
221 define KernelPackage
/iptunnel4
222 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
223 TITLE
:=IPv4 tunneling
228 FILES
:= $(foreach mod
,tunnel4
, \
229 $(LINUX_DIR
)/net
/ipv4
/$(mod
).
$(LINUX_KMOD_SUFFIX
) \
231 AUTOLOAD
:=$(call AutoLoad
,31,tunnel4
)
234 define KernelPackage
/iptunnel4
/description
235 Kernel modules for IPv4 tunneling
238 $(eval
$(call KernelPackage
,iptunnel4
))
241 define KernelPackage
/iptunnel6
242 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
243 TITLE
:=IPv6 tunneling
244 DEPENDS
:= @LINUX_2_6
+kmod-ipv6
247 FILES
:= $(foreach mod
,tunnel6
, \
248 $(LINUX_DIR
)/net
/ipv6
/$(mod
).
$(LINUX_KMOD_SUFFIX
) \
250 AUTOLOAD
:=$(call AutoLoad
,31,tunnel6
)
253 define KernelPackage
/iptunnel6
/description
254 Kernel modules for IPv6 tunneling
257 $(eval
$(call KernelPackage
,iptunnel6
))
260 define KernelPackage
/ipv6
261 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
265 CONFIG_IPV6_PRIVACY
=y \
266 CONFIG_IPV6_MULTIPLE_TABLES
=y \
267 CONFIG_IPV6_SUBTREES
=y
268 FILES
:=$(LINUX_DIR
)/net
/ipv6
/ipv6.
$(LINUX_KMOD_SUFFIX
)
269 AUTOLOAD
:=$(call AutoLoad
,20,ipv6
)
272 define KernelPackage
/ipv6
/description
273 Kernel modules for IPv6 support
276 $(eval
$(call KernelPackage
,ipv6
))
279 define KernelPackage
/sit
280 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
281 DEPENDS
:=+kmod-iptunnel4
282 TITLE
:=IPv6-in-IPv4 tunnelling
285 # sit is compiled in the 2.4 ipv6 stack
286 define KernelPackage
/sit
/2.4
287 DEPENDS
:= @LINUX_2_4
+kmod-ipv6
291 define KernelPackage
/sit
/2.6
292 DEPENDS
:= @LINUX_2_6
+kmod-ipv6
+kmod-iptunnel4
293 KCONFIG
+=CONFIG_IPV6_SIT
294 FILES
:=$(LINUX_DIR
)/net
/ipv6
/sit.
$(LINUX_KMOD_SUFFIX
)
295 AUTOLOAD
:=$(call AutoLoad
,32,sit
)
298 define KernelPackage
/sit
/description
299 Kernel modules for IPv6-in-IPv4 tunnelling
302 $(eval
$(call KernelPackage
,sit
))
305 define KernelPackage
/ip6-tunnel
306 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
307 TITLE
:=IP-in-IPv6 tunnelling
308 DEPENDS
:= @LINUX_2_6
+kmod-ipv6
+kmod-iptunnel6
309 KCONFIG
:= CONFIG_IPV6_TUNNEL
310 FILES
:= $(foreach mod
,ip6_tunnel
, \
311 $(LINUX_DIR
)/net
/ipv6
/$(mod
).
$(LINUX_KMOD_SUFFIX
) \
313 AUTOLOAD
:=$(call AutoLoad
,32,ip6_tunnel
)
316 define KernelPackage
/ip6-tunnel
/description
317 Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
320 $(eval
$(call KernelPackage
,ip6-tunnel
))
323 define KernelPackage
/gre
324 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
326 KCONFIG
:=CONFIG_NET_IPGRE
327 FILES
=$(LINUX_DIR
)/net
/ipv4
/ip_gre.
$(LINUX_KMOD_SUFFIX
)
330 define KernelPackage
/gre
/description
331 Generic Routing Encapsulation support
334 $(eval
$(call KernelPackage
,gre
))
337 define KernelPackage
/tun
338 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
339 TITLE
:=Universal TUN
/TAP driver
341 FILES
:=$(LINUX_DIR
)/drivers
/net
/tun.
$(LINUX_KMOD_SUFFIX
)
342 AUTOLOAD
:=$(call AutoLoad
,30,tun
)
345 define KernelPackage
/tun
/description
346 Kernel support for the TUN
/TAP tunneling device
349 $(eval
$(call KernelPackage
,tun
))
352 define KernelPackage
/ppp
353 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
355 DEPENDS
:=+LINUX_2_6
:kmod-crc-ccitt
361 $(LINUX_DIR
)/drivers
/net
/ppp_async.
$(LINUX_KMOD_SUFFIX
) \
362 $(LINUX_DIR
)/drivers
/net
/ppp_generic.
$(LINUX_KMOD_SUFFIX
) \
363 $(LINUX_DIR
)/drivers
/net
/slhc.
$(LINUX_KMOD_SUFFIX
)
364 AUTOLOAD
:=$(call AutoLoad
,30,slhc ppp_generic ppp_async
)
367 define KernelPackage
/ppp
/description
368 Kernel modules for PPP support
371 $(eval
$(call KernelPackage
,ppp
))
374 define KernelPackage
/ppp-synctty
375 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
376 TITLE
:=PPP sync tty support
378 KCONFIG
:=CONFIG_PPP_SYNC_TTY
379 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_synctty.
$(LINUX_KMOD_SUFFIX
)
380 AUTOLOAD
:=$(call AutoLoad
,40,ppp_synctty
)
383 define KernelPackage
/ppp-synctty
/description
384 Kernel modules for PPP sync tty support
387 $(eval
$(call KernelPackage
,ppp-synctty
))
390 define KernelPackage
/pppoe
391 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
394 KCONFIG
:=CONFIG_PPPOE
396 $(LINUX_DIR
)/drivers
/net
/pppoe.
$(LINUX_KMOD_SUFFIX
) \
397 $(LINUX_DIR
)/drivers
/net
/pppox.
$(LINUX_KMOD_SUFFIX
)
400 define KernelPackage
/pppoe
/description
401 Kernel modules for PPPoE
(PPP over Ethernet
) support
404 $(eval
$(call KernelPackage
,pppoe
))
407 define KernelPackage
/pppoa
408 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
410 DEPENDS
:=kmod-ppp
+kmod-atm
411 KCONFIG
:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS
=y
412 FILES
:=$(LINUX_DIR
)/net
/atm
/pppoatm.
$(LINUX_KMOD_SUFFIX
)
413 AUTOLOAD
:=$(call AutoLoad
,40,pppoatm
)
416 define KernelPackage
/pppoa
/description
417 Kernel modules for PPPoA
(PPP over ATM
) support
420 $(eval
$(call KernelPackage
,pppoa
))
423 define KernelPackage
/ipoa
424 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
427 KCONFIG
:=CONFIG_ATM_CLIP
428 FILES
:=$(LINUX_DIR
)/net
/atm
/clip.
$(LINUX_KMOD_SUFFIX
)
429 AUTOLOAD
:=$(call AutoLoad
,40,clip
)
432 define KernelPackage
/ipoa
/description
433 Kernel modules for IPoA
(IP over ATM
) support
436 $(eval
$(call KernelPackage
,ipoa
))
439 define KernelPackage
/mppe
440 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
441 TITLE
:=Microsoft PPP compression
/encryption
442 DEPENDS
:=kmod-ppp
+kmod-crypto-arc4
+kmod-crypto-sha1
444 CONFIG_PPP_MPPE_MPPC \
448 define KernelPackage
/mppe
/2.4
449 # KCONFIG:=CONFIG_PPP_MPPE_MPPC
450 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_mppe_mppc.
$(LINUX_KMOD_SUFFIX
)
451 AUTOLOAD
:=$(call AutoLoad
,31,ppp_mppe_mppc
)
454 define KernelPackage
/mppe
/2.6
455 # KCONFIG:=CONFIG_PPP_MPPE
456 FILES
:=$(LINUX_DIR
)/drivers
/net
/ppp_mppe.
$(LINUX_KMOD_SUFFIX
)
457 AUTOLOAD
:=$(call AutoLoad
,31,ppp_mppe
)
460 define KernelPackage
/mppe
/description
461 Kernel modules for Microsoft PPP compression
/encryption
464 $(eval
$(call KernelPackage
,mppe
))
467 define KernelPackage
/sched
468 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
469 TITLE
:=Traffic schedulers
472 CONFIG_NET_SCH_DSMARK \
473 CONFIG_NET_SCH_ESFQ \
474 CONFIG_NET_SCH_FIFO \
475 CONFIG_NET_SCH_GRED \
476 CONFIG_NET_SCH_HFSC \
478 CONFIG_NET_SCH_INGRESS \
479 CONFIG_NET_SCH_PRIO \
484 FILES
:=$(LINUX_DIR
)/net
/sched
/*.
$(LINUX_KMOD_SUFFIX
)
487 define KernelPackage
/sched
/description
488 Kernel schedulers for IP traffic
491 $(eval
$(call KernelPackage
,sched
))
494 define KernelPackage
/ax25
495 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
501 $(LINUX_DIR
)/net
/ax25
/ax25.
$(LINUX_KMOD_SUFFIX
) \
502 $(LINUX_DIR
)/drivers
/net
/hamradio
/mkiss.
$(LINUX_KMOD_SUFFIX
)
503 AUTOLOAD
:=$(call AutoLoad
,80,ax25 mkiss
)
506 define KernelPackage
/ax25
/description
507 Kernel modules for AX25 support
510 $(eval
$(call KernelPackage
,ax25
))
513 define KernelPackage
/mp-alg
514 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
515 TITLE
:=ECMP caching algorithms
518 CONFIG_IP_ROUTE_MULTIPATH_RR \
519 CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
520 CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
521 CONFIG_IP_ROUTE_MULTIPATH_DRR
523 $(LINUX_DIR
)/net
/ipv4
/multipath_rr.
$(LINUX_KMOD_SUFFIX
) \
524 $(LINUX_DIR
)/net
/ipv4
/multipath_random.
$(LINUX_KMOD_SUFFIX
) \
525 $(LINUX_DIR
)/net
/ipv4
/multipath_wrandom.
$(LINUX_KMOD_SUFFIX
) \
526 $(LINUX_DIR
)/net
/ipv4
/multipath_drr.
$(LINUX_KMOD_SUFFIX
)
527 AUTOLOAD
:=$(call AutoLoad
,35,multipath_rr multipath_random multipath_wrandom multipath_drr
)
530 define KernelPackage
/mp-alg
/description
531 Kernel modules that provide several different algorithms for multipath
532 route selection from the route cache. The iproute
"mpath" argument allows
533 specifying which algorithm to use for routes.
534 quagga
(at least
<=0.99.6) requires a multipath patch to support this
535 cached mp route feature.
538 $(eval
$(call KernelPackage
,mp-alg
))
541 define KernelPackage
/pktgen
542 SUBMENU
:=$(NETWORK_SUPPORT_MENU
)
543 TITLE
:=Network packet generator
545 KCONFIG
:=CONFIG_NET_PKTGEN
546 FILES
:=$(LINUX_DIR
)/net
/core
/pktgen.
$(LINUX_KMOD_SUFFIX
)
547 AUTOLOAD
:=$(call AutoLoad
,99,pktgen
)
550 define KernelPackage
/pktgen
/description
551 Kernel modules for the Network Packet Generator
554 $(eval
$(call KernelPackage
,pktgen
))