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