d287e4627064de4138ab39040c29b11fe5499ab2
[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
109 define KernelPackage/geneve
110 SUBMENU:=$(NETWORK_SUPPORT_MENU)
111 TITLE:=Generic Network Virtualization Encapsulation (Geneve) support
112 DEPENDS:= \
113 +kmod-iptunnel \
114 +kmod-udptunnel4 \
115 +IPV6:kmod-udptunnel6
116 KCONFIG:=CONFIG_GENEVE
117 FILES:= \
118 $(LINUX_DIR)/drivers/net/geneve.ko
119 AUTOLOAD:=$(call AutoLoad,13,geneve)
120 endef
121
122 define KernelPackage/geneve/description
123 Kernel module for supporting Geneve in the Kernel.
124 Requires Kernel 3.18 or newer.
125 endef
126
127 $(eval $(call KernelPackage,geneve))
128
129
130 define KernelPackage/nsh
131 SUBMENU:=$(NETWORK_SUPPORT_MENU)
132 TITLE:=Network Service Header (NSH) protocol
133 DEPENDS:=
134 KCONFIG:=CONFIG_NET_NSH
135 FILES:=$(LINUX_DIR)/net/nsh/nsh.ko
136 AUTOLOAD:=$(call AutoLoad,13,nsh)
137 endef
138
139 define KernelPackage/nsh/description
140 Network Service Header is an implementation of Service Function
141 Chaining (RFC 7665). Requires kernel 4.14 or newer
142 endef
143
144 $(eval $(call KernelPackage,nsh))
145
146
147 define KernelPackage/misdn
148 SUBMENU:=$(NETWORK_SUPPORT_MENU)
149 TITLE:=mISDN (ISDN) Support
150 KCONFIG:= \
151 CONFIG_ISDN=y \
152 CONFIG_MISDN \
153 CONFIG_MISDN_DSP \
154 CONFIG_MISDN_L1OIP
155 FILES:= \
156 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_core.ko \
157 $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_dsp.ko \
158 $(LINUX_DIR)/drivers/isdn/mISDN/l1oip.ko
159 AUTOLOAD:=$(call AutoLoad,30,mISDN_core mISDN_dsp l1oip)
160 endef
161
162 define KernelPackage/misdn/description
163 Modular ISDN driver support
164 endef
165
166 $(eval $(call KernelPackage,misdn))
167
168
169 define KernelPackage/isdn4linux
170 SUBMENU:=$(NETWORK_SUPPORT_MENU)
171 TITLE:=Old ISDN4Linux (deprecated)
172 DEPENDS:=+kmod-ppp
173 KCONFIG:= \
174 CONFIG_ISDN=y \
175 CONFIG_ISDN_I4L \
176 CONFIG_ISDN_PPP=y \
177 CONFIG_ISDN_PPP_VJ=y \
178 CONFIG_ISDN_MPP=y \
179 CONFIG_IPPP_FILTER=y \
180 CONFIG_ISDN_PPP_BSDCOMP \
181 CONFIG_ISDN_CAPI_MIDDLEWARE=y \
182 CONFIG_ISDN_CAPI_CAPIFS_BOOL=y \
183 CONFIG_ISDN_AUDIO=y \
184 CONFIG_ISDN_TTY_FAX=y \
185 CONFIG_ISDN_X25=y \
186 CONFIG_ISDN_DIVERSION
187 FILES:= \
188 $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.ko \
189 $(LINUX_DIR)/drivers/isdn/i4l/isdn.ko \
190 $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.ko
191 AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert)
192 endef
193
194 define KernelPackage/isdn4linux/description
195 This driver allows you to use an ISDN adapter for networking
196 endef
197
198 $(eval $(call KernelPackage,isdn4linux))
199
200
201 define KernelPackage/ipip
202 SUBMENU:=$(NETWORK_SUPPORT_MENU)
203 TITLE:=IP-in-IP encapsulation
204 DEPENDS:=+kmod-iptunnel +kmod-iptunnel4
205 KCONFIG:=CONFIG_NET_IPIP
206 FILES:=$(LINUX_DIR)/net/ipv4/ipip.ko
207 AUTOLOAD:=$(call AutoLoad,32,ipip)
208 endef
209
210 define KernelPackage/ipip/description
211 Kernel modules for IP-in-IP encapsulation
212 endef
213
214 $(eval $(call KernelPackage,ipip))
215
216
217 IPSEC-m:= \
218 xfrm/xfrm_algo \
219 xfrm/xfrm_ipcomp \
220 xfrm/xfrm_user \
221 key/af_key \
222
223 define KernelPackage/ipsec
224 SUBMENU:=$(NETWORK_SUPPORT_MENU)
225 TITLE:=IPsec related modules (IPv4 and IPv6)
226 DEPENDS:= \
227 +kmod-crypto-authenc +kmod-crypto-cbc +kmod-crypto-deflate \
228 +kmod-crypto-des +kmod-crypto-echainiv +kmod-crypto-hmac \
229 +kmod-crypto-md5 +kmod-crypto-sha1
230 KCONFIG:= \
231 CONFIG_NET_KEY \
232 CONFIG_XFRM_USER \
233 CONFIG_INET_IPCOMP \
234 CONFIG_XFRM_IPCOMP
235 FILES:=$(foreach mod,$(IPSEC-m),$(LINUX_DIR)/net/$(mod).ko)
236 AUTOLOAD:=$(call AutoLoad,30,$(notdir $(IPSEC-m)))
237 endef
238
239 define KernelPackage/ipsec/description
240 Kernel modules for IPsec support in both IPv4 and IPv6.
241 Includes:
242 - af_key
243 - xfrm_algo
244 - xfrm_ipcomp
245 - xfrm_user
246 endef
247
248 $(eval $(call KernelPackage,ipsec))
249
250 IPSEC4-m = \
251 ipv4/ah4 \
252 ipv4/esp4 \
253 ipv4/xfrm4_tunnel \
254 ipv4/ipcomp \
255
256 IPSEC4-m += $(ifeq ($$(strip $$(call CompareKernelPatchVer,$$(KERNEL_PATCHVER),le,5.2))),ipv4/xfrm4_mode_beet ipv4/xfrm4_mode_transport ipv4/xfrm4_mode_tunnel)
257
258 define KernelPackage/ipsec4
259 SUBMENU:=$(NETWORK_SUPPORT_MENU)
260 TITLE:=IPsec related modules (IPv4)
261 DEPENDS:=kmod-ipsec +kmod-iptunnel4
262 KCONFIG:= \
263 CONFIG_INET_AH \
264 CONFIG_INET_ESP \
265 CONFIG_INET_IPCOMP \
266 CONFIG_INET_XFRM_MODE_BEET \
267 CONFIG_INET_XFRM_MODE_TRANSPORT \
268 CONFIG_INET_XFRM_MODE_TUNNEL \
269 CONFIG_INET_XFRM_TUNNEL \
270 CONFIG_INET_ESP_OFFLOAD=n
271 FILES:=$(foreach mod,$(IPSEC4-m),$(LINUX_DIR)/net/$(mod).ko)
272 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC4-m)))
273 endef
274
275 define KernelPackage/ipsec4/description
276 Kernel modules for IPsec support in IPv4.
277 Includes:
278 - ah4
279 - esp4
280 - ipcomp4
281 - xfrm4_mode_beet
282 - xfrm4_mode_transport
283 - xfrm4_mode_tunnel
284 - xfrm4_tunnel
285 endef
286
287 $(eval $(call KernelPackage,ipsec4))
288
289
290 IPSEC6-m = \
291 ipv6/ah6 \
292 ipv6/esp6 \
293 ipv6/xfrm6_tunnel \
294 ipv6/ipcomp6 \
295
296 IPSEC6-m += $(ifeq ($$(strip $$(call CompareKernelPatchVer,$$(KERNEL_PATCHVER),le,5.2))),ipv6/xfrm6_mode_beet ipv6/xfrm6_mode_transport ipv6/xfrm6_mode_tunnel)
297
298 define KernelPackage/ipsec6
299 SUBMENU:=$(NETWORK_SUPPORT_MENU)
300 TITLE:=IPsec related modules (IPv6)
301 DEPENDS:=@IPV6 kmod-ipsec +kmod-iptunnel6
302 KCONFIG:= \
303 CONFIG_INET6_AH \
304 CONFIG_INET6_ESP \
305 CONFIG_INET6_IPCOMP \
306 CONFIG_INET6_XFRM_MODE_BEET \
307 CONFIG_INET6_XFRM_MODE_TRANSPORT \
308 CONFIG_INET6_XFRM_MODE_TUNNEL \
309 CONFIG_INET6_XFRM_TUNNEL \
310 CONFIG_INET6_ESP_OFFLOAD=n
311 FILES:=$(foreach mod,$(IPSEC6-m),$(LINUX_DIR)/net/$(mod).ko)
312 AUTOLOAD:=$(call AutoLoad,32,$(notdir $(IPSEC6-m)))
313 endef
314
315 define KernelPackage/ipsec6/description
316 Kernel modules for IPsec support in IPv6.
317 Includes:
318 - ah6
319 - esp6
320 - ipcomp6
321 - xfrm6_mode_beet
322 - xfrm6_mode_transport
323 - xfrm6_mode_tunnel
324 - xfrm6_tunnel
325 endef
326
327 $(eval $(call KernelPackage,ipsec6))
328
329
330 define KernelPackage/iptunnel
331 SUBMENU:=$(NETWORK_SUPPORT_MENU)
332 TITLE:=IP tunnel support
333 HIDDEN:=1
334 KCONFIG:= \
335 CONFIG_NET_IP_TUNNEL
336 FILES:=$(LINUX_DIR)/net/ipv4/ip_tunnel.ko
337 AUTOLOAD:=$(call AutoLoad,31,ip_tunnel)
338 endef
339
340 define KernelPackage/iptunnel/description
341 Kernel module for generic IP tunnel support
342 endef
343
344 $(eval $(call KernelPackage,iptunnel))
345
346
347 define KernelPackage/ip-vti
348 SUBMENU:=$(NETWORK_SUPPORT_MENU)
349 TITLE:=IP VTI (Virtual Tunnel Interface)
350 DEPENDS:=+kmod-iptunnel +kmod-iptunnel4 +kmod-ipsec4
351 KCONFIG:=CONFIG_NET_IPVTI
352 FILES:=$(LINUX_DIR)/net/ipv4/ip_vti.ko
353 AUTOLOAD:=$(call AutoLoad,33,ip_vti)
354 endef
355
356 define KernelPackage/ip-vti/description
357 Kernel modules for IP VTI (Virtual Tunnel Interface)
358 endef
359
360 $(eval $(call KernelPackage,ip-vti))
361
362
363 define KernelPackage/ip6-vti
364 SUBMENU:=$(NETWORK_SUPPORT_MENU)
365 TITLE:=IPv6 VTI (Virtual Tunnel Interface)
366 DEPENDS:=@IPV6 +kmod-iptunnel +kmod-ip6-tunnel +kmod-ipsec6
367 KCONFIG:=CONFIG_IPV6_VTI
368 FILES:=$(LINUX_DIR)/net/ipv6/ip6_vti.ko
369 AUTOLOAD:=$(call AutoLoad,33,ip6_vti)
370 endef
371
372 define KernelPackage/ip6-vti/description
373 Kernel modules for IPv6 VTI (Virtual Tunnel Interface)
374 endef
375
376 $(eval $(call KernelPackage,ip6-vti))
377
378
379 define KernelPackage/xfrm-interface
380 SUBMENU:=$(NETWORK_SUPPORT_MENU)
381 TITLE:=IPsec XFRM Interface
382 DEPENDS:=+kmod-ipsec4 +IPV6:kmod-ipsec6
383 KCONFIG:=CONFIG_XFRM_INTERFACE
384 FILES:=$(LINUX_DIR)/net/xfrm/xfrm_interface.ko
385 AUTOLOAD:=$(call AutoProbe,xfrm_interface)
386 endef
387
388 define KernelPackage/xfrm-interface/description
389 Kernel module for XFRM interface support
390 endef
391
392 $(eval $(call KernelPackage,xfrm-interface))
393
394
395 define KernelPackage/iptunnel4
396 SUBMENU:=$(NETWORK_SUPPORT_MENU)
397 TITLE:=IPv4 tunneling
398 HIDDEN:=1
399 KCONFIG:= \
400 CONFIG_INET_TUNNEL \
401 CONFIG_NET_IPIP=m
402 FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.ko
403 AUTOLOAD:=$(call AutoLoad,31,tunnel4)
404 endef
405
406 define KernelPackage/iptunnel4/description
407 Kernel modules for IPv4 tunneling
408 endef
409
410 $(eval $(call KernelPackage,iptunnel4))
411
412
413 define KernelPackage/iptunnel6
414 SUBMENU:=$(NETWORK_SUPPORT_MENU)
415 TITLE:=IPv6 tunneling
416 DEPENDS:=@IPV6
417 KCONFIG:= \
418 CONFIG_INET6_TUNNEL
419 FILES:=$(LINUX_DIR)/net/ipv6/tunnel6.ko
420 AUTOLOAD:=$(call AutoLoad,31,tunnel6)
421 endef
422
423 define KernelPackage/iptunnel6/description
424 Kernel modules for IPv6 tunneling
425 endef
426
427 $(eval $(call KernelPackage,iptunnel6))
428
429
430 define KernelPackage/sit
431 SUBMENU:=$(NETWORK_SUPPORT_MENU)
432 DEPENDS:=@IPV6 +kmod-iptunnel +kmod-iptunnel4
433 TITLE:=IPv6-in-IPv4 tunnel
434 KCONFIG:=CONFIG_IPV6_SIT \
435 CONFIG_IPV6_SIT_6RD=y
436 FILES:=$(LINUX_DIR)/net/ipv6/sit.ko
437 AUTOLOAD:=$(call AutoLoad,32,sit)
438 endef
439
440 define KernelPackage/sit/description
441 Kernel modules for IPv6-in-IPv4 tunnelling
442 endef
443
444 $(eval $(call KernelPackage,sit))
445
446
447 define KernelPackage/fou
448 SUBMENU:=$(NETWORK_SUPPORT_MENU)
449 TITLE:=FOU and GUE decapsulation
450 DEPENDS:= \
451 +kmod-iptunnel \
452 +kmod-udptunnel4 \
453 +IPV6:kmod-udptunnel6
454 KCONFIG:= \
455 CONFIG_NET_FOU \
456 CONFIG_NET_FOU_IP_TUNNELS=y
457 FILES:=$(LINUX_DIR)/net/ipv4/fou.ko
458 AUTOLOAD:=$(call AutoProbe,fou)
459 endef
460
461 define KernelPackage/fou/description
462 Kernel module for FOU (Foo over UDP) and GUE (Generic UDP Encapsulation) tunnelling.
463 Requires Kernel 3.18 or newer.
464 endef
465
466 $(eval $(call KernelPackage,fou))
467
468
469 define KernelPackage/fou6
470 SUBMENU:=$(NETWORK_SUPPORT_MENU)
471 TITLE:=FOU and GUE decapsulation over IPv6
472 DEPENDS:= @IPV6 \
473 +kmod-fou \
474 +kmod-ip6-tunnel
475 KCONFIG:= \
476 CONFIG_IPV6_FOU \
477 CONFIG_IPV6_FOU_TUNNEL
478 FILES:=$(LINUX_DIR)/net/ipv6/fou6.ko
479 AUTOLOAD:=$(call AutoProbe,fou6)
480 endef
481
482 define KernelPackage/fou6/description
483 Kernel module for FOU (Foo over UDP) and GUE (Generic UDP Encapsulation) tunnelling over IPv6.
484 Requires Kernel 3.18 or newer.
485 endef
486
487 $(eval $(call KernelPackage,fou6))
488
489
490 define KernelPackage/ip6-tunnel
491 SUBMENU:=$(NETWORK_SUPPORT_MENU)
492 TITLE:=IP-in-IPv6 tunnelling
493 DEPENDS:=@IPV6 +kmod-iptunnel6
494 KCONFIG:= CONFIG_IPV6_TUNNEL
495 FILES:=$(LINUX_DIR)/net/ipv6/ip6_tunnel.ko
496 AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel)
497 endef
498
499 define KernelPackage/ip6-tunnel/description
500 Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling
501 endef
502
503 $(eval $(call KernelPackage,ip6-tunnel))
504
505
506 define KernelPackage/gre
507 SUBMENU:=$(NETWORK_SUPPORT_MENU)
508 TITLE:=GRE support
509 DEPENDS:=+kmod-iptunnel
510 KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
511 FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
512 AUTOLOAD:=$(call AutoLoad,39,gre ip_gre)
513 endef
514
515 define KernelPackage/gre/description
516 Generic Routing Encapsulation support
517 endef
518
519 $(eval $(call KernelPackage,gre))
520
521
522 define KernelPackage/gre6
523 SUBMENU:=$(NETWORK_SUPPORT_MENU)
524 TITLE:=GRE support over IPV6
525 DEPENDS:=@IPV6 +kmod-iptunnel +kmod-ip6-tunnel +kmod-gre
526 KCONFIG:=CONFIG_IPV6_GRE
527 FILES:=$(LINUX_DIR)/net/ipv6/ip6_gre.ko
528 AUTOLOAD:=$(call AutoLoad,39,ip6_gre)
529 endef
530
531 define KernelPackage/gre6/description
532 Generic Routing Encapsulation support over IPv6
533 endef
534
535 $(eval $(call KernelPackage,gre6))
536
537
538 define KernelPackage/tun
539 SUBMENU:=$(NETWORK_SUPPORT_MENU)
540 TITLE:=Universal TUN/TAP driver
541 KCONFIG:=CONFIG_TUN
542 FILES:=$(LINUX_DIR)/drivers/net/tun.ko
543 AUTOLOAD:=$(call AutoLoad,30,tun)
544 endef
545
546 define KernelPackage/tun/description
547 Kernel support for the TUN/TAP tunneling device
548 endef
549
550 $(eval $(call KernelPackage,tun))
551
552
553 define KernelPackage/veth
554 SUBMENU:=$(NETWORK_SUPPORT_MENU)
555 TITLE:=Virtual ethernet pair device
556 KCONFIG:=CONFIG_VETH
557 FILES:=$(LINUX_DIR)/drivers/net/veth.ko
558 AUTOLOAD:=$(call AutoLoad,30,veth)
559 endef
560
561 define KernelPackage/veth/description
562 This device is a local ethernet tunnel. Devices are created in pairs.
563 When one end receives the packet it appears on its pair and vice
564 versa.
565 endef
566
567 $(eval $(call KernelPackage,veth))
568
569
570 define KernelPackage/slhc
571 SUBMENU:=$(NETWORK_SUPPORT_MENU)
572 HIDDEN:=1
573 TITLE:=Serial Line Header Compression
574 DEPENDS:=+kmod-lib-crc-ccitt
575 KCONFIG:=CONFIG_SLHC
576 FILES:=$(LINUX_DIR)/drivers/net/slip/slhc.ko
577 endef
578
579 $(eval $(call KernelPackage,slhc))
580
581
582 define KernelPackage/ppp
583 SUBMENU:=$(NETWORK_SUPPORT_MENU)
584 TITLE:=PPP modules
585 DEPENDS:=+kmod-lib-crc-ccitt +kmod-slhc
586 KCONFIG:= \
587 CONFIG_PPP \
588 CONFIG_PPP_ASYNC
589 FILES:= \
590 $(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \
591 $(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko
592 AUTOLOAD:=$(call AutoProbe,ppp_async)
593 endef
594
595 define KernelPackage/ppp/description
596 Kernel modules for PPP support
597 endef
598
599 $(eval $(call KernelPackage,ppp))
600
601
602 define KernelPackage/ppp-synctty
603 SUBMENU:=$(NETWORK_SUPPORT_MENU)
604 TITLE:=PPP sync tty support
605 DEPENDS:=kmod-ppp
606 KCONFIG:=CONFIG_PPP_SYNC_TTY
607 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_synctty.ko
608 AUTOLOAD:=$(call AutoProbe,ppp_synctty)
609 endef
610
611 define KernelPackage/ppp-synctty/description
612 Kernel modules for PPP sync tty support
613 endef
614
615 $(eval $(call KernelPackage,ppp-synctty))
616
617
618 define KernelPackage/pppox
619 SUBMENU:=$(NETWORK_SUPPORT_MENU)
620 TITLE:=PPPoX helper
621 DEPENDS:=kmod-ppp
622 KCONFIG:=CONFIG_PPPOE
623 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppox.ko
624 endef
625
626 define KernelPackage/pppox/description
627 Kernel helper module for PPPoE and PPTP support
628 endef
629
630 $(eval $(call KernelPackage,pppox))
631
632
633 define KernelPackage/pppoe
634 SUBMENU:=$(NETWORK_SUPPORT_MENU)
635 TITLE:=PPPoE support
636 DEPENDS:=kmod-ppp +kmod-pppox
637 KCONFIG:=CONFIG_PPPOE
638 FILES:=$(LINUX_DIR)/drivers/net/ppp/pppoe.ko
639 AUTOLOAD:=$(call AutoProbe,pppoe)
640 endef
641
642 define KernelPackage/pppoe/description
643 Kernel module for PPPoE (PPP over Ethernet) support
644 endef
645
646 $(eval $(call KernelPackage,pppoe))
647
648
649 define KernelPackage/pppoa
650 SUBMENU:=$(NETWORK_SUPPORT_MENU)
651 TITLE:=PPPoA support
652 DEPENDS:=kmod-ppp +kmod-atm
653 KCONFIG:=CONFIG_PPPOATM CONFIG_ATM_DRIVERS=y
654 FILES:=$(LINUX_DIR)/net/atm/pppoatm.ko
655 AUTOLOAD:=$(call AutoLoad,40,pppoatm)
656 endef
657
658 define KernelPackage/pppoa/description
659 Kernel modules for PPPoA (PPP over ATM) support
660 endef
661
662 $(eval $(call KernelPackage,pppoa))
663
664
665 define KernelPackage/pptp
666 SUBMENU:=$(NETWORK_SUPPORT_MENU)
667 TITLE:=PPtP support
668 DEPENDS:=kmod-ppp +kmod-gre +kmod-pppox
669 KCONFIG:=CONFIG_PPTP
670 FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko
671 AUTOLOAD:=$(call AutoProbe,pptp)
672 endef
673
674 $(eval $(call KernelPackage,pptp))
675
676
677 define KernelPackage/pppol2tp
678 SUBMENU:=$(NETWORK_SUPPORT_MENU)
679 TITLE:=PPPoL2TP support
680 DEPENDS:=kmod-ppp +kmod-pppox +kmod-l2tp
681 KCONFIG:=CONFIG_PPPOL2TP
682 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ppp.ko
683 AUTOLOAD:=$(call AutoProbe,l2tp_ppp)
684 endef
685
686 define KernelPackage/pppol2tp/description
687 Kernel modules for PPPoL2TP (PPP over L2TP) support
688 endef
689
690 $(eval $(call KernelPackage,pppol2tp))
691
692
693 define KernelPackage/ipoa
694 SUBMENU:=$(NETWORK_SUPPORT_MENU)
695 TITLE:=IPoA support
696 DEPENDS:=kmod-atm
697 KCONFIG:=CONFIG_ATM_CLIP
698 FILES:=$(LINUX_DIR)/net/atm/clip.ko
699 AUTOLOAD:=$(call AutoProbe,clip)
700 endef
701
702 define KernelPackage/ipoa/description
703 Kernel modules for IPoA (IP over ATM) support
704 endef
705
706 $(eval $(call KernelPackage,ipoa))
707
708
709 define KernelPackage/mppe
710 SUBMENU:=$(NETWORK_SUPPORT_MENU)
711 TITLE:=Microsoft PPP compression/encryption
712 DEPENDS:=kmod-ppp +kmod-crypto-arc4 +kmod-crypto-sha1 +kmod-crypto-ecb
713 KCONFIG:= \
714 CONFIG_PPP_MPPE_MPPC \
715 CONFIG_PPP_MPPE
716 FILES:=$(LINUX_DIR)/drivers/net/ppp/ppp_mppe.ko
717 AUTOLOAD:=$(call AutoProbe,ppp_mppe)
718 endef
719
720 define KernelPackage/mppe/description
721 Kernel modules for Microsoft PPP compression/encryption
722 endef
723
724 $(eval $(call KernelPackage,mppe))
725
726
727 SCHED_MODULES = $(patsubst $(LINUX_DIR)/net/sched/%.ko,%,$(wildcard $(LINUX_DIR)/net/sched/*.ko))
728 SCHED_MODULES_CORE = sch_ingress sch_fq_codel sch_hfsc sch_htb sch_tbf cls_basic cls_fw cls_route cls_flow cls_tcindex cls_u32 em_u32 act_mirred act_skbedit cls_matchall
729 SCHED_MODULES_FILTER = $(SCHED_MODULES_CORE) act_connmark act_ctinfo sch_cake sch_netem sch_mqprio em_ipset cls_bpf cls_flower act_bpf act_vlan
730 SCHED_MODULES_EXTRA = $(filter-out $(SCHED_MODULES_FILTER),$(SCHED_MODULES))
731 SCHED_FILES = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(filter $(SCHED_MODULES_CORE),$(SCHED_MODULES)))
732 SCHED_FILES_EXTRA = $(patsubst %,$(LINUX_DIR)/net/sched/%.ko,$(SCHED_MODULES_EXTRA))
733
734 define KernelPackage/sched-core
735 SUBMENU:=$(NETWORK_SUPPORT_MENU)
736 TITLE:=Traffic schedulers
737 KCONFIG:= \
738 CONFIG_NET_SCHED=y \
739 CONFIG_NET_SCH_HFSC \
740 CONFIG_NET_SCH_HTB \
741 CONFIG_NET_SCH_TBF \
742 CONFIG_NET_SCH_INGRESS \
743 CONFIG_NET_SCH_FQ_CODEL \
744 CONFIG_NET_CLS=y \
745 CONFIG_NET_CLS_ACT=y \
746 CONFIG_NET_CLS_BASIC \
747 CONFIG_NET_CLS_FLOW \
748 CONFIG_NET_CLS_FW \
749 CONFIG_NET_CLS_ROUTE4 \
750 CONFIG_NET_CLS_TCINDEX \
751 CONFIG_NET_CLS_U32 \
752 CONFIG_NET_ACT_MIRRED \
753 CONFIG_NET_ACT_SKBEDIT \
754 CONFIG_NET_CLS_MATCHALL \
755 CONFIG_NET_EMATCH=y \
756 CONFIG_NET_EMATCH_U32
757 FILES:=$(SCHED_FILES)
758 AUTOLOAD:=$(call AutoLoad,70, $(SCHED_MODULES_CORE))
759 endef
760
761 define KernelPackage/sched-core/description
762 Core kernel scheduler support for IP traffic
763 endef
764
765 $(eval $(call KernelPackage,sched-core))
766
767
768 define KernelPackage/sched-cake
769 SUBMENU:=$(NETWORK_SUPPORT_MENU)
770 TITLE:=Cake fq_codel/blue derived shaper
771 DEPENDS:=+kmod-sched-core
772 KCONFIG:=CONFIG_NET_SCH_CAKE
773 FILES:=$(LINUX_DIR)/net/sched/sch_cake.ko
774 AUTOLOAD:=$(call AutoProbe,sch_cake)
775 endef
776
777 define KernelPackage/sched-cake/description
778 Common Applications Kept Enhanced fq_codel/blue derived shaper
779 endef
780
781 $(eval $(call KernelPackage,sched-cake))
782
783 define KernelPackage/sched-flower
784 SUBMENU:=$(NETWORK_SUPPORT_MENU)
785 TITLE:=Flower traffic classifier
786 DEPENDS:=+kmod-sched-core
787 KCONFIG:=CONFIG_NET_CLS_FLOWER
788 FILES:=$(LINUX_DIR)/net/sched/cls_flower.ko
789 AUTOLOAD:=$(call AutoProbe, cls_flower)
790 endef
791
792 define KernelPackage/sched-flower/description
793 Allows to classify packets based on a configurable combination of packet keys and masks.
794 endef
795
796 $(eval $(call KernelPackage,sched-flower))
797
798
799 define KernelPackage/sched-act-vlan
800 SUBMENU:=$(NETWORK_SUPPORT_MENU)
801 TITLE:=Traffic VLAN manipulation
802 DEPENDS:=+kmod-sched-core
803 KCONFIG:=CONFIG_NET_ACT_VLAN
804 FILES:=$(LINUX_DIR)/net/sched/act_vlan.ko
805 AUTOLOAD:=$(call AutoProbe, act_vlan)
806 endef
807
808 define KernelPackage/sched-act-vlan/description
809 Allows to configure rules to push or pop vlan headers.
810 endef
811
812 $(eval $(call KernelPackage,sched-act-vlan))
813
814
815 define KernelPackage/sched-mqprio
816 SUBMENU:=$(NETWORK_SUPPORT_MENU)
817 TITLE:=Multi-queue priority scheduler (MQPRIO)
818 DEPENDS:=+kmod-sched-core
819 KCONFIG:=CONFIG_NET_SCH_MQPRIO
820 FILES:=$(LINUX_DIR)/net/sched/sch_mqprio.ko
821 AUTOLOAD:=$(call AutoProbe, sch_mqprio)
822 endef
823
824 define KernelPackage/sched-mqprio/description
825 This scheduler allows QOS to be offloaded on NICs that have support for offloading QOS schedulers.
826 endef
827
828 $(eval $(call KernelPackage,sched-mqprio))
829
830 define KernelPackage/sched-connmark
831 SUBMENU:=$(NETWORK_SUPPORT_MENU)
832 TITLE:=Traffic shaper conntrack mark support
833 DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-ipt-conntrack-extra
834 KCONFIG:=CONFIG_NET_ACT_CONNMARK
835 FILES:=$(LINUX_DIR)/net/sched/act_connmark.ko
836 AUTOLOAD:=$(call AutoLoad,71, act_connmark)
837 endef
838 $(eval $(call KernelPackage,sched-connmark))
839
840 define KernelPackage/sched-ctinfo
841 SUBMENU:=$(NETWORK_SUPPORT_MENU)
842 TITLE:=Traffic shaper ctinfo support
843 DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-ipt-conntrack-extra
844 KCONFIG:=CONFIG_NET_ACT_CTINFO
845 FILES:=$(LINUX_DIR)/net/sched/act_ctinfo.ko
846 AUTOLOAD:=$(call AutoLoad,71, act_ctinfo)
847 endef
848 $(eval $(call KernelPackage,sched-ctinfo))
849
850 define KernelPackage/sched-ipset
851 SUBMENU:=$(NETWORK_SUPPORT_MENU)
852 TITLE:=Traffic shaper ipset support
853 DEPENDS:=+kmod-sched-core +kmod-ipt-ipset
854 KCONFIG:= \
855 CONFIG_NET_EMATCH_IPSET
856 FILES:= \
857 $(LINUX_DIR)/net/sched/em_ipset.ko
858 AUTOLOAD:=$(call AutoLoad,72,em_ipset)
859 endef
860
861 $(eval $(call KernelPackage,sched-ipset))
862
863
864 define KernelPackage/sched-bpf
865 SUBMENU:=$(NETWORK_SUPPORT_MENU)
866 TITLE:=Traffic shaper support for Berkeley Packet Filter
867 KCONFIG:= \
868 CONFIG_NET_CLS_BPF \
869 CONFIG_NET_ACT_BPF
870 FILES:= \
871 $(LINUX_DIR)/net/sched/cls_bpf.ko \
872 $(LINUX_DIR)/net/sched/act_bpf.ko
873 AUTOLOAD:=$(call AutoLoad,72,cls_bpf act_bpf)
874 endef
875
876 $(eval $(call KernelPackage,sched-bpf))
877
878
879 define KernelPackage/bpf-test
880 SUBMENU:=$(NETWORK_SUPPORT_MENU)
881 TITLE:=Test Berkeley Packet Filter functionality
882 KCONFIG:=CONFIG_TEST_BPF
883 FILES:=$(LINUX_DIR)/lib/test_bpf.ko
884 endef
885
886 $(eval $(call KernelPackage,bpf-test))
887
888
889 define KernelPackage/sched
890 SUBMENU:=$(NETWORK_SUPPORT_MENU)
891 TITLE:=Extra traffic schedulers
892 DEPENDS:=+kmod-sched-core +kmod-ipt-core +kmod-lib-crc32c
893 KCONFIG:= \
894 CONFIG_NET_SCH_CODEL \
895 CONFIG_NET_SCH_DSMARK \
896 CONFIG_NET_SCH_FIFO \
897 CONFIG_NET_SCH_GRED \
898 CONFIG_NET_SCH_MULTIQ \
899 CONFIG_NET_SCH_PRIO \
900 CONFIG_NET_SCH_RED \
901 CONFIG_NET_SCH_SFQ \
902 CONFIG_NET_SCH_TEQL \
903 CONFIG_NET_SCH_FQ \
904 CONFIG_NET_SCH_PIE \
905 CONFIG_NET_ACT_POLICE \
906 CONFIG_NET_ACT_GACT \
907 CONFIG_NET_ACT_IPT \
908 CONFIG_NET_ACT_PEDIT \
909 CONFIG_NET_ACT_SIMP \
910 CONFIG_NET_ACT_CSUM \
911 CONFIG_NET_EMATCH_CMP \
912 CONFIG_NET_EMATCH_NBYTE \
913 CONFIG_NET_EMATCH_META \
914 CONFIG_NET_EMATCH_TEXT
915 FILES:=$(SCHED_FILES_EXTRA)
916 AUTOLOAD:=$(call AutoLoad,73, $(SCHED_MODULES_EXTRA))
917 endef
918
919 define KernelPackage/sched/description
920 Extra kernel schedulers modules for IP traffic
921 endef
922
923 $(eval $(call KernelPackage,sched))
924
925
926 define KernelPackage/tcp-bbr
927 SUBMENU:=$(NETWORK_SUPPORT_MENU)
928 TITLE:=BBR TCP congestion control
929 KCONFIG:=CONFIG_TCP_CONG_BBR
930 FILES:=$(LINUX_DIR)/net/ipv4/tcp_bbr.ko
931 AUTOLOAD:=$(call AutoProbe,tcp_bbr)
932 endef
933
934 define KernelPackage/tcp-bbr/description
935 Kernel module for BBR (Bottleneck Bandwidth and RTT) TCP congestion
936 control. It requires the fq ("Fair Queue") pacing packet scheduler.
937 For kernel 4.13+, TCP internal pacing is implemented as fallback.
938 endef
939
940 TCP_BBR_SYSCTL_CONF:=sysctl-tcp-bbr.conf
941
942 define KernelPackage/tcp-bbr/install
943 $(INSTALL_DIR) $(1)/etc/sysctl.d
944 $(INSTALL_DATA) ./files/$(TCP_BBR_SYSCTL_CONF) $(1)/etc/sysctl.d/12-tcp-bbr.conf
945 endef
946
947 $(eval $(call KernelPackage,tcp-bbr))
948
949
950 define KernelPackage/ax25
951 SUBMENU:=$(NETWORK_SUPPORT_MENU)
952 TITLE:=AX25 support
953 DEPENDS:=+kmod-lib-crc16
954 KCONFIG:= \
955 CONFIG_HAMRADIO=y \
956 CONFIG_AX25 \
957 CONFIG_MKISS
958 FILES:= \
959 $(LINUX_DIR)/net/ax25/ax25.ko \
960 $(LINUX_DIR)/drivers/net/hamradio/mkiss.ko
961 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
962 endef
963
964 define KernelPackage/ax25/description
965 Kernel modules for AX25 support
966 endef
967
968 $(eval $(call KernelPackage,ax25))
969
970
971 define KernelPackage/pktgen
972 SUBMENU:=$(NETWORK_SUPPORT_MENU)
973 DEPENDS:=@!TARGET_uml
974 TITLE:=Network packet generator
975 KCONFIG:=CONFIG_NET_PKTGEN
976 FILES:=$(LINUX_DIR)/net/core/pktgen.ko
977 AUTOLOAD:=$(call AutoLoad,99,pktgen)
978 endef
979
980 define KernelPackage/pktgen/description
981 Kernel modules for the Network Packet Generator
982 endef
983
984 $(eval $(call KernelPackage,pktgen))
985
986 define KernelPackage/l2tp
987 SUBMENU:=$(NETWORK_SUPPORT_MENU)
988 TITLE:=Layer Two Tunneling Protocol (L2TP)
989 DEPENDS:= \
990 +kmod-udptunnel4 \
991 +IPV6:kmod-udptunnel6
992 KCONFIG:=CONFIG_L2TP \
993 CONFIG_L2TP_V3=y \
994 CONFIG_L2TP_DEBUGFS=n
995 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_core.ko \
996 $(LINUX_DIR)/net/l2tp/l2tp_netlink.ko
997 AUTOLOAD:=$(call AutoLoad,32,l2tp_core l2tp_netlink)
998 endef
999
1000 define KernelPackage/l2tp/description
1001 Kernel modules for L2TP V3 Support
1002 endef
1003
1004 $(eval $(call KernelPackage,l2tp))
1005
1006
1007 define KernelPackage/l2tp-eth
1008 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1009 TITLE:=L2TP ethernet pseudowire support for L2TPv3
1010 DEPENDS:=+kmod-l2tp
1011 KCONFIG:=CONFIG_L2TP_ETH
1012 FILES:=$(LINUX_DIR)/net/l2tp/l2tp_eth.ko
1013 AUTOLOAD:=$(call AutoLoad,33,l2tp_eth)
1014 endef
1015
1016 define KernelPackage/l2tp-eth/description
1017 Kernel modules for L2TP ethernet pseudowire support for L2TPv3
1018 endef
1019
1020 $(eval $(call KernelPackage,l2tp-eth))
1021
1022 define KernelPackage/l2tp-ip
1023 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1024 TITLE:=L2TP IP encapsulation for L2TPv3
1025 DEPENDS:=+kmod-l2tp
1026 KCONFIG:=CONFIG_L2TP_IP
1027 FILES:= \
1028 $(LINUX_DIR)/net/l2tp/l2tp_ip.ko \
1029 $(if $(CONFIG_IPV6),$(LINUX_DIR)/net/l2tp/l2tp_ip6.ko)
1030 AUTOLOAD:=$(call AutoLoad,33,l2tp_ip $(if $(CONFIG_IPV6),l2tp_ip6))
1031 endef
1032
1033 define KernelPackage/l2tp-ip/description
1034 Kernel modules for L2TP IP encapsulation for L2TPv3
1035 endef
1036
1037 $(eval $(call KernelPackage,l2tp-ip))
1038
1039
1040 define KernelPackage/sctp
1041 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1042 TITLE:=SCTP protocol kernel support
1043 KCONFIG:=\
1044 CONFIG_IP_SCTP \
1045 CONFIG_SCTP_DBG_MSG=n \
1046 CONFIG_SCTP_DBG_OBJCNT=n \
1047 CONFIG_SCTP_HMAC_NONE=n \
1048 CONFIG_SCTP_HMAC_SHA1=n \
1049 CONFIG_SCTP_HMAC_MD5=y \
1050 CONFIG_SCTP_COOKIE_HMAC_SHA1=n \
1051 CONFIG_SCTP_COOKIE_HMAC_MD5=y \
1052 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE=n \
1053 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=n \
1054 CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y
1055 FILES:= $(LINUX_DIR)/net/sctp/sctp.ko
1056 AUTOLOAD:= $(call AutoLoad,32,sctp)
1057 DEPENDS:=+kmod-lib-crc32c +kmod-crypto-md5 +kmod-crypto-hmac
1058 endef
1059
1060 define KernelPackage/sctp/description
1061 Kernel modules for SCTP protocol support
1062 endef
1063
1064 $(eval $(call KernelPackage,sctp))
1065
1066
1067 define KernelPackage/netem
1068 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1069 TITLE:=Network emulation functionality
1070 DEPENDS:=+kmod-sched
1071 KCONFIG:=CONFIG_NET_SCH_NETEM
1072 FILES:=$(LINUX_DIR)/net/sched/sch_netem.ko
1073 AUTOLOAD:=$(call AutoLoad,99,netem)
1074 endef
1075
1076 define KernelPackage/netem/description
1077 Kernel modules for emulating the properties of wide area networks
1078 endef
1079
1080 $(eval $(call KernelPackage,netem))
1081
1082 define KernelPackage/slip
1083 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1084 DEPENDS:=+kmod-slhc
1085 TITLE:=SLIP modules
1086 KCONFIG:= \
1087 CONFIG_SLIP \
1088 CONFIG_SLIP_COMPRESSED=y \
1089 CONFIG_SLIP_SMART=y \
1090 CONFIG_SLIP_MODE_SLIP6=y
1091
1092 FILES:= \
1093 $(LINUX_DIR)/drivers/net/slip/slip.ko
1094 AUTOLOAD:=$(call AutoLoad,30,slip)
1095 endef
1096
1097 define KernelPackage/slip/description
1098 Kernel modules for SLIP support
1099 endef
1100
1101 $(eval $(call KernelPackage,slip))
1102
1103 define KernelPackage/dnsresolver
1104 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1105 TITLE:=In-kernel DNS Resolver
1106 KCONFIG:= CONFIG_DNS_RESOLVER
1107 FILES:=$(LINUX_DIR)/net/dns_resolver/dns_resolver.ko
1108 AUTOLOAD:=$(call AutoLoad,30,dns_resolver)
1109 endef
1110
1111 $(eval $(call KernelPackage,dnsresolver))
1112
1113 define KernelPackage/rxrpc
1114 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1115 TITLE:=AF_RXRPC support
1116 HIDDEN:=1
1117 KCONFIG:= \
1118 CONFIG_AF_RXRPC \
1119 CONFIG_RXKAD=m \
1120 CONFIG_AF_RXRPC_DEBUG=n
1121 FILES:= \
1122 $(LINUX_DIR)/net/rxrpc/rxrpc.ko
1123 AUTOLOAD:=$(call AutoLoad,30,rxrpc.ko)
1124 DEPENDS:= +kmod-crypto-manager +kmod-crypto-pcbc +kmod-crypto-fcrypt
1125 endef
1126
1127 define KernelPackage/rxrpc/description
1128 Kernel support for AF_RXRPC; required for AFS client
1129 endef
1130
1131 $(eval $(call KernelPackage,rxrpc))
1132
1133 define KernelPackage/mpls
1134 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1135 TITLE:=MPLS support
1136 DEPENDS:=+kmod-iptunnel
1137 KCONFIG:= \
1138 CONFIG_MPLS=y \
1139 CONFIG_LWTUNNEL=y \
1140 CONFIG_LWTUNNEL_BPF=n \
1141 CONFIG_NET_MPLS_GSO=m \
1142 CONFIG_MPLS_ROUTING=m \
1143 CONFIG_MPLS_IPTUNNEL=m
1144 FILES:= \
1145 $(LINUX_DIR)/net/mpls/mpls_gso.ko \
1146 $(LINUX_DIR)/net/mpls/mpls_iptunnel.ko \
1147 $(LINUX_DIR)/net/mpls/mpls_router.ko
1148 AUTOLOAD:=$(call AutoLoad,30,mpls_router mpls_iptunnel mpls_gso)
1149 endef
1150
1151 define KernelPackage/mpls/description
1152 Kernel support for MPLS
1153 endef
1154
1155 $(eval $(call KernelPackage,mpls))
1156
1157 define KernelPackage/9pnet
1158 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1159 TITLE:=Plan 9 Resource Sharing Support (9P2000)
1160 DEPENDS:=@VIRTIO_SUPPORT
1161 KCONFIG:= \
1162 CONFIG_NET_9P \
1163 CONFIG_NET_9P_DEBUG=n \
1164 CONFIG_NET_9P_XEN=n \
1165 CONFIG_NET_9P_VIRTIO
1166 FILES:= \
1167 $(LINUX_DIR)/net/9p/9pnet.ko \
1168 $(LINUX_DIR)/net/9p/9pnet_virtio.ko
1169 AUTOLOAD:=$(call AutoLoad,29,9pnet 9pnet_virtio)
1170 endef
1171
1172 define KernelPackage/9pnet/description
1173 Kernel support support for
1174 Plan 9 resource sharing via the 9P2000 protocol.
1175 endef
1176
1177 $(eval $(call KernelPackage,9pnet))
1178
1179
1180 define KernelPackage/nlmon
1181 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1182 TITLE:=Virtual netlink monitoring device
1183 KCONFIG:=CONFIG_NLMON
1184 FILES:=$(LINUX_DIR)/drivers/net/nlmon.ko
1185 AUTOLOAD:=$(call AutoProbe,nlmon)
1186 endef
1187
1188 define KernelPackage/nlmon/description
1189 Kernel module which adds a monitoring device for netlink.
1190 endef
1191
1192 $(eval $(call KernelPackage,nlmon))
1193
1194
1195 define KernelPackage/mdio
1196 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1197 TITLE:=MDIO (clause 45) PHY support
1198 KCONFIG:=CONFIG_MDIO
1199 HIDDEN:=1
1200 FILES:=$(LINUX_DIR)/drivers/net/mdio.ko
1201 AUTOLOAD:=$(call AutoLoad,32,mdio)
1202 endef
1203
1204 define KernelPackage/mdio/description
1205 Kernel modules for MDIO (clause 45) PHY support
1206 endef
1207
1208 $(eval $(call KernelPackage,mdio))
1209
1210 define KernelPackage/macsec
1211 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1212 TITLE:=IEEE 802.1AE MAC-level encryption (MAC)
1213 DEPENDS:=+kmod-crypto-gcm
1214 KCONFIG:=CONFIG_MACSEC
1215 FILES:=$(LINUX_DIR)/drivers/net/macsec.ko
1216 AUTOLOAD:=$(call AutoLoad,13,macsec)
1217 endef
1218
1219 define KernelPackage/macsec/description
1220 MACsec is an encryption standard for Ethernet.
1221 endef
1222
1223 $(eval $(call KernelPackage,macsec))
1224
1225
1226 define KernelPackage/netlink-diag
1227 SUBMENU:=$(NETWORK_SUPPORT_MENU)
1228 TITLE:=Netlink diag support for ss utility
1229 KCONFIG:=CONFIG_NETLINK_DIAG
1230 FILES:=$(LINUX_DIR)/net/netlink/netlink_diag.ko
1231 AUTOLOAD:=$(call AutoLoad,31,netlink-diag)
1232 endef
1233
1234 define KernelPackage/netlink-diag/description
1235 Netlink diag is a module made for use with iproute2's ss utility
1236 endef
1237
1238 $(eval $(call KernelPackage,netlink-diag))