[package] base-files: clear ip addresses on interfaces that are about to be added...
[openwrt.git] / package / kernel / modules / netsupport.mk
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 NETWORK_SUPPORT_MENU:=Network Support
9
10 define KernelPackage/atm
11 SUBMENU:=$(NETWORK_SUPPORT_MENU)
12 TITLE:=ATM support
13 DEPENDS:=@LINUX_2_6
14 KCONFIG:= \
15 CONFIG_ATM \
16 CONFIG_ATM_BR2684
17 FILES:= \
18 $(LINUX_DIR)/net/atm/atm.$(LINUX_KMOD_SUFFIX) \
19 $(LINUX_DIR)/net/atm/br2684.$(LINUX_KMOD_SUFFIX)
20 AUTOLOAD:=$(call AutoLoad,30,atm br2684)
21 endef
22
23 define KernelPackage/atm/description
24 Kernel modules for ATM support
25 endef
26
27 $(eval $(call KernelPackage,atm))
28
29
30 define KernelPackage/atmtcp
31 SUBMENU:=$(NETWORK_SUPPORT_MENU)
32 TITLE:=ATM over TCP
33 DEPENDS:=@LINUX_2_6 kmod-atm
34 KCONFIG:=CONFIG_ATM_TCP CONFIG_ATM_DRIVERS=y
35 FILES:=$(LINUX_DIR)/drivers/atm/atmtcp.$(LINUX_KMOD_SUFFIX)
36 AUTOLOAD:=$(call AutoLoad,40,atmtcp)
37 endef
38
39 define KernelPackage/atmtcp/description
40 Kernel module for ATM over TCP support
41 endef
42
43 $(eval $(call KernelPackage,atmtcp))
44
45
46 define KernelPackage/bonding
47 SUBMENU:=$(NETWORK_SUPPORT_MENU)
48 TITLE:=Ethernet bonding driver
49 KCONFIG:=CONFIG_BONDING
50 FILES:=$(LINUX_DIR)/drivers/net/bonding/bonding.$(LINUX_KMOD_SUFFIX)
51 AUTOLOAD:=$(call AutoLoad,40,bonding)
52 endef
53
54 define KernelPackage/bonding/description
55 Kernel module for NIC bonding.
56 endef
57
58 $(eval $(call KernelPackage,bonding))
59
60
61 define KernelPackage/capi
62 SUBMENU:=$(NETWORK_SUPPORT_MENU)
63 TITLE:=CAPI (ISDN) Support
64 DEPENDS:=@LINUX_2_6
65 KCONFIG:= \
66 CONFIG_ISDN_CAPI \
67 CONFIG_ISDN_CAPI_CAPI20 \
68 CONFIG_ISDN_CAPIFS
69 FILES:= \
70 $(LINUX_DIR)/drivers/isdn/capi/kernelcapi.$(LINUX_KMOD_SUFFIX) \
71 $(LINUX_DIR)/drivers/isdn/capi/capifs.$(LINUX_KMOD_SUFFIX)
72 $(LINUX_DIR)/drivers/isdn/capi/capi.$(LINUX_KMOD_SUFFIX) \
73 AUTOLOAD:=$(call AutoLoad,30,kernelcapi capifs capi)
74 endef
75
76 define KernelPackage/capi/description
77 Kernel module for basic CAPI (ISDN) support
78 endef
79
80 $(eval $(call KernelPackage,capi))
81
82 define KernelPackage/misdn
83 SUBMENU:=$(NETWORK_SUPPORT_MENU)
84 TITLE:=mISDN (ISDN) Support
85 KCONFIG:= \
86 CONFIG_MISDN \
87 CONFIG_MISDN_DSP \
88 CONFIG_MISDN_L1OIP \
89 CONFIG_ISDN_AUDIO=n \
90 CONFIG_ISDN_WITH_ABC=n \
91 CONFIG_ISDN_DRV_LOOP=n \
92 CONFIG_ISDN_DIVERSION=n \
93 CONFIG_ISDN_DRV_HISAX=n \
94 CONFIG_ISDN_DRV_ICN=n \
95 CONFIG_ISDN_DRV_PCBIT=n \
96 CONFIG_ISDN_DRV_SC=n \
97 CONFIG_ISDN_DRV_ACT2000=n \
98 CONFIG_ISDN_DRV_EICON=n \
99 CONFIG_ISDN_DRV_TPAM=n \
100 CONFIG_HYSDN=n
101 FILES:= \
102 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_core.$(LINUX_KMOD_SUFFIX) \
103 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_dsp.$(LINUX_KMOD_SUFFIX) \
104 $(LINUX_DIR)/drivers/isdn/mISDN/l1oip.$(LINUX_KMOD_SUFFIX)
105 AUTOLOAD:=$(call AutoLoad,30,mISDN_core mISDN_dsp l1oip)
106 endef
107
108 define KernelPackage/misdn/2.4
109 KCONFIG+= \
110 CONFIG_ISDN
111 endef
112
113 define KernelPackage/misdn/2.6
114 KCONFIG+= \
115 CONFIG_ISDN=y
116 endef
117
118 define KernelPackage/misdn/description
119 Modular ISDN driver support
120 endef
121
122 $(eval $(call KernelPackage,misdn))
123
124
125 define KernelPackage/isdn4linux
126 SUBMENU:=$(NETWORK_SUPPORT_MENU)
127 TITLE:=Old ISDN4Linux (deprecated)
128 KCONFIG:= \
129 CONFIG_ISDN_I4L \
130 CONFIG_ISDN_PPP=y \
131 CONFIG_ISDN_PPP_VJ=y \
132 CONFIG_ISDN_MPP=y \
133 CONFIG_IPPP_FILTER=y \
134 CONFIG_ISDN_PPP_BSDCOMP \
135 CONFIG_ISDN_AUDIO=y \
136 CONFIG_ISDN_TTY_FAX=y \
137 CONFIG_ISDN_X25=y \
138 CONFIG_ISDN_DIVERSION \
139 CONFIG_ISDN_CAPI_CAPIDRV=n \
140 CONFIG_ISDN_DRV_ACT2000=n \
141 CONFIG_ISDN_DRV_GIGASET=n \
142 CONFIG_ISDN_DRV_HISAX=n \
143 CONFIG_ISDN_DRV_ICN=n \
144 CONFIG_ISDN_DRV_LOOP=n \
145 CONFIG_ISDN_DRV_PCBIT=n \
146 CONFIG_ISDN_DRV_SC=n \
147 CONFIG_HYSDN=n
148 FILES:= \
149 $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.$(LINUX_KMOD_SUFFIX)
150 AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert)
151 endef
152
153 define KernelPackage/isdn4linux/2.4
154 KCONFIG+= \
155 CONFIG_ISDN
156 FILES+= \
157 $(LINUX_DIR)/drivers/isdn/isdn_bsdcomp.$(LINUX_KMOD_SUFFIX)
158 endef
159
160 define KernelPackage/isdn4linux/2.6
161 KCONFIG+= \
162 CONFIG_ISDN=y
163 FILES+= \
164 $(LINUX_DIR)/drivers/isdn/i4l/isdn.$(LINUX_KMOD_SUFFIX) \
165 $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.$(LINUX_KMOD_SUFFIX)
166 endef
167
168 define KernelPackage/isdn4linux/description
169 This driver allows you to use an ISDN adapter for networking
170 endef
171
172 $(eval $(call KernelPackage,isdn4linux))
173
174
175 define KernelPackage/ipip
176 SUBMENU:=$(NETWORK_SUPPORT_MENU)
177 TITLE:=IP-in-IP encapsulation
178 DEPENDS:=+LINUX_2_6:kmod-iptunnel4
179 KCONFIG:=CONFIG_NET_IPIP
180 FILES:=$(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX)
181 AUTOLOAD:=$(call AutoLoad,32,ipip)
182 endef
183
184 define KernelPackage/ipip/description
185 Kernel modules for IP-in-IP encapsulation
186 endef
187
188 $(eval $(call KernelPackage,ipip))
189
190
191 define KernelPackage/ipsec
192 SUBMENU:=$(NETWORK_SUPPORT_MENU)
193 TITLE:=IPsec related modules (IPv4 and IPv6)
194 DEPENDS:=@LINUX_2_6 +kmod-crypto-core +kmod-crypto-des +kmod-crypto-hmac +kmod-crypto-md5 +kmod-crypto-sha1
195 KCONFIG:= \
196 CONFIG_NET_KEY \
197 CONFIG_XFRM_USER
198 FILES:= \
199 $(LINUX_DIR)/net/key/af_key.$(LINUX_KMOD_SUFFIX) \
200 $(LINUX_DIR)/net/xfrm/xfrm_user.$(LINUX_KMOD_SUFFIX)
201 endef
202
203 define KernelPackage/ipsec/description
204 Kernel modules for IPsec support in both IPv4 and IPv6.
205 Includes:
206 - af_key
207 - xfrm_user
208 endef
209
210 $(eval $(call KernelPackage,ipsec))
211
212
213 define KernelPackage/ipsec4
214 SUBMENU:=$(NETWORK_SUPPORT_MENU)
215 TITLE:=IPsec related modules (IPv4)
216 DEPENDS:=kmod-ipsec +kmod-iptunnel4
217 KCONFIG:= \
218 CONFIG_INET_AH \
219 CONFIG_INET_ESP \
220 CONFIG_INET_IPCOMP \
221 CONFIG_INET_XFRM_MODE_BEET \
222 CONFIG_INET_XFRM_MODE_TRANSPORT \
223 CONFIG_INET_XFRM_MODE_TUNNEL \
224 CONFIG_INET_XFRM_TUNNEL
225 FILES:= $(foreach mod,ah4 esp4 ipcomp xfrm4_mode_beet xfrm4_mode_transport xfrm4_mode_tunnel xfrm4_tunnel , \
226 $(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \
227 )
228 endef
229
230 define KernelPackage/ipsec4/description
231 Kernel modules for IPsec support in IPv4.
232 Includes:
233 - ah4
234 - esp4
235 - ipcomp
236 - xfrm4_mode_beet
237 - xfrm4_mode_transport
238 - xfrm4_mode_tunnel
239 - xfrm4_tunnel
240 endef
241
242 $(eval $(call KernelPackage,ipsec4))
243
244
245 define KernelPackage/ipsec6
246 SUBMENU:=$(NETWORK_SUPPORT_MENU)
247 TITLE:=IPsec related modules (IPv6)
248 DEPENDS:=kmod-ipsec +kmod-iptunnel6
249 KCONFIG:= \
250 CONFIG_INET6_AH \
251 CONFIG_INET6_ESP \
252 CONFIG_INET6_IPCOMP \
253 CONFIG_INET6_XFRM_MODE_BEET \
254 CONFIG_INET6_XFRM_MODE_TRANSPORT \
255 CONFIG_INET6_XFRM_MODE_TUNNEL \
256 CONFIG_INET6_XFRM_TUNNEL
257 FILES:= $(foreach mod,ah6 esp6 ipcomp6 xfrm6_mode_beet xfrm6_mode_transport xfrm6_mode_tunnel xfrm6_tunnel, \
258 $(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \
259 )
260 endef
261
262 define KernelPackage/ipsec6/description
263 Kernel modules for IPsec support in IPv6.
264 Includes:
265 - ah6
266 - esp6
267 - ipcomp6
268 - xfrm6_mode_beet
269 - xfrm6_mode_transport
270 - xfrm6_mode_tunnel
271 - xfrm6_tunnel
272 endef
273
274 $(eval $(call KernelPackage,ipsec6))
275
276
277 # NOTE: tunnel4 is not selectable by itself, so enable ipip for that
278 define KernelPackage/iptunnel4
279 SUBMENU:=$(NETWORK_SUPPORT_MENU)
280 TITLE:=IPv4 tunneling
281 DEPENDS:=@LINUX_2_6
282 KCONFIG:= \
283 CONFIG_NET_IPIP \
284 CONFIG_INET_TUNNEL
285 FILES:= $(foreach mod,tunnel4, \
286 $(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \
287 )
288 AUTOLOAD:=$(call AutoLoad,31,tunnel4)
289 endef
290
291 define KernelPackage/iptunnel4/description
292 Kernel modules for IPv4 tunneling
293 endef
294
295 $(eval $(call KernelPackage,iptunnel4))
296
297
298 define KernelPackage/iptunnel6
299 SUBMENU:=$(NETWORK_SUPPORT_MENU)
300 TITLE:=IPv6 tunneling
301 DEPENDS:= @LINUX_2_6 +kmod-ipv6
302 KCONFIG:= \
303 CONFIG_INET6_TUNNEL
304 FILES:= $(foreach mod,tunnel6, \
305 $(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \
306 )
307 AUTOLOAD:=$(call AutoLoad,31,tunnel6)
308 endef
309
310 define KernelPackage/iptunnel6/description
311 Kernel modules for IPv6 tunneling
312 endef
313
314 $(eval $(call KernelPackage,iptunnel6))
315
316
317 define KernelPackage/ipv6
318 SUBMENU:=$(NETWORK_SUPPORT_MENU)
319 TITLE:=IPv6 support
320 KCONFIG:= \
321 CONFIG_IPV6 \
322 CONFIG_IPV6_PRIVACY=y \
323 CONFIG_IPV6_MULTIPLE_TABLES=y \
324 CONFIG_IPV6_MROUTE=y \
325 CONFIG_IPV6_PIMSM_V2=n \
326 CONFIG_IPV6_SUBTREES=y
327 FILES:=$(LINUX_DIR)/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
328 AUTOLOAD:=$(call AutoLoad,20,ipv6)
329 endef
330
331 define KernelPackage/ipv6/description
332 Kernel modules for IPv6 support
333 endef
334
335 $(eval $(call KernelPackage,ipv6))
336
337
338 # sit is not selectable on 2.4, but built when ipv6 is enabled
339 define KernelPackage/sit
340 SUBMENU:=$(NETWORK_SUPPORT_MENU)
341 DEPENDS:=+kmod-ipv6 +LINUX_2_6:kmod-iptunnel4
342 TITLE:=IPv6-in-IPv4 tunnelling
343 KCONFIG:=CONFIG_IPV6 CONFIG_IPV6_SIT
344 FILES:=$(LINUX_DIR)/net/ipv6/sit.$(LINUX_KMOD_SUFFIX)
345 AUTOLOAD:=$(call AutoLoad,32,sit)
346 endef
347
348 define KernelPackage/sit/description
349 Kernel modules for IPv6-in-IPv4 tunnelling
350 endef
351
352 $(eval $(call KernelPackage,sit))
353
354
355 define KernelPackage/ip6-tunnel
356 SUBMENU:=$(NETWORK_SUPPORT_MENU)
357 TITLE:=IP-in-IPv6 tunnelling
358 DEPENDS:= @LINUX_2_6 +kmod-ipv6 +kmod-iptunnel6
359 KCONFIG:= CONFIG_IPV6_TUNNEL
360 FILES:= $(foreach mod,ip6_tunnel, \
361 $(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \
362 )
363 AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
364 endef
365
366 define KernelPackage/ip6-tunnel/description
367 Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
368 endef
369
370 $(eval $(call KernelPackage,ip6-tunnel))
371
372
373 define KernelPackage/gre
374 SUBMENU:=$(NETWORK_SUPPORT_MENU)
375 TITLE:=GRE support
376 KCONFIG:=CONFIG_NET_IPGRE
377 FILES=$(LINUX_DIR)/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
378 endef
379
380 define KernelPackage/gre/description
381 Generic Routing Encapsulation support
382 endef
383
384 $(eval $(call KernelPackage,gre))
385
386
387 define KernelPackage/tun
388 SUBMENU:=$(NETWORK_SUPPORT_MENU)
389 TITLE:=Universal TUN/TAP driver
390 KCONFIG:=CONFIG_TUN
391 FILES:=$(LINUX_DIR)/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
392 AUTOLOAD:=$(call AutoLoad,30,tun)
393 endef
394
395 define KernelPackage/tun/description
396 Kernel support for the TUN/TAP tunneling device
397 endef
398
399 $(eval $(call KernelPackage,tun))
400
401
402 define KernelPackage/ppp
403 SUBMENU:=$(NETWORK_SUPPORT_MENU)
404 TITLE:=PPP modules
405 DEPENDS:=+LINUX_2_6:kmod-crc-ccitt
406 KCONFIG:= \
407 CONFIG_PPP \
408 CONFIG_PPP_ASYNC \
409 CONFIG_SLHC
410 FILES:= \
411 $(LINUX_DIR)/drivers/net/ppp_async.$(LINUX_KMOD_SUFFIX) \
412 $(LINUX_DIR)/drivers/net/ppp_generic.$(LINUX_KMOD_SUFFIX) \
413 $(LINUX_DIR)/drivers/net/slhc.$(LINUX_KMOD_SUFFIX)
414 AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
415 endef
416
417 define KernelPackage/ppp/description
418 Kernel modules for PPP support
419 endef
420
421 $(eval $(call KernelPackage,ppp))
422
423
424 define KernelPackage/ppp-synctty
425 SUBMENU:=$(NETWORK_SUPPORT_MENU)
426 TITLE:=PPP sync tty support
427 DEPENDS:=kmod-ppp
428 KCONFIG:=CONFIG_PPP_SYNC_TTY
429 FILES:=$(LINUX_DIR)/drivers/net/ppp_synctty.$(LINUX_KMOD_SUFFIX)
430 AUTOLOAD:=$(call AutoLoad,40,ppp_synctty)
431 endef
432
433 define KernelPackage/ppp-synctty/description
434 Kernel modules for PPP sync tty support
435 endef
436
437 $(eval $(call KernelPackage,ppp-synctty))
438
439
440 define KernelPackage/pppoe
441 SUBMENU:=$(NETWORK_SUPPORT_MENU)
442 TITLE:=PPPoE support
443 DEPENDS:=kmod-ppp
444 KCONFIG:=CONFIG_PPPOE
445 FILES:= \
446 $(LINUX_DIR)/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) \
447 $(LINUX_DIR)/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
448 endef
449
450 define KernelPackage/pppoe/description
451 Kernel modules for PPPoE (PPP over Ethernet) support
452 endef
453
454 $(eval $(call KernelPackage,pppoe))
455
456
457 define KernelPackage/pppoa
458 SUBMENU:=$(NETWORK_SUPPORT_MENU)
459 TITLE:=PPPoA support
460 DEPENDS:=kmod-ppp +kmod-atm
461 KCONFIG:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS=y
462 FILES:=$(LINUX_DIR)/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
463 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
464 endef
465
466 define KernelPackage/pppoa/description
467 Kernel modules for PPPoA (PPP over ATM) support
468 endef
469
470 $(eval $(call KernelPackage,pppoa))
471
472 define KernelPackage/pppol2tp
473 SUBMENU:=$(NETWORK_SUPPORT_MENU)
474 TITLE:=PPPoL2TP support
475 DEPENDS:=kmod-ppp +kmod-pppoe @!LINUX_2_6_21||!LINUX_2_6_25||!LINUX_2_6_27
476 KCONFIG:=CONFIG_PPPOL2TP
477 FILES:=$(LINUX_DIR)/drivers/net/pppol2tp.$(LINUX_KMOD_SUFFIX)
478 AUTOLOAD:=$(call AutoLoad,40,pppol2tp)
479 endef
480
481 define KernelPackage/pppol2tp/description
482 Kernel modules for PPPoL2TP (PPP over L2TP) support
483 endef
484
485 $(eval $(call KernelPackage,pppol2tp))
486
487
488 define KernelPackage/ipoa
489 SUBMENU:=$(NETWORK_SUPPORT_MENU)
490 TITLE:=IPoA support
491 DEPENDS:=kmod-atm
492 KCONFIG:=CONFIG_ATM_CLIP
493 FILES:=$(LINUX_DIR)/net/atm/clip.$(LINUX_KMOD_SUFFIX)
494 AUTOLOAD:=$(call AutoLoad,40,clip)
495 endef
496
497 define KernelPackage/ipoa/description
498 Kernel modules for IPoA (IP over ATM) support
499 endef
500
501 $(eval $(call KernelPackage,ipoa))
502
503
504 define KernelPackage/mppe
505 SUBMENU:=$(NETWORK_SUPPORT_MENU)
506 TITLE:=Microsoft PPP compression/encryption
507 DEPENDS:=kmod-ppp +kmod-crypto-arc4 +kmod-crypto-sha1
508 KCONFIG:= \
509 CONFIG_PPP_MPPE_MPPC \
510 CONFIG_PPP_MPPE
511 endef
512
513 define KernelPackage/mppe/2.4
514 # KCONFIG:=CONFIG_PPP_MPPE_MPPC
515 FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX)
516 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe_mppc)
517 endef
518
519 define KernelPackage/mppe/2.6
520 # KCONFIG:=CONFIG_PPP_MPPE
521 FILES:=$(LINUX_DIR)/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
522 AUTOLOAD:=$(call AutoLoad,31,ppp_mppe)
523 endef
524
525 define KernelPackage/mppe/description
526 Kernel modules for Microsoft PPP compression/encryption
527 endef
528
529 $(eval $(call KernelPackage,mppe))
530
531
532 define KernelPackage/sched
533 SUBMENU:=$(NETWORK_SUPPORT_MENU)
534 TITLE:=Traffic schedulers
535 KCONFIG:= \
536 CONFIG_NET_SCHED=y \
537 CONFIG_NET_SCH_DSMARK \
538 CONFIG_NET_SCH_ESFQ \
539 CONFIG_NET_SCH_ESFQ_NFCT=y \
540 CONFIG_NET_SCH_FIFO \
541 CONFIG_NET_SCH_GRED \
542 CONFIG_NET_SCH_HFSC \
543 CONFIG_NET_SCH_HTB \
544 CONFIG_NET_SCH_INGRESS \
545 CONFIG_NET_SCH_PRIO \
546 CONFIG_NET_SCH_RED \
547 CONFIG_NET_SCH_SFQ \
548 CONFIG_NET_SCH_TEQL \
549 CONFIG_NET_CLS=y \
550 CONFIG_NET_CLS_ACT=y \
551 CONFIG_NET_CLS_BASIC \
552 CONFIG_NET_CLS_FLOW \
553 CONFIG_NET_CLS_FW \
554 CONFIG_NET_CLS_ROUTE4 \
555 CONFIG_NET_CLS_TCINDEX \
556 CONFIG_NET_CLS_U32 \
557 CONFIG_NET_ACT_MIRRED \
558 CONFIG_NET_ACT_IPT \
559 CONFIG_NET_ACT_POLICE \
560 CONFIG_NET_EMATCH=y \
561 CONFIG_NET_EMATCH_CMP \
562 CONFIG_NET_EMATCH_NBYTE \
563 CONFIG_NET_EMATCH_U32 \
564 CONFIG_NET_EMATCH_META \
565 CONFIG_NET_EMATCH_TEXT
566 FILES:=$(LINUX_DIR)/net/sched/*.$(LINUX_KMOD_SUFFIX)
567 endef
568
569 define KernelPackage/sched/description
570 Kernel schedulers for IP traffic
571 endef
572
573 $(eval $(call KernelPackage,sched))
574
575
576 define KernelPackage/ax25
577 SUBMENU:=$(NETWORK_SUPPORT_MENU)
578 TITLE:=AX25 support
579 DEPENDS:=kmod-crc16
580 KCONFIG:= \
581 CONFIG_AX25 \
582 CONFIG_MKISS
583 FILES:= \
584 $(LINUX_DIR)/net/ax25/ax25.$(LINUX_KMOD_SUFFIX) \
585 $(LINUX_DIR)/drivers/net/hamradio/mkiss.$(LINUX_KMOD_SUFFIX)
586 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
587 endef
588
589 define KernelPackage/ax25/description
590 Kernel modules for AX25 support
591 endef
592
593 $(eval $(call KernelPackage,ax25))
594
595
596 define KernelPackage/mp-alg
597 SUBMENU:=$(NETWORK_SUPPORT_MENU)
598 TITLE:=ECMP caching algorithms
599 DEPENDS:=@LINUX_2_6
600 KCONFIG:= \
601 CONFIG_IP_ROUTE_MULTIPATH_RR \
602 CONFIG_IP_ROUTE_MULTIPATH_RANDOM \
603 CONFIG_IP_ROUTE_MULTIPATH_WRANDOM \
604 CONFIG_IP_ROUTE_MULTIPATH_DRR
605 FILES:= \
606 $(LINUX_DIR)/net/ipv4/multipath_rr.$(LINUX_KMOD_SUFFIX) \
607 $(LINUX_DIR)/net/ipv4/multipath_random.$(LINUX_KMOD_SUFFIX) \
608 $(LINUX_DIR)/net/ipv4/multipath_wrandom.$(LINUX_KMOD_SUFFIX) \
609 $(LINUX_DIR)/net/ipv4/multipath_drr.$(LINUX_KMOD_SUFFIX)
610 AUTOLOAD:=$(call AutoLoad,35,multipath_rr multipath_random multipath_wrandom multipath_drr)
611 endef
612
613 define KernelPackage/mp-alg/description
614 Kernel modules that provide several different algorithms for multipath
615 route selection from the route cache. The iproute "mpath" argument allows
616 specifying which algorithm to use for routes.
617 quagga (at least <=0.99.6) requires a multipath patch to support this
618 cached mp route feature.
619 endef
620
621 $(eval $(call KernelPackage,mp-alg))
622
623
624 define KernelPackage/pktgen
625 SUBMENU:=$(NETWORK_SUPPORT_MENU)
626 TITLE:=Network packet generator
627 DEPENDS:=@LINUX_2_6
628 KCONFIG:=CONFIG_NET_PKTGEN
629 FILES:=$(LINUX_DIR)/net/core/pktgen.$(LINUX_KMOD_SUFFIX)
630 AUTOLOAD:=$(call AutoLoad,99,pktgen)
631 endef
632
633 define KernelPackage/pktgen/description
634 Kernel modules for the Network Packet Generator
635 endef
636
637 $(eval $(call KernelPackage,pktgen))
638
This page took 0.0776 seconds and 5 git commands to generate.