kernel: remove kmod-appletalk
[openwrt/openwrt.git] / package / kernel / linux / modules / netsupport.mk
1 #
2 # Copyright (C) 2006-2011 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 KCONFIG:= \
14 CONFIG_ATM \
15 CONFIG_ATM_BR2684
16 FILES:= \
17 $(LINUX_DIR)/net/atm/atm.ko \
18 $(LINUX_DIR)/net/atm/br2684.ko
19 AUTOLOAD:=$(call AutoLoad,30,atm br2684)
20 endef
21
22 define KernelPackage/atm/description
23 Kernel modules for ATM support
24 endef
25
26 $(eval $(call KernelPackage,atm))
27
28
29 define KernelPackage/atmtcp
30 SUBMENU:=$(NETWORK_SUPPORT_MENU)
31 TITLE:=ATM over TCP
32 DEPENDS:=kmod-atm
33 KCONFIG:=CONFIG_ATM_TCP CONFIG_ATM_DRIVERS=y
34 FILES:=$(LINUX_DIR)/drivers/atm/atmtcp.ko
35 AUTOLOAD:=$(call AutoLoad,40,atmtcp)
36 endef
37
38 define KernelPackage/atmtcp/description
39 Kernel module for ATM over TCP support
40 endef
41
42 $(eval $(call KernelPackage,atmtcp))
43
44
45 define KernelPackage/bonding
46 SUBMENU:=$(NETWORK_SUPPORT_MENU)
47 TITLE:=Ethernet bonding driver
48 KCONFIG:=CONFIG_BONDING
49 FILES:=$(LINUX_DIR)/drivers/net/bonding/bonding.ko
50 AUTOLOAD:=$(call AutoLoad,40,bonding)
51 endef
52
53 define KernelPackage/bonding/description
54 Kernel module for NIC bonding.
55 endef
56
57 $(eval $(call KernelPackage,bonding))
58
59
60 define KernelPackage/udptunnel4
61 SUBMENU:=$(NETWORK_SUPPORT_MENU)
62 TITLE:=IPv4 UDP tunneling support
63 KCONFIG:= \
64 CONFIG_NET_UDP_TUNNEL \
65 CONFIG_VXLAN=m
66 HIDDEN:=1
67 FILES:=$(LINUX_DIR)/net/ipv4/udp_tunnel.ko
68 AUTOLOAD:=$(call AutoLoad,32,udp_tunnel)
69 endef
70
71
72 $(eval $(call KernelPackage,udptunnel4))
73
74 define KernelPackage/udptunnel6
75 SUBMENU:=$(NETWORK_SUPPORT_MENU)
76 TITLE:=IPv6 UDP tunneling support
77 DEPENDS:=@IPV6
78 KCONFIG:= \
79 CONFIG_NET_UDP_TUNNEL \
80 CONFIG_VXLAN=m
81 HIDDEN:=1
82 FILES:=$(LINUX_DIR)/net/ipv6/ip6_udp_tunnel.ko
83 AUTOLOAD:=$(call AutoLoad,32,ip6_udp_tunnel)
84 endef
85
86 $(eval $(call KernelPackage,udptunnel6))
87
88
89 define KernelPackage/vxlan
90 SUBMENU:=$(NETWORK_SUPPORT_MENU)
91 TITLE:=Native VXLAN Kernel support
92 DEPENDS:= \
93 +kmod-iptunnel \
94 +kmod-udptunnel4 \
95 +IPV6:kmod-udptunnel6
96 KCONFIG:=CONFIG_VXLAN
97 FILES:=$(LINUX_DIR)/drivers/net/vxlan.ko
98 AUTOLOAD:=$(call AutoLoad,13,vxlan)
99 endef
100
101 define KernelPackage/vxlan/description
102 Kernel module for supporting VXLAN in the Kernel.
103 Requires Kernel 3.12 or newer.
104 endef
105
106 $(eval $(call KernelPackage,vxlan))
107
108 define KernelPackage/capi
109 SUBMENU:=$(NETWORK_SUPPORT_MENU)
110 TITLE:=CAPI (ISDN) Support
111 KCONFIG:= \
112 CONFIG_ISDN_CAPI \
113 CONFIG_ISDN_CAPI_CAPI20 \
114 CONFIG_ISDN_CAPIFS \
115 CONFIG_ISDN_CAPI_CAPIFS
116 FILES:= \
117 $(LINUX_DIR)/drivers/isdn/capi/kernelcapi.ko \
118 $(LINUX_DIR)/drivers/isdn/capi/capi.ko
119 AUTOLOAD:=$(call AutoLoad,30,kernelcapi capi)
120 endef
121
122 define KernelPackage/capi/description
123 Kernel module for basic CAPI (ISDN) support
124 endef
125
126 $(eval $(call KernelPackage,capi))
127
128 define KernelPackage/misdn
129 SUBMENU:=$(NETWORK_SUPPORT_MENU)
130 TITLE:=mISDN (ISDN) Support
131 KCONFIG:= \
132 CONFIG_ISDN=y \
133 CONFIG_MISDN \
134 CONFIG_MISDN_DSP \
135 CONFIG_MISDN_L1OIP
136 FILES:= \
137 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_core.ko \
138 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_dsp.ko \
139 $(LINUX_DIR)/drivers/isdn/mISDN/l1oip.ko
140 AUTOLOAD:=$(call AutoLoad,30,mISDN_core mISDN_dsp l1oip)
141 endef
142
143 define KernelPackage/misdn/description
144 Modular ISDN driver support
145 endef
146
147 $(eval $(call KernelPackage,misdn))
148
149
150 define KernelPackage/isdn4linux
151 SUBMENU:=$(NETWORK_SUPPORT_MENU)
152 TITLE:=Old ISDN4Linux (deprecated)
153 DEPENDS:=+kmod-ppp
154 KCONFIG:= \
155 CONFIG_ISDN=y \
156 CONFIG_ISDN_I4L \
157 CONFIG_ISDN_PPP=y \
158 CONFIG_ISDN_PPP_VJ=y \
159 CONFIG_ISDN_MPP=y \
160 CONFIG_IPPP_FILTER=y \
161 CONFIG_ISDN_PPP_BSDCOMP \
162 CONFIG_ISDN_CAPI_MIDDLEWARE=y \
163 CONFIG_ISDN_CAPI_CAPIFS_BOOL=y \
164 CONFIG_ISDN_AUDIO=y \
165 CONFIG_ISDN_TTY_FAX=y \
166 CONFIG_ISDN_X25=y \
167 CONFIG_ISDN_DIVERSION
168 FILES:= \
169 $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.ko \
170 $(LINUX_DIR)/drivers/isdn/i4l/isdn.ko \
171 $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.ko
172 AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert)
173 endef
174
175 define KernelPackage/isdn4linux/description
176 This driver allows you to use an ISDN adapter for networking
177 endef
178
179 $(eval $(call KernelPackage,isdn4linux))
180
181
182 define KernelPackage/ipip
183 SUBMENU:=$(NETWORK_SUPPORT_MENU)
184 TITLE:=IP-in-IP encapsulation
185 DEPENDS:=+kmod-iptunnel +kmod-iptunnel4
186 KCONFIG:=CONFIG_NET_IPIP
187 FILES:=$(LINUX_DIR)/net/ipv4/ipip.ko
188 AUTOLOAD:=$(call AutoLoad,32,ipip)
189 endef
190
191 define KernelPackage/ipip/description
192 Kernel modules for IP-in-IP encapsulation
193 endef
194
195 $(eval $(call KernelPackage,ipip))
196
197
198 IPSEC-m:= \
199 xfrm/xfrm_algo \
200 xfrm/xfrm_ipcomp \
201 xfrm/xfrm_user \
202 key/af_key \
203
204 define KernelPackage/ipsec
205 SUBMENU:=$(NETWORK_SUPPORT_MENU)
206 TITLE:=IPsec related modules (IPv4 and IPv6)
207 DEPENDS:= \
208 +kmod-crypto-authenc +kmod-crypto-cbc +kmod-crypto-deflate \
209 +kmod-crypto-des +kmod-crypto-echainiv +kmod-crypto-hmac \
210 +kmod-crypto-iv +kmod-crypto-md5 +kmod-crypto-sha1
211 KCONFIG:= \
212 CONFIG_NET_KEY \
213 CONFIG_XFRM_USER \
214 CONFIG_INET_IPCOMP \
215 CONFIG_XFRM_IPCOMP
216 FILES:=$(foreach mod,$(IPSEC-m),$(LINUX_DIR)/net/$(mod).ko)
217 AUTOLOAD:=$(call AutoLoad,30,$(notdir $(IPSEC-m)))
218 endef
219
220 define KernelPackage/ipsec/description
221 Kernel modules for IPsec support in both IPv4 and IPv6.
222 Includes:
223 - af_key
224 - xfrm_algo
225 - xfrm_ipcomp
226 - xfrm_user
227 endef
228
229 $(eval $(call KernelPackage,ipsec))
230
231
232 IPSEC4-m:= \
233 ipv4/ah4 \
234 ipv4/esp4 \
235 ipv4/xfrm4_mode_beet \
236 ipv4/xfrm4_mode_transport \
237 ipv4/xfrm4_mode_tunnel \
238 ipv4/xfrm4_tunnel \
239 ipv4/ipcomp \
240
241 define KernelPackage/ipsec4
242 SUBMENU:=$(NETWORK_SUPPORT_MENU)
243 TITLE:=IPsec related modules (IPv4)
244 DEPENDS:=kmod-ipsec +kmod-iptunnel4
245 KCONFIG:= \
246 CONFIG_INET_AH \
247 CONFIG_INET_ESP \
248 CONFIG_INET_IPCOMP \
249 CONFIG_INET_XFRM_MODE_BEET \
250 CONFIG_INET_XFRM_MODE_TRANSPORT \
251 CONFIG_INET_XFRM_MODE_TUNNEL \
252 CONFIG_INET_XFRM_TUNNEL \
253 CONFIG_INET_ESP_OFFLOAD=n
254 FILES:=$(foreach mod,$(IPSEC4-m),$(LINUX_DIR)/net/$(mod).ko)
255 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC4-m)))
256 endef
257
258 define KernelPackage/ipsec4/description
259 Kernel modules for IPsec support in IPv4.
260 Includes:
261 - ah4
262 - esp4
263 - ipcomp4
264 - xfrm4_mode_beet
265 - xfrm4_mode_transport
266 - xfrm4_mode_tunnel
267 - xfrm4_tunnel
268 endef
269
270 $(eval $(call KernelPackage,ipsec4))
271
272
273 IPSEC6-m:= \
274 ipv6/ah6 \
275 ipv6/esp6 \
276 ipv6/xfrm6_mode_beet \
277 ipv6/xfrm6_mode_transport \
278 ipv6/xfrm6_mode_tunnel \
279 ipv6/xfrm6_tunnel \
280 ipv6/ipcomp6 \
281
282 define KernelPackage/ipsec6
283 SUBMENU:=$(NETWORK_SUPPORT_MENU)
284 TITLE:=IPsec related modules (IPv6)
285 DEPENDS:=kmod-ipsec +kmod-iptunnel6
286 KCONFIG:= \
287 CONFIG_INET6_AH \
288 CONFIG_INET6_ESP \
289 CONFIG_INET6_IPCOMP \
290 CONFIG_INET6_XFRM_MODE_BEET \
291 CONFIG_INET6_XFRM_MODE_TRANSPORT \
292 CONFIG_INET6_XFRM_MODE_TUNNEL \
293 CONFIG_INET6_XFRM_TUNNEL \
294 CONFIG_INET6_ESP_OFFLOAD=n
295 FILES:=$(foreach mod,$(IPSEC6-m),$(LINUX_DIR)/net/$(mod).ko)
296 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC6-m)))
297 endef
298
299 define KernelPackage/ipsec6/description
300 Kernel modules for IPsec support in IPv6.
301 Includes:
302 - ah6
303 - esp6
304 - ipcomp6
305 - xfrm6_mode_beet
306 - xfrm6_mode_transport
307 - xfrm6_mode_tunnel
308 - xfrm6_tunnel
309 endef
310
311 $(eval $(call KernelPackage,ipsec6))
312
313
314 define KernelPackage/iptunnel
315 SUBMENU:=$(NETWORK_SUPPORT_MENU)
316 TITLE:=IP tunnel support
317 HIDDEN:=1
318 KCONFIG:= \
319 CONFIG_NET_IP_TUNNEL
320 FILES:=$(LINUX_DIR)/net/ipv4/ip_tunnel.ko
321 AUTOLOAD:=$(call AutoLoad,31,ip_tunnel)
322 endef
323
324 define KernelPackage/iptunnel/description
325 Kernel module for generic IP tunnel support
326 endef
327
328 $(eval $(call KernelPackage,iptunnel))
329
330
331 define KernelPackage/ip-vti
332 SUBMENU:=$(NETWORK_SUPPORT_MENU)
333 TITLE:=IP VTI (Virtual Tunnel Interface)
334 DEPENDS:=+kmod-iptunnel +kmod-iptunnel4 +kmod-ipsec4
335 KCONFIG:=CONFIG_NET_IPVTI
336 FILES:=$(LINUX_DIR)/net/ipv4/ip_vti.ko
337 AUTOLOAD:=$(call AutoLoad,33,ip_vti)
338 endef
339
340 define KernelPackage/ip-vti/description
341 Kernel modules for IP VTI (Virtual Tunnel Interface)
342 endef
343
344 $(eval $(call KernelPackage,ip-vti))
345
346
347 define KernelPackage/ip6-vti
348 SUBMENU:=$(NETWORK_SUPPORT_MENU)
349 TITLE:=IPv6 VTI (Virtual Tunnel Interface)
350 DEPENDS:=+kmod-iptunnel +kmod-ip6-tunnel +kmod-ipsec6
351 KCONFIG:=CONFIG_IPV6_VTI
352 FILES:=$(LINUX_DIR)/net/ipv6/ip6_vti.ko
353 AUTOLOAD:=$(call AutoLoad,33,ip6_vti)
354 endef
355
356 define KernelPackage/ip6-vti/description
357 Kernel modules for IPv6 VTI (Virtual Tunnel Interface)
358 endef
359
360 $(eval $(call KernelPackage,ip6-vti))
361
362
363 define KernelPackage/iptunnel4
364 SUBMENU:=$(NETWORK_SUPPORT_MENU)
365 TITLE:=IPv4 tunneling
366 HIDDEN:=1
367 KCONFIG:= \
368 CONFIG_INET_TUNNEL \
369 CONFIG_NET_IPIP=m
370 FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.ko
371 AUTOLOAD:=$(call AutoLoad,31,tunnel4)
372 endef
373
374 define KernelPackage/iptunnel4/description
375 Kernel modules for IPv4 tunneling
376 endef
377
378 $(eval $(call KernelPackage,iptunnel4))
379
380
381 define KernelPackage/iptunnel6
382 SUBMENU:=$(NETWORK_SUPPORT_MENU)
383 TITLE:=IPv6 tunneling
384 DEPENDS:=@IPV6
385 KCONFIG:= \
386 CONFIG_INET6_TUNNEL
387 FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.ko
388 AUTOLOAD:=$(call AutoLoad,31,tunnel6)
389 endef
390
391 define KernelPackage/iptunnel6/description
392 Kernel modules for IPv6 tunneling
393 endef
394
395 $(eval $(call KernelPackage,iptunnel6))
396
397
398 define KernelPackage/sit
399 SUBMENU:=$(NETWORK_SUPPORT_MENU)
400 DEPENDS:=@IPV6 +kmod-iptunnel +kmod-iptunnel4
401 TITLE:=IPv6-in-IPv4 tunnel
402 KCONFIG:=CONFIG_IPV6_SIT \
403 CONFIG_IPV6_SIT_6RD=y
404 FILES:=$(LINUX_DIR)/net/ipv6/sit.ko
405 AUTOLOAD:=$(call AutoLoad,32,sit)
406 endef
407
408 define KernelPackage/sit/description
409 Kernel modules for IPv6-in-IPv4 tunnelling
410 endef
411
412 $(eval $(call KernelPackage,sit))
413
414
415 define KernelPackage/fou
416 SUBMENU:=$(NETWORK_SUPPORT_MENU)
417 TITLE:=FOU and GUE decapsulation
418 DEPENDS:= \
419 +kmod-iptunnel \
420 +kmod-udptunnel4 \
421 +IPV6:kmod-udptunnel6
422 KCONFIG:= \
423 CONFIG_NET_FOU \
424 CONFIG_NET_FOU_IP_TUNNELS=y
425 FILES:=$(LINUX_DIR)/net/ipv4/fou.ko
426 AUTOLOAD:=$(call AutoProbe,fou)
427 endef
428
429 define KernelPackage/fou/description
430 Kernel module for FOU (Foo over UDP) and GUE (Generic UDP Encapsulation) tunnelling.
431 Requires Kernel 3.18 or newer.
432 endef
433
434 $(eval $(call KernelPackage,fou))
435
436
437 define KernelPackage/ip6-tunnel
438 SUBMENU:=$(NETWORK_SUPPORT_MENU)
439 TITLE:=IP-in-IPv6 tunnelling
440 DEPENDS:=@IPV6 +kmod-iptunnel6
441 KCONFIG:= CONFIG_IPV6_TUNNEL
442 FILES:=$(LINUX_DIR)/net/ipv6/ip6_tunnel.ko
443 AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
444 endef
445
446 define KernelPackage/ip6-tunnel/description
447 Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
448 endef
449
450 $(eval $(call KernelPackage,ip6-tunnel))
451
452
453 define KernelPackage/gre
454 SUBMENU:=$(NETWORK_SUPPORT_MENU)
455 TITLE:=GRE support
456 DEPENDS:=+kmod-iptunnel
457 KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
458 FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
459 AUTOLOAD:=$(call AutoLoad,39,gre ip_gre)
460 endef
461
462 define KernelPackage/gre/description
463 Generic Routing Encapsulation support
464 endef
465
466 $(eval $(call KernelPackage,gre))
467
468
469 define KernelPackage/gre6
470 SUBMENU:=$(NETWORK_SUPPORT_MENU)
471 TITLE:=GRE support over IPV6
472 DEPENDS:=@IPV6 +kmod-iptunnel +kmod-ip6-tunnel +kmod-gre
473 KCONFIG:=CONFIG_IPV6_GRE
474 FILES:=$(LINUX_DIR)/net/ipv6/ip6_gre.ko
475 AUTOLOAD:=$(call AutoLoad,39,ip6_gre)
476 endef
477
478 define KernelPackage/gre6/description
479 Generic Routing Encapsulation support over IPv6
480 endef
481
482 $(eval $(call KernelPackage,gre6))
483
484
485 define KernelPackage/tun
486 SUBMENU:=$(NETWORK_SUPPORT_MENU)
487 TITLE:=Universal TUN/TAP driver
488 KCONFIG:=CONFIG_TUN
489 FILES:=$(LINUX_DIR)/drivers/net/tun.ko
490 AUTOLOAD:=$(call AutoLoad,30,tun)
491 endef
492
493 define KernelPackage/tun/description
494 Kernel support for the TUN/TAP tunneling device
495 endef
496
497 $(eval $(call KernelPackage,tun))
498
499
500 define KernelPackage/veth
501 SUBMENU:=$(NETWORK_SUPPORT_MENU)
502 TITLE:=Virtual ethernet pair device
503 KCONFIG:=CONFIG_VETH
504 FILES:=$(LINUX_DIR)/drivers/net/veth.ko
505 AUTOLOAD:=$(call AutoLoad,30,veth)
506 endef
507
508 define KernelPackage/veth/description
509 This device is a local ethernet tunnel. Devices are created in pairs.
510 When one end receives the packet it appears on its pair and vice
511 versa.
512 endef
513
514 $(eval $(call KernelPackage,veth))
515
516
517 define KernelPackage/slhc
518 SUBMENU:=$(NETWORK_SUPPORT_MENU)
519 HIDDEN:=1
520 TITLE:=Serial Line Header Compression
521 DEPENDS:=+kmod-lib-crc-ccitt
522 KCONFIG:=CONFIG_SLHC
523 FILES:=$(LINUX_DIR)/drivers/net/slip/slhc.ko
524 endef
525
526 $(eval $(call KernelPackage,slhc))
527
528
529 define KernelPackage/ppp
530 SUBMENU:=$(NETWORK_SUPPORT_MENU)
531 TITLE:=PPP modules
532 DEPENDS:=+kmod-lib-crc-ccitt +kmod-slhc
533 KCONFIG:= \
534 CONFIG_PPP \
535 CONFIG_PPP_ASYNC
536 FILES:= \
537 $(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \
538 $(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko
539 AUTOLOAD:=$(call AutoProbe,ppp_async)
540 endef
541
542 define KernelPackage/ppp/description
543 Kernel modules for PPP support
544 endef
545
546 $(eval $(call KernelPackage,ppp))
547
548
549 define KernelPackage/ppp-synctty
550 SUBMENU:=$(NETWORK_SUPPORT_MENU)
551 TITLE:=PPP sync tty support
552 DEPENDS:=kmod-ppp
553 KCONFIG:=CONFIG_PPP_SYNC_TTY
554 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_synctty.ko
555 AUTOLOAD:=$(call AutoProbe,ppp_synctty)
556 endef
557
558 define KernelPackage/ppp-synctty/description
559 Kernel modules for PPP sync tty support
560 endef
561
562 $(eval $(call KernelPackage,ppp-synctty))
563
564
565 define KernelPackage/pppox
566 SUBMENU:=$(NETWORK_SUPPORT_MENU)
567 TITLE:=PPPoX helper
568 DEPENDS:=kmod-ppp
569 KCONFIG:=CONFIG_PPPOE
570 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppox.ko
571 endef
572
573 define KernelPackage/pppox/description
574 Kernel helper module for PPPoE and PPTP support
575 endef
576
577 $(eval $(call KernelPackage,pppox))
578
579
580 define KernelPackage/pppoe
581 SUBMENU:=$(NETWORK_SUPPORT_MENU)
582 TITLE:=PPPoE support
583 DEPENDS:=kmod-ppp +kmod-pppox
584 KCONFIG:=CONFIG_PPPOE
585 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppoe.ko
586 AUTOLOAD:=$(call AutoProbe,pppoe)
587 endef
588
589 define KernelPackage/pppoe/description
590 Kernel module for PPPoE (PPP over Ethernet) support
591 endef
592
593 $(eval $(call KernelPackage,pppoe))
594
595
596 define KernelPackage/pppoa
597 SUBMENU:=$(NETWORK_SUPPORT_MENU)
598 TITLE:=PPPoA support
599 DEPENDS:=kmod-ppp +kmod-atm
600 KCONFIG:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS=y
601 FILES:=$(LINUX_DIR)/net/atm/pppoatm.ko
602 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
603 endef
604
605 define KernelPackage/pppoa/description
606 Kernel modules for PPPoA (PPP over ATM) support
607 endef
608
609 $(eval $(call KernelPackage,pppoa))
610
611
612 define KernelPackage/pptp
613 SUBMENU:=$(NETWORK_SUPPORT_MENU)
614 TITLE:=PPtP support
615 DEPENDS:=kmod-ppp +kmod-gre +kmod-pppox
616 KCONFIG:=CONFIG_PPTP
617 FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko
618 AUTOLOAD:=$(call AutoProbe,pptp)
619 endef
620
621 $(eval $(call KernelPackage,pptp))
622
623
624 define KernelPackage/pppol2tp
625 SUBMENU:=$(NETWORK_SUPPORT_MENU)
626 TITLE:=PPPoL2TP support
627 DEPENDS:=kmod-ppp +kmod-pppox +kmod-l2tp
628 KCONFIG:=CONFIG_PPPOL2TP
629 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ppp.ko
630 AUTOLOAD:=$(call AutoProbe,l2tp_ppp)
631 endef
632
633 define KernelPackage/pppol2tp/description
634 Kernel modules for PPPoL2TP (PPP over L2TP) support
635 endef
636
637 $(eval $(call KernelPackage,pppol2tp))
638
639
640 define KernelPackage/ipoa
641 SUBMENU:=$(NETWORK_SUPPORT_MENU)
642 TITLE:=IPoA support
643 DEPENDS:=kmod-atm
644 KCONFIG:=CONFIG_ATM_CLIP
645 FILES:=$(LINUX_DIR)/net/atm/clip.ko
646 AUTOLOAD:=$(call AutoProbe,clip)
647 endef
648
649 define KernelPackage/ipoa/description
650 Kernel modules for IPoA (IP over ATM) support
651 endef
652
653 $(eval $(call KernelPackage,ipoa))
654
655
656 define KernelPackage/mppe
657 SUBMENU:=$(NETWORK_SUPPORT_MENU)
658 TITLE:=Microsoft PPP compression/encryption
659 DEPENDS:=kmod-ppp +kmod-crypto-sha1 +kmod-crypto-ecb
660 KCONFIG:= \
661 CONFIG_PPP_MPPE_MPPC \
662 CONFIG_PPP_MPPE
663 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_mppe.ko
664 AUTOLOAD:=$(call AutoProbe,ppp_mppe)
665 endef
666
667 define KernelPackage/mppe/description
668 Kernel modules for Microsoft PPP compression/encryption
669 endef
670
671 $(eval $(call KernelPackage,mppe))
672
673
674 SCHED_MODULES = $(patsubst $(LINUX_DIR)/net/sched/%.ko,%,$(wildcard $(LINUX_DIR)/net/sched/*.ko))
675 SCHED_MODULES_CORE = sch_ingress sch_fq_codel sch_hfsc sch_htb sch_tbf cls_fw cls_route cls_flow cls_tcindex cls_u32 em_u32 act_mirred act_skbedit
676 SCHED_MODULES_FILTER = $(SCHED_MODULES_CORE) act_connmark sch_netem
677 SCHED_MODULES_EXTRA = $(filter-out $(SCHED_MODULES_FILTER),$(SCHED_MODULES))
678 SCHED_FILES = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(filter $(SCHED_MODULES_CORE),$(SCHED_MODULES)))
679 SCHED_FILES_EXTRA = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(SCHED_MODULES_EXTRA))
680
681 define KernelPackage/sched-core
682 SUBMENU:=$(NETWORK_SUPPORT_MENU)
683 TITLE:=Traffic schedulers
684 KCONFIG:= \
685 CONFIG_NET_SCHED=y \
686 CONFIG_NET_SCH_HFSC \
687 CONFIG_NET_SCH_HTB \
688 CONFIG_NET_SCH_TBF \
689 CONFIG_NET_SCH_INGRESS \
690 CONFIG_NET_SCH_FQ_CODEL \
691 CONFIG_NET_CLS=y \
692 CONFIG_NET_CLS_ACT=y \
693 CONFIG_NET_CLS_FLOW \
694 CONFIG_NET_CLS_FW \
695 CONFIG_NET_CLS_ROUTE4 \
696 CONFIG_NET_CLS_TCINDEX \
697 CONFIG_NET_CLS_U32 \
698 CONFIG_NET_ACT_MIRRED \
699 CONFIG_NET_ACT_SKBEDIT \
700 CONFIG_NET_EMATCH=y \
701 CONFIG_NET_EMATCH_U32
702 FILES:=$(SCHED_FILES)
703 AUTOLOAD:=$(call AutoLoad,70, $(SCHED_MODULES_CORE))
704 endef
705
706 define KernelPackage/sched-core/description
707 Core kernel scheduler support for IP traffic
708 endef
709
710 $(eval $(call KernelPackage,sched-core))
711
712
713 define KernelPackage/sched-connmark
714 SUBMENU:=$(NETWORK_SUPPORT_MENU)
715 TITLE:=Traffic shaper conntrack mark support
716 DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-ipt-conntrack-extra
717 KCONFIG:=CONFIG_NET_ACT_CONNMARK
718 FILES:=$(LINUX_DIR)/net/sched/act_connmark.ko
719 AUTOLOAD:=$(call AutoLoad,71, act_connmark)
720 endef
721 $(eval $(call KernelPackage,sched-connmark))
722
723 define KernelPackage/sched
724 SUBMENU:=$(NETWORK_SUPPORT_MENU)
725 TITLE:=Extra traffic schedulers
726 DEPENDS:=+kmod-sched-core +kmod-ipt-core
727 KCONFIG:= \
728 CONFIG_NET_SCH_CODEL \
729 CONFIG_NET_SCH_DSMARK \
730 CONFIG_NET_SCH_FIFO \
731 CONFIG_NET_SCH_GRED \
732 CONFIG_NET_SCH_MULTIQ \
733 CONFIG_NET_SCH_PRIO \
734 CONFIG_NET_SCH_RED \
735 CONFIG_NET_SCH_SFQ \
736 CONFIG_NET_SCH_TEQL \
737 CONFIG_NET_SCH_FQ \
738 CONFIG_NET_SCH_PIE \
739 CONFIG_NET_CLS_BASIC \
740 CONFIG_NET_ACT_POLICE \
741 CONFIG_NET_ACT_IPT \
742 CONFIG_NET_EMATCH_CMP \
743 CONFIG_NET_EMATCH_NBYTE \
744 CONFIG_NET_EMATCH_META \
745 CONFIG_NET_EMATCH_TEXT
746 FILES:=$(SCHED_FILES_EXTRA)
747 AUTOLOAD:=$(call AutoLoad,73, $(SCHED_MODULES_EXTRA))
748 endef
749
750 define KernelPackage/sched/description
751 Extra kernel schedulers modules for IP traffic
752 endef
753
754 $(eval $(call KernelPackage,sched))
755
756
757 define KernelPackage/ax25
758 SUBMENU:=$(NETWORK_SUPPORT_MENU)
759 TITLE:=AX25 support
760 DEPENDS:=+kmod-lib-crc16
761 KCONFIG:= \
762 CONFIG_HAMRADIO=y \
763 CONFIG_AX25 \
764 CONFIG_MKISS
765 FILES:= \
766 $(LINUX_DIR)/net/ax25/ax25.ko \
767 $(LINUX_DIR)/drivers/net/hamradio/mkiss.ko
768 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
769 endef
770
771 define KernelPackage/ax25/description
772 Kernel modules for AX25 support
773 endef
774
775 $(eval $(call KernelPackage,ax25))
776
777
778 define KernelPackage/pktgen
779 SUBMENU:=$(NETWORK_SUPPORT_MENU)
780 DEPENDS:=@!TARGET_uml
781 TITLE:=Network packet generator
782 KCONFIG:=CONFIG_NET_PKTGEN
783 FILES:=$(LINUX_DIR)/net/core/pktgen.ko
784 AUTOLOAD:=$(call AutoLoad,99,pktgen)
785 endef
786
787 define KernelPackage/pktgen/description
788 Kernel modules for the Network Packet Generator
789 endef
790
791 $(eval $(call KernelPackage,pktgen))
792
793 define KernelPackage/l2tp
794 SUBMENU:=$(NETWORK_SUPPORT_MENU)
795 TITLE:=Layer Two Tunneling Protocol (L2TP)
796 DEPENDS:= \
797 +kmod-udptunnel4 \
798 +IPV6:kmod-udptunnel6
799 KCONFIG:=CONFIG_L2TP \
800 CONFIG_L2TP_V3=y \
801 CONFIG_L2TP_DEBUGFS=n
802 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_core.ko \
803 $(LINUX_DIR)/net/l2tp/l2tp_netlink.ko
804 AUTOLOAD:=$(call AutoLoad,32,l2tp_core l2tp_netlink)
805 endef
806
807 define KernelPackage/l2tp/description
808 Kernel modules for L2TP V3 Support
809 endef
810
811 $(eval $(call KernelPackage,l2tp))
812
813
814 define KernelPackage/l2tp-eth
815 SUBMENU:=$(NETWORK_SUPPORT_MENU)
816 TITLE:=L2TP ethernet pseudowire support for L2TPv3
817 DEPENDS:=+kmod-l2tp
818 KCONFIG:=CONFIG_L2TP_ETH
819 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_eth.ko
820 AUTOLOAD:=$(call AutoLoad,33,l2tp_eth)
821 endef
822
823 define KernelPackage/l2tp-eth/description
824 Kernel modules for L2TP ethernet pseudowire support for L2TPv3
825 endef
826
827 $(eval $(call KernelPackage,l2tp-eth))
828
829 define KernelPackage/l2tp-ip
830 SUBMENU:=$(NETWORK_SUPPORT_MENU)
831 TITLE:=L2TP IP encapsulation for L2TPv3
832 DEPENDS:=+kmod-l2tp
833 KCONFIG:=CONFIG_L2TP_IP
834 FILES:= \
835 $(LINUX_DIR)/net/l2tp/l2tp_ip.ko \
836 $(if $(CONFIG_IPV6),$(LINUX_DIR)/net/l2tp/l2tp_ip6.ko)
837 AUTOLOAD:=$(call AutoLoad,33,l2tp_ip $(if $(CONFIG_IPV6),l2tp_ip6))
838 endef
839
840 define KernelPackage/l2tp-ip/description
841 Kernel modules for L2TP IP encapsulation for L2TPv3
842 endef
843
844 $(eval $(call KernelPackage,l2tp-ip))
845
846
847 define KernelPackage/sctp
848 SUBMENU:=$(NETWORK_SUPPORT_MENU)
849 TITLE:=SCTP protocol kernel support
850 KCONFIG:=\
851 CONFIG_IP_SCTP \
852 CONFIG_SCTP_DBG_MSG=n \
853 CONFIG_SCTP_DBG_OBJCNT=n \
854 CONFIG_SCTP_HMAC_NONE=n \
855 CONFIG_SCTP_HMAC_SHA1=n \
856 CONFIG_SCTP_HMAC_MD5=y \
857 CONFIG_SCTP_COOKIE_HMAC_SHA1=n \
858 CONFIG_SCTP_COOKIE_HMAC_MD5=y \
859 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE=n \
860 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=n \
861 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
862 FILES:= $(LINUX_DIR)/net/sctp/sctp.ko
863 AUTOLOAD:= $(call AutoLoad,32,sctp)
864 DEPENDS:=+kmod-lib-crc32c +kmod-crypto-md5 +kmod-crypto-hmac
865 endef
866
867 define KernelPackage/sctp/description
868 Kernel modules for SCTP protocol support
869 endef
870
871 $(eval $(call KernelPackage,sctp))
872
873
874 define KernelPackage/netem
875 SUBMENU:=$(NETWORK_SUPPORT_MENU)
876 TITLE:=Network emulation functionality
877 DEPENDS:=+kmod-sched
878 KCONFIG:=CONFIG_NET_SCH_NETEM
879 FILES:=$(LINUX_DIR)/net/sched/sch_netem.ko
880 AUTOLOAD:=$(call AutoLoad,99,netem)
881 endef
882
883 define KernelPackage/netem/description
884 Kernel modules for emulating the properties of wide area networks
885 endef
886
887 $(eval $(call KernelPackage,netem))
888
889 define KernelPackage/slip
890 SUBMENU:=$(NETWORK_SUPPORT_MENU)
891 DEPENDS:=+kmod-slhc
892 TITLE:=SLIP modules
893 KCONFIG:= \
894 CONFIG_SLIP \
895 CONFIG_SLIP_COMPRESSED=y \
896 CONFIG_SLIP_SMART=y \
897 CONFIG_SLIP_MODE_SLIP6=y
898
899 FILES:= \
900 $(LINUX_DIR)/drivers/net/slip/slip.ko
901 AUTOLOAD:=$(call AutoLoad,30,slip)
902 endef
903
904 define KernelPackage/slip/description
905 Kernel modules for SLIP support
906 endef
907
908 $(eval $(call KernelPackage,slip))
909
910 define KernelPackage/dnsresolver
911 SUBMENU:=$(NETWORK_SUPPORT_MENU)
912 TITLE:=In-kernel DNS Resolver
913 KCONFIG:= CONFIG_DNS_RESOLVER
914 FILES:=$(LINUX_DIR)/net/dns_resolver/dns_resolver.ko
915 AUTOLOAD:=$(call AutoLoad,30,dns_resolver)
916 endef
917
918 $(eval $(call KernelPackage,dnsresolver))
919
920 define KernelPackage/rxrpc
921 SUBMENU:=$(NETWORK_SUPPORT_MENU)
922 TITLE:=AF_RXRPC support
923 HIDDEN:=1
924 KCONFIG:= \
925 CONFIG_AF_RXRPC \
926 CONFIG_RXKAD=m \
927 CONFIG_AF_RXRPC_DEBUG=n
928 FILES:= \
929 $(LINUX_DIR)/net/rxrpc/af-rxrpc.ko@lt4.11 \
930 $(LINUX_DIR)/net/rxrpc/rxrpc.ko@ge4.11 \
931 $(LINUX_DIR)/net/rxrpc/rxkad.ko@lt4.7
932 AUTOLOAD:=$(call AutoLoad,30,rxkad@lt4.7 af-rxrpc.ko@lt4.11 rxrpc.ko@ge4.11)
933 DEPENDS:= +kmod-crypto-manager +kmod-crypto-pcbc +kmod-crypto-fcrypt
934 endef
935
936 define KernelPackage/rxrpc/description
937 Kernel support for AF_RXRPC; required for AFS client
938 endef
939
940 $(eval $(call KernelPackage,rxrpc))
941
942 define KernelPackage/mpls
943 SUBMENU:=$(NETWORK_SUPPORT_MENU)
944 TITLE:=MPLS support
945 DEPENDS:=@!(LINUX_3_18||LINUX_4_1)
946 KCONFIG:= \
947 CONFIG_MPLS=y \
948 CONFIG_LWTUNNEL=y \
949 CONFIG_LWTUNNEL_BPF=n \
950 CONFIG_NET_MPLS_GSO=m \
951 CONFIG_MPLS_ROUTING=m \
952 CONFIG_MPLS_IPTUNNEL=m
953 FILES:= \
954 $(LINUX_DIR)/net/mpls/mpls_gso.ko \
955 $(LINUX_DIR)/net/mpls/mpls_iptunnel.ko \
956 $(LINUX_DIR)/net/mpls/mpls_router.ko
957 AUTOLOAD:=$(call AutoLoad,30,mpls_router mpls_iptunnel mpls_gso)
958 endef
959
960 define KernelPackage/mpls/description
961 Kernel support for MPLS
962 endef
963
964 $(eval $(call KernelPackage,mpls))
965
966 define KernelPackage/9pnet
967 SUBMENU:=$(NETWORK_SUPPORT_MENU)
968 TITLE:=Plan 9 Resource Sharing Support (9P2000)
969 DEPENDS:=@VIRTIO_SUPPORT
970 KCONFIG:= \
971 CONFIG_NET_9P \
972 CONFIG_NET_9P_DEBUG=n \
973 CONFIG_NET_9P_XEN=n \
974 CONFIG_NET_9P_VIRTIO
975 FILES:= \
976 $(LINUX_DIR)/net/9p/9pnet.ko \
977 $(LINUX_DIR)/net/9p/9pnet_virtio.ko
978 AUTOLOAD:=$(call AutoLoad,29,9pnet 9pnet_virtio)
979 endef
980
981 define KernelPackage/9pnet/description
982 Kernel support support for
983 Plan 9 resource sharing via the 9P2000 protocol.
984 endef
985
986 $(eval $(call KernelPackage,9pnet))
987
988
989 define KernelPackage/nlmon
990 SUBMENU:=$(NETWORK_SUPPORT_MENU)
991 TITLE:=Virtual netlink monitoring device
992 KCONFIG:=CONFIG_NLMON
993 FILES:=$(LINUX_DIR)/drivers/net/nlmon.ko
994 AUTOLOAD:=$(call AutoProbe,nlmon)
995 endef
996
997 define KernelPackage/nlmon/description
998 Kernel module which adds a monitoring device for netlink.
999 endef
1000
1001 $(eval $(call KernelPackage,nlmon))
1002
1003
1004 define KernelPackage/mdio
1005 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1006 TITLE:=MDIO (clause 45) PHY support
1007 KCONFIG:=CONFIG_MDIO
1008 HIDDEN:=1
1009 FILES:=$(LINUX_DIR)/drivers/net/mdio.ko
1010 AUTOLOAD:=$(call AutoLoad,32,mdio)
1011 endef
1012
1013 define KernelPackage/mdio/description
1014 Kernel modules for MDIO (clause 45) PHY support
1015 endef
1016
1017 $(eval $(call KernelPackage,mdio))
1018
1019 define KernelPackage/macsec
1020 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1021 TITLE:=IEEE 802.1AE MAC-level encryption (MAC)
1022 DEPENDS:=+kmod-crypto-gcm @!LINUX_3_18 @!LINUX_4_1 @!LINUX_4_4
1023 KCONFIG:=CONFIG_MACSEC
1024 FILES:=$(LINUX_DIR)/drivers/net/macsec.ko
1025 AUTOLOAD:=$(call AutoLoad,13,macsec)
1026 endef
1027
1028 define KernelPackage/macsec/description
1029 MACsec is an encryption standard for Ethernet.
1030 endef
1031
1032 $(eval $(call KernelPackage,macsec))