@@ -11,6 +11,28 @@ menuconfig NET_IPV4
11
11
12
12
if NET_IPV4
13
13
14
+ config NET_IF_MAX_IPV4_COUNT
15
+ int "Max number of IPv4 network interfaces in the system"
16
+ default NET_VLAN_COUNT if NET_VLAN
17
+ default 2 if NET_LOOPBACK
18
+ default 1
19
+ help
20
+ This tells how many network interfaces there will be in the system
21
+ that will have IPv4 enabled.
22
+
23
+ config NET_IF_UNICAST_IPV4_ADDR_COUNT
24
+ int "Max number of unicast IPv4 addresses per network interface"
25
+ default 2 if NET_IPV4_AUTO
26
+ default 2 if NET_LOOPBACK
27
+ default 1
28
+
29
+ config NET_IF_MCAST_IPV4_ADDR_COUNT
30
+ int "Max number of multicast IPv4 addresses per network interface"
31
+ default 2 if NET_IPV4_IGMP
32
+ default 1
33
+
34
+ if NET_NATIVE_IPV4
35
+
14
36
config NET_INITIAL_TTL
15
37
int "Initial IPv4 time to live value for unicast packets"
16
38
default 64
@@ -34,26 +56,6 @@ config NET_INITIAL_MCAST_TTL
34
56
don't leave the local network unless the application explicitly
35
57
requests it.
36
58
37
- config NET_IF_MAX_IPV4_COUNT
38
- int "Max number of IPv4 network interfaces in the system"
39
- default NET_VLAN_COUNT if NET_VLAN
40
- default 2 if NET_LOOPBACK
41
- default 1
42
- help
43
- This tells how many network interfaces there will be in the system
44
- that will have IPv4 enabled.
45
-
46
- config NET_IF_UNICAST_IPV4_ADDR_COUNT
47
- int "Max number of unicast IPv4 addresses per network interface"
48
- default 2 if NET_IPV4_AUTO
49
- default 2 if NET_LOOPBACK
50
- default 1
51
-
52
- config NET_IF_MCAST_IPV4_ADDR_COUNT
53
- int "Max number of multicast IPv4 addresses per network interface"
54
- default 2 if NET_IPV4_IGMP
55
- default 1
56
-
57
59
config NET_IF_MCAST_IPV4_SOURCE_COUNT
58
60
int "Max number of IPv4 sources per mcast address to be included or excluded"
59
61
default 1
@@ -177,4 +179,5 @@ module-help = Enable debug diagnostic from IPv4 autoconf client.
177
179
source "subsys/net/Kconfig.template.log_config.net"
178
180
endif # NET_IPV4_AUTO
179
181
182
+ endif # NET_NATIVE_IPV4
180
183
endif # NET_IPV4
0 commit comments